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.09k stars 788 forks source link

FileNotFoundError: /content/clips/08fd33_4.mp4 does not exist #65

Closed Ishihara-Masabumi closed 1 year ago

Ishihara-Masabumi commented 1 year ago

Search before asking

Notebook name

how-to-track-football-players.ipynb

Bug

/content/yolov5 detect: weights=['yolov5x.pt'], source=/content/clips/08fd33_4.mp4, data=data/coco128.yaml, imgsz=[640, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False, save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None, agnostic_nms=False, augment=False, visualize=False, update=False, project=runs/detect, name=coco, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=False, half=False, dnn=False, vid_stride=1 YOLOv5 πŸš€ v7.0-89-g35d6d9f Python-3.8.10 torch-1.13.1+cu116 CUDA:0 (Tesla T4, 15110MiB)

Downloading https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5x.pt to yolov5x.pt... 100% 166M/166M [00:05<00:00, 31.3MB/s]

Fusing layers... YOLOv5x summary: 444 layers, 86705005 parameters, 0 gradients Traceback (most recent call last): File "detect.py", line 261, in main(opt) File "detect.py", line 256, in main run(*vars(opt)) File "/usr/local/lib/python3.8/dist-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(args, **kwargs) File "detect.py", line 111, in run dataset = LoadImages(source, img_size=imgsz, stride=stride, auto=pt, vid_stride=vid_stride) File "/content/yolov5/utils/dataloaders.py", line 254, in init raise FileNotFoundError(f'{p} does not exist') FileNotFoundError: /content/clips/08fd33_4.mp4 does not exist

Environment

the same as yours

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

πŸ‘‹ Hello @Ishihara-Masabumi, 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 @Ishihara-Masabumi πŸ‘‹πŸ»! I just tested the notebook and it works... all fine. Are you sure you downloaded videos from Kaggle?

SkalskiP commented 1 year ago

Hi @Ishihara-Masabumi πŸ‘‹πŸ» Any updates?

SkalskiP commented 1 year ago

I'm closing the issue :)