Talker Variability Zooniverse

Steps to prep and upload tokens for ADS/CDS coding on Zooniverse

  1. 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)

  2. Make a image for the video files

    1. 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

  3. 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 files

  4. Run the following from the terminal, changing <videos folder> and <user>. This uploads all the

    1. rsync --chmod=ug+rw,o+r --progress -rivz <videos_folder> <user>@blab.vm.duke.edu:/var/www/blab.vm.duke.edu/zooniverse/

  5. 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

    1. 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

    2. To upload just videos, and not the wav files, this is the correct chunk to run (changing the manifest name):

      1. 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

  6. Create a new subject set in Zooniverse

  7. 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

    1. panoptes subject-set upload-subjects ##### -r 1 -m video/mp4 <manifest.csv>

Last updated