-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add PreProcessor for VLM #57
base: main-dev
Are you sure you want to change the base?
Conversation
Thank you for contributions, @wnma3mz! Detaching the preprocessing code is probably the right thing to do. Give us a couple of days to merge it 🤗 |
@wnma3mz hey, We appreciate your work on the PR! I wanted to ask you to remove the changes from src/ dir and keep all the updates in scripts that are useful for onnx/coreml runtimes. We are using scr/ together with our pre-training code. So we didn't want to update it frequently. Also, as far as I understand, you tested your script with model_fpath = "unum-cloud/uform-coreml-onnx," correct? |
Thanks for your reply, I have deleted the changes in the src directory. As you said, I tested it at |
@wnma3mz hi |
I'm sorry for the trouble. ├── multilingual-v2.image-encoder.mlpackage
│ ├── Data
│ │ └── com.apple.CoreML
│ │ ├── model.mlmodel
│ │ └── weights
│ │ └── weight.bin
│ └── Manifest.json
├── multilingual-v2.image-encoder.mlpackage.zip
├── multilingual-v2.text-encoder.mlpackage
│ ├── Data
│ │ └── com.apple.CoreML
│ │ ├── model.mlmodel
│ │ └── weights
│ │ └── weight.bin
│ └── Manifest.json
├── multilingual-v2.text-encoder.mlpackage.zip
├── multilingual.image-encoder.onnx
├── multilingual.text-encoder.onnx
├── tokenizer.json
├── torch_config.json
└── torch_weight.pt The current 'snapshot_download' function can interfere with testing due to network reasons, so I added the 'get_local_model' function for easy run. If you have any other questions, please feel free to remind me |
No description provided.