We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version.model returns NoneType, failing all model inference calls in production
version.model
Take any public project that has a model: https://universe.roboflow.com/batuhan-yilmaz-mnu8w/segmentationexample/model/5
Run python inference code:
!pip install roboflow -U # <---- version 1.1.36 from roboflow import Roboflow rf = Roboflow(api_key="API_KEY") project = rf.workspace().project("segmentationexample") model = project.version(5).model model.predict() # <--- AttributeError: 'NoneType' object has no attribute 'predict' type(model) # <--- NoneType
Current workaround is to downgrade roboflow to version 1.1.33
!pip install roboflow==1.1.33 from roboflow import Roboflow rf = Roboflow(api_key="API_KEY") project = rf.workspace().project("segmentationexample") model = project.version(5).model type(model) # <--- roboflow.models.semantic_segmentation.SemanticSegmentationModel
#276
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
version.model
returns NoneType, failing all model inference calls in productionReproduce steps
Take any public project that has a model:
https://universe.roboflow.com/batuhan-yilmaz-mnu8w/segmentationexample/model/5
Run python inference code:
Expected behavior
Current workaround is to downgrade roboflow to version 1.1.33
Potential root cause:
#276
The text was updated successfully, but these errors were encountered: