Changeset 36014 for main/trunk
- Timestamp:
- 2022-01-17T23:02:19+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/07b-GENERATE-ESSENTIA-FEATURES-DATA.sh
r35961 r36014 6 6 7 7 8 stages_to_run="scrape_contestants|download_audio|compute_audio_features "8 stages_to_run="scrape_contestants|download_audio|compute_audio_features|retrieve_musicbrainzid" 9 9 10 10 if [ $# -ge 1 ] ; then … … 15 15 run_download=`echo $stages_to_run | grep download_audio | wc -l` 16 16 run_compute=`echo $stages_to_run | grep compute_audio_features | wc -l` 17 run_acousticid=`echo $stages_to_run | grep retrieve_musicbrainzid | wc -l` 17 18 18 19 echo "" … … 21 22 echo " download_audio : $run_download" 22 23 echo " compute_audio_features : $run_compute" 24 echo " retrieve_musicbrainzid : $run_acousticid" 23 25 24 26 echo "" … … 131 133 fi 132 134 135 run_compute_status=0 133 136 if [ $run_download_status = 0 ] && [ $run_compute = "1" ] ; then 134 137 cd "$prep_dir" \ 135 && python3 -u ./audio_features.py $* \ 136 && cd .. 138 && python3 -u ./audio_features.py $* 139 run_download_status=$? 140 cd .. 141 fi 142 143 if [ $run_compute_status = 0 ] && [ $run_acousticid = "1" ] ; then 144 cd "$prep_dir" \ 145 && python3 -u ./acousticbrainz_id.py $* 146 run_retrieve_status=$? 147 cd .. 137 148 fi 138 149
Note:
See TracChangeset
for help on using the changeset viewer.