Talker Variability Zooniverse
Steps to prep and upload tokens for ADS/CDS coding on Zooniverse
Rename files to be word_annotid.wav and put them in a word-specific folder in
Fas-Phyc-PEB-Lab/Talker_variability/ADS_CDS_Coding
(e.g. Zoonivese_ball)Make a image for the video files
Open Word and write the target word for your files (e.g. ball) in a large font (72) and take a screenshot. Rename the file word_picture.png and put that in the word-specific folder named above
Run the script found here:
Fas-Phyc-PEB-Lab/Talker_variability/ADS_CDS_Coding/TerminalScript/federica_loop.sh.
This will make videos for each of the wav filesRun the following from the terminal, changing <videos folder> and <user>. This uploads all the
rsync --chmod=ug+rw,o+r --progress -rivz <videos_folder> <user>@blab.vm.duke.edu:/var/www/blab.vm.duke.edu/zooniverse/
Run the following from the terminal, changing the <manifest.csv> (e.g. water_manifest.csv). This creates a file that has the names and urls of all of the files to be uploaded as a subject set
site='https://blab.vm.duke.edu/zooniverse/'; echo 'url,filename' > <manifest_csv>; for f in Fas-Phyc-PEB-Lab/Talker_variability/ADS_CDS_Coding/Zooniverse_water/*.wav; do name="$(basename -s'.wav' $f)"; echo $site$name; echo "$site$name.mp4,$name" >> <manifest.csv>; done
To upload just videos, and not the wav files, this is the correct chunk to run (changing the manifest name):
site='https://blab.vm.duke.edu/zooniverse/'; echo 'url,filename' > morethan1.csv; for f in Fas-Phyc-PEB-Lab/Talker_variability/ADS_CDS_Coding/Zooniverse_morethan1_7.6.21/*.mp4; do name="$(basename -s'.mp4' $f)"; echo $site$name; echo "$site$name.mp4,$name" >> morethan1.csv; done
Create a new subject set in Zooniverse
Run this in the command line, changing the 5 letter sequence to the one for the subject set you just created, and the <manifest.csv>. This uploads the manifest to Zooniverse
panoptes subject-set upload-subjects ##### -r 1 -m video/mp4 <manifest.csv>
Last updated