quickstart-python
quickstart-python copied to clipboard
Invalid URL for COCO model in cell 2 of quickstart.ipynb
The URL for universe_model_url in cell 2 of quickstart.ipynb is invalid and errors out KeyError: 'predictions'
When navigating to this URL in the browser, it redirects to the following dataset: https://universe.roboflow.com/microsoft/coco/dataset/4
I tried updating universe_model_url to the redirect URL, as well as to the URL for models coco/4 and coco/3 but got the same KeyError result.
Interestingly, it did work when I tried changing universe_model_url to other model URLs - for example:
-
https://universe.roboflow.com/team-roboflow/rock-paper-scissors-detection/model/34for Rock Paper Scissors Detection. -
https://universe.roboflow.com/alex-hyams-cosqx/cash-counter/model/9for Cash Counter Detection.
Full, original cell below:
# Show the COCO model your cell phone or a book to see how it does at detecting them
universe_model_url = "https://universe.roboflow.com/jacob-solawetz/microsoft-coco/dataset/9"
model = roboflow.load_model(model_url=universe_model_url)
# Running this cell will load the model onto your computer
# and use it to get predictions on images from your webcam
# inference_engine_url : The setup.sh script started an infrence server on your local machine at http://localhost:9001
# There will be more on the inference engine in future notebooks
model.webcam(inference_engine_url="http://localhost:9001/", webcam_id=0, within_jupyter=True, web_cam_res=(416,416), confidence=10)