Open wetoo-cando opened 1 month ago
Apparently caused because I downgraded transformers
https://huggingface.co/microsoft/Florence-2-large/discussions/28
However, when I use the original requirements.txt from this repo, I now have: The user requested transformers>=4.44.0 lama-cleaner 1.2.5 depends on transformers==4.27.4
The requirements.txt as given by this repo did not work for me directly.
Had to comment out the transformers line in requirements.txt and let lama-cleaner install whatever transformers it needed. Then updated transformers to 4.44.1 on top, and now it works.
@wetoo-cando Thanks for pointing that out! I agree that the requirements.txt
file can be improved to avoid these compatibility issues. I’ll work on refining to correct handling the dependency versions. In the meantime, your solution of commenting out the transformers
line and upgrading manually should help others who encounter the same problem.
After I select the I/O dirs, and press "Start batch processing", I get
TypeError: Object of type Florence2LanguageConfig is not JSON serializable
What could be causing this?