roboflow / roboflow/notebooks

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

Open
#147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Screenshot 2023-06-13 at 5 47 24 PM
Screenshot 2023-06-13 at 5 48 00 PM

Environment

Google Colab

Minimal Reproducible Example

Screenshot 2023-06-13 at 6 24 49 PM

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.