-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where I can download a small/tiny dataset to test your repo? #4779
Comments
👋 Hello @zydjohnHotmail, 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 Glenn Jocher at glenn.jocher@ultralytics.com. RequirementsPython>=3.6.0 with all requirements.txt installed including PyTorch>=1.7. To get started: $ git clone https://github.com/ultralytics/yolov5
$ cd yolov5
$ pip install -r requirements.txt EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf 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. |
@zydjohnHotmail YOLOv5 default dataset is COCO128. It's only 6MB. It downloads automatically, no action is required on your part:
|
Hello: hyperparameters: lr0=0.01, lrf=0.2, momentum=0.937, weight_decay=0.0005, warmup_epochs=3.0, warmup_momentum=0.8, warmup_bias_lr=0.1, box=0.05, cls=0.5, cls_pw=1.0, obj=1.0, obj_pw=1.0, iou_t=0.2, anchor_t=4.0, fl_gamma=0.0, hsv_h=0.015, hsv_s=0.7, hsv_v=0.4, degrees=0.0, translate=0.1, scale=0.5, shear=0.0, perspective=0.0, flipud=0.0, fliplr=0.5, mosaic=1.0, mixup=0.0, copy_paste=0.0 WARNING: Dataset not found, nonexistent paths: ['E:\Videos\datasets\coco128\images\train2017']
0 -1 1 3520 models.common.Focus [3, 32, 3] Transferred 362/362 items from yolov5s.pt During handling of the above exception, another exception occurred: Traceback (most recent call last): E:\Videos\yolov5> |
Some additional information: OS: Windows 10; Python: 3.9.7 (x64); I already installed all necessary python modules. |
@zydjohnHotmail it appears you may have environment problems. Please ensure you meet all dependency requirements if you are attempting to run YOLOv5 locally. If in doubt, create a new virtual Python 3.8 environment, clone the latest repo (code changes daily), and RequirementsPython>=3.6.0 with all requirements.txt installed including PyTorch>=1.7. To get started: $ git clone https://github.com/ultralytics/yolov5
$ cd yolov5
$ pip install -r requirements.txt EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf 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. |
Hello: |
@zydjohnHotmail YOLOv5 operates on all 3 operating systems including Windows, and makes no assumption about a users OS. Windows CI checks are run every 24 hours and on every commit, and are currently passing. The last |
@zydjohnHotmail the windows-latest autodownload of our tests using COCO128 is here, everything works correctly in this Windows environment. Do you know what the difference is between your version of windows and github's windows-latest (https://github.com/actions/virtual-environments) runner? |
Hi: |
@zydjohnHotmail ok thanks for the feedback! Yes I see that the unzip not found is the cause of the error. I see the github windows-latest runners are Windows Server 2019 instances, maybe these versions of Windows come included with additional tools like unzip. |
Hello: |
@zydjohnHotmail yes I understand. These are simply the available environments for GitHub CI checks. When we can get access to a normal windows (Windows Home?) we'll try to reproduce. |
Hi, |
I had the same issue on Windows 10. My quick fix was to replace line 360 in general.py:
Had to Remove the zip file in a separate line because I couldn´t get the command chain in powershell working. |
@zydjohnHotmail @Matias2379 perhaps python zipfile library might be a good os-agnostic alternate? |
Hello:
I am very new to YoloV5, I want to follow your tutorial. However, I found it is nearly impossible, all the datasets examples in the /data folder. I mean from all the .yaml files, the smallest dataset size is more than 2GB. It is nearly impossible to download and run the Python code on any of them.
Do you have any small, tiny dataset for testing. I mean small, I am talking about less 100KB including the images, with only one or at most 3 labels. For example, can I have for 3 images with one label, so I can test and get to know the process.
I found some small datasets, but they were created before YoloV5, and I don’t know how to use them.
I also made one small dataset with Microsoft VOTT, with 20 images and some Json format files, but I don’t know how I can convert them to YoloV5 format.
Please advise! I am using Python 3.9 on Windows 10.
Thanks,
The text was updated successfully, but these errors were encountered: