roboflow / notebooks

Examples and tutorials on using SOTA computer vision models and techniques. Learn everything from old-school ResNet, through YOLO and object-detection transformers like DETR, to the latest models like Grounding DINO and SAM.
https://roboflow.com/models
4.89k stars 759 forks source link

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

Open NatalieCheong opened 1 year ago

NatalieCheong commented 1 year ago

Search before asking

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?