Object of type Florence2LanguageConfig is not JSON serializable

#92
by LINXIAO233 - opened

Anyone deal with it?

Yes, I had the same problem and solved it.
First, you need to check your Python version (in my case, it was Python 3.6). I had to install Python 3.10.
After that, I reinstalled PyTorch, Transformers, and other required libraries with the latest versions, and everything ran without any issues.

Yes, I had the same problem and solved it.
First, you need to check your Python version (in my case, it was Python 3.6). I had to install Python 3.10.
After that, I reinstalled PyTorch, Transformers, and other required libraries with the latest versions, and everything ran without any issues.

thanks!I solved it!

Sign up or log in to comment

Free AI Image Generator No sign-up. Instant results. Open Now