-
Notifications
You must be signed in to change notification settings - Fork 31.5k
Closed
Closed
Copy link
Description
System Info
- `transformers` version: 4.34.0
- Platform: Linux-6.8.0-31-generic-x86_64-with-glibc2.17
- Python version: 3.8.20
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.5
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: NoInformation
- The official example scripts
- My own modified scripts
Tasks
- An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - My own task or dataset (give details below)
Reproduction
I found the following script, but it only supports conversion for Mask2Former model (swin backbone) https://github.com/huggingface/transformers/blob/main/src/transformers/models/mask2former/convert_mask2former_original_pytorch_checkpoint_to_pytorch.py
May I ask for some guidance on how to adjust the script so that it can support ResNet-50 architecture?
Expected behavior
Convert my Mask2Former model (ResNet-50 backbone) to Hugging Face transformerChecklist
- I have read the migration guide in the readme. (pytorch-transformers; pytorch-pretrained-bert)
- I checked if a related official extension example runs on my machine.
Metadata
Metadata
Assignees
Labels
No labels