git clone
of the repository containing the dataset. Alternatively, I have written a small python script to handle the download. You can retrieve the huggingFace.py
script from https://github.com/ronibandini/domesticLMLRAD, then open the file in an editor to have a look at it’s contents.
myLabel=11
to myLabel=6
, you will instead download the “fighting” Class. Now you can run the python download script:
python huggingFaceDownloader.py
The contents of the dataset Class for “fighting” will be downloaded to the /datasets folder you just created.
/datasets
folder you created earlier, and you can automatically split between Training and Testing. You’ll also need to enter the Label: “fighting”.
To prepare another Class, edit line 15 in the huggingFace.py
script once again and change the value to another number, perhaps the original value of Class 11 (sitting) is a good one. Re-run the script, and the images for that Class will be downloaded, just like previously. Then, repeat the Data Upload steps, remembering to change the Label in the Edge Impulse Studio to “sitting”.