AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 9.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Search before asking
- I have searched the Roboflow Notebooks issues and found no similar bug report.
Notebook name
Roboflow-Zero-Shot-Object-Tracking-Tutorial.ipynb in Google Colab
Bug
Environment
Google Colab
Minimal Reproducible Example
Additional
Hi, when I implement the above code provided in the Google Colab it throw an error. Originally, in the notebook the code is used yolov7, it throw an error after implement the code snippet. When I change the code to yolov5 follow the tutorial of the: How to Implement Object Tracking for Computer Vision, it throw the same error. This Google Colab notebook is provided in this tutorial by clicking the link: Object Tracking Colab Notebook. Please help me to rectify the issue so that I be able to finish this exercise. Thank you.
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Roboflow-Zero-Shot-Object-Tracking-Tutorial.ipynb in Google Colab and reproduce the AttributeError involving the Upsample object. Compare the notebook's YOLOv7 and YOLOv5 paths and their runtime dependencies; done means the linked object-tracking exercise runs without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python, pytorch
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100