Voxel Fiftyone tool for Data Check - Vs0923/Yolov5-dsal--Trainning GitHub Wiki
Setup:
Python version>=3.6 is required
-
Clone the repo : https://github.com/voxel51/fiftyone.git
-
Setup the environment by running the pip install -r requirements.txt command.
-
Now run the command pip install fiftyone.
-
To start the instance run the command fiftyone quickstart.
-
Now create the dataset.yaml file containing the path for the dataset and the respective classes which is similar to the custom_data.yaml so rename it to dataset.yaml and place it in the dataset directory.
-
Now run the command to view the dataset into fiftyone app fiftyone app view
--dataset-dir $DATASET_DIR
--type fiftyone.types.YOLOv5Dataset -
Where $DATASET_DIR is replaced with the path for the dataset directory.
-
Now in the app we can check the number of images for each label by clicking on the right side show written along with histogram icon .
-
Also you can check the id, file_path and images are correctly labeled or not from the right side ground_truth instance.
Troubleshooting steps:
If encountered with the mongodb error or any database error run the following command: pip install fiftyone-db-ubuntu1604