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
5.29k stars 820 forks source link

Error when running ByteTrack Installation Cell in the Vehicle Counting Tutorial #112

Closed AT9991 closed 1 year ago

AT9991 commented 1 year ago

Search before asking

Notebook name

Track and Count Vehicles with YOLOv8 + ByteTRACK + Supervision

Bug

Error when running the ByteTrack installation cell. Screenshot 2023-05-04 at 13 40 11

Environment

Minimal Reproducible Example

%cd {HOME} !git clone https://github.com/ifzhang/ByteTrack.git %cd {HOME}/ByteTrack

workaround related to https://github.com/roboflow/notebooks/issues/80

!sed -i 's/onnx==1.8.1/onnx==1.9.0/g' requirements.txt

!pip3 install -q -r requirements.txt !python3 setup.py -q develop !pip install -q cython_bbox !pip install -q onemetric

from IPython import display display.clear_output()

import sys sys.path.append(f"{HOME}/ByteTrack")

import yolox print("yolox.version:", yolox.version)

Additional

No response

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

πŸ‘‹ Hello @AT9991, thank you for leaving an issue on Roboflow Notebooks.

🐞 Bug reports

If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our Contributing Guidelines.

If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the Roboflow Forum or on the GitHub Discussions page associated with this repository.

πŸ’¬ Get in touch

Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the Roboflow Discuss forum. Our developer advocates and community team actively respond to questions there.

To ask questions about Notebooks, head over to the GitHub Discussions section of this repository.

SkalskiP commented 1 year ago

Hi @AT9991 πŸ‘‹πŸ»! I spent some time yesterday and fixed the how-to-track-and-count-vehicles-with-yolov8.ipynb notebook again. I'm closing the issue, however, feel free to reopen it if you'll face any more issues.

encouver commented 1 year ago

the issue still persists:

image

AT9991 commented 1 year ago

Just !pip install -q thop

On Tue, May 23, 2023, 19:09 Marcos RamΓ­rez @.***> wrote:

the issue still persists:

[image: image] https://user-images.githubusercontent.com/1783184/240445317-4b4d2d73-f11c-4cd3-81f9-f36c5f659d81.png

β€” Reply to this email directly, view it on GitHub https://github.com/roboflow/notebooks/issues/112#issuecomment-1560278548, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJ36FY7L4M4RM4FYAUCY7DXHVGUBANCNFSM6AAAAAAXWFD23E . You are receiving this because you were mentioned.Message ID: @.***>