Closed toschi23 closed 2 years ago
👋 Hello @toschi23, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.
For business inquiries or professional support requests please visit https://ultralytics.com or email support@ultralytics.com.
Python>=3.7.0 with all requirements.txt installed including PyTorch>=1.7. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training (train.py), validation (val.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.
@toschi23 thanks for the issue! Can you please submit a PR with your new video suffix? Thanks!
Search before asking
Description
The ".asf" file format is not recognized. Running:
python3 detect.py --source "myvideofile.asf"
results in the following output:AssertionError: No images or videos found in /mnt/rm-data/Smart 1 04.10.21 06.00-08.00/9 - 2021-10-04 06-37-46-371.asf. Supported formats are: images: ['bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp'] videos: ['avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv']
Simply adding 'asf' to the utils/datasets.py video list solves my issue and the file gets processed without any further changes to the code.
Use case
Everyone with .asf files could benefit.
Additional
No response
Are you willing to submit a PR?