Open paul-upfeat opened 1 week ago
What version of Transformers?
I tried both 4.45.0.dev and 4.46.0.dev. Copying the modeling_florence2.py file directly from the model to the checkpoint folder seemed to solve it
please use transformers==4.44.*
hi, ive tried installing 4.44.2 with the same error. copying the file directly into the checkpoint folder seems to fix it although im not sure what exactly is intended.
am i supposed to train with 4.44.2 for florence2?
I'm not able to run inference for my fine tuned model - tried running the command in the documentation.
I finetuned my model using:
This was using this image:
modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/modelscope:ubuntu22.04-cuda12.1.0-py310-torch2.3.0-tf2.16.1-1.18.0
The image was complaining about tf-keras so I installed that with
pip install tf-keras
. I used 2 3090 gpuFrom the doc, I tried running inference with:
This is the output:
Seems to be complaining about missing files but I am not sure if I am missing a step here. Any help is appreciated, thank you!