Changeset 35961
- Timestamp:
- 2022-01-11T14:49:25+13:00 (2 years ago)
- Location:
- main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/07b-GENERATE-ESSENTIA-FEATURES-DATA--ALL-BATCHx8--EACH-A-NOHUP.sh
r35912 r35961 11 11 12 12 nohup ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "compute_audio_features" --start 2005 --end 2012 > nohup-compute-features-block7.out 2>&1 & 13 nohup ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "compute_audio_features" --start 2013 --end 2021> nohup-compute-features-block8.out 2>&1 &13 nohup ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "compute_audio_features" --start 2013 --end $esc_cutoff_endyear > nohup-compute-features-block8.out 2>&1 & -
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/07b-GENERATE-ESSENTIA-FEATURES-DATA--SMALL.sh
r35947 r35961 11 11 12 12 ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "scrape_contestants" --start $year --end $year 13 # ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "download_audio|compute_audio_features" --start $year --end $year contestants-$year.csv 13 ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "download_audio" --start $year --end $year contestants-$year.csv 14 ./07b-GENERATE-ESSENTIA-FEATURES-DATA.sh "compute_audio_features" --start $year --end $year 15 14 16 15 17 -
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/07b-GENERATE-ESSENTIA-FEATURES-DATA.sh
r35947 r35961 97 97 export PATH=$PWD/$prep_dir:$PATH 98 98 99 run_scrape_status=0 99 100 if [ $run_scrape = "1" ] ; then 100 101 if [ $# = 0 ] ; then … … 106 107 && /bin/rm -f "votes-1957-${esc_cutoff_endyear}.csv" \ 107 108 && /bin/rm -f "contestants-1957-${esc_cutoff_endyear}.csv" \ 108 && python3 -u ./main.py --start 1957 --end $esc_cutoff_endyear \ 109 \ 110 && /bin/rm -f "votes-1956-${esc_cutoff_endyear}.csv" \ 111 && /bin/rm -f "contestants-1956-${esc_cutoff_endyear}.csv" \ 112 && python3 -u ./main.py --start 1956 --end $esc_cutoff_endyear \ 113 && cd .. 109 && python3 -u ./main.py --start 1957 --end $esc_cutoff_endyear 110 run_scrape_status=$? 111 cd .. 114 112 else 115 113 cd "$prep_dir" \ 116 && python3 -u ./main.py $* \ 117 && cd .. 114 && python3 -u ./main.py $* 115 run_scrape_status=$? 116 cd .. 118 117 fi 119 118 fi 120 119 121 if [ $? = 0 ] && [ $run_download = "1" ] ; then 122 #wget --no-check-certificate -nc -O "$prep_dir/contestants.csv" \ 123 # https://github.com/Spijkervet/eurovision_dataset/releases/download/2020.0/contestants.csv \ 124 120 run_download_status=0 121 if [ $run_scrape_status = 0 ] && [ $run_download = "1" ] ; then 125 122 if [ $# = 0 ] ; then 126 123 # append CSV fileanme to $* 127 set -- "$@" "contestants-1956 -${esc_cutoff_endyear}.csv"124 set -- "$@" "contestants-1956.csv" "contestants-1957-${esc_cutoff_endyear}.csv" 128 125 fi 129 126 130 127 cd "$prep_dir" \ 131 && python3 -u ./audio.py $* \ 132 && cd .. 128 && python3 -u ./audio.py $* 129 run_download_status=$? 130 cd .. 133 131 fi 134 132 135 if [ $? = 0 ] && [ $run_compute = "1" ] ; then 136 if [ $# = 0 ] ; then 137 # append CSV fileanme to $* 138 set -- "$@" "contestants-1956-${esc_cutoff_endyear}.csv" 139 fi 140 133 if [ $run_download_status = 0 ] && [ $run_compute = "1" ] ; then 141 134 cd "$prep_dir" \ 142 135 && python3 -u ./audio_features.py $* \
Note:
See TracChangeset
for help on using the changeset viewer.