-
Notifications
You must be signed in to change notification settings - Fork 35
2.1. Annotating datasets
Jim Schwoebel edited this page Aug 3, 2020
·
9 revisions
You can simply annotate using the command-line interface here:
python3 annotate.py -d /Users/jim/desktop/allie/train_dir/males/ -s audio -c male -p classification
After you annotate, you can create a nicely formatted .CSV for machine learning:
python3 create_csv.py -d /Users/jim/desktop/allie/train_dir/males/ -s audio -c male -p classification
Click the .GIF below for a quick tutorial and example.
CLI argument | description | possible options | example |
---|---|---|---|
-d | the specified directory full of files that you want to annotate. | any directory path | "/Users/jim/desktop/allie/train_dir/males/" |
-s | the file type / type of problem that you are annotating | ["audio", "text", "image", "video"] | "audio" |
-c | the class name that you are annotating | any string / class name | "male" |
-p | the type of problem you are annotating - classification or regression label | ["classification", "regression"] | "classification" |