I keep running into these errors while trying to run the FoodVision_Mini app in HuggingFace Spaces #1053
Unanswered
ErphanRajai
asked this question in
Q&A
Replies: 2 comments
-
i got it fixed by changing my numpy version to
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Even though you didn't import numpy directly, some libraries or dependencies in your project do. When these libraries use numpy internally, they depend on a specific version of numpy that behaves as expected. If there's a mismatch between the versions of numpy expected by these libraries and the one installed, it can cause errors like the one you encountered and especially when working with multiple libraries that have overlapping dependencies. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At first it gave an error like this
"TypeError: ConnectionPool.init() got an unexpected keyword argument 'socket_options'"
But after some searching and changin the Gradio version to 2.6.4 in the
requirements.txt
file it was fixed .but what does the error mean ?
also after that it gave me another error:
"RuntimeError: Could not infer dtype of numpy.uint8"
What Does this mean and how do i fix it ?

Beta Was this translation helpful? Give feedback.
All reactions