Closed pace577 closed 2 years ago
It's probably caused by the following line of code:
tar_list=$(ls $curr_dl)
The file names in k400_targz/train
and k400_targz/val
contain spaces, so a file name is split up into multiple names when executing this line.
k600_extractor.sh
ran without errors after I manually replaced all spaces in the tar file names with underscores.
I guess the follwoing command is useful to do the replacement:
for file in *; do mv "$file" `echo $file | tr ' ' '_'` ; done
Do you have an updated script that runs without errors ? I can update the current one, if so. Thanks.
Do you have an updated script that runs without errors ? I can update the current one, if so. Thanks.
Submitted a pull request (#34) with the working script, using the suggestion from the above comment. This seems to be working!
Running
bash k600_extractor.sh
gives the following output (first 11 lines)Expected behaviour: No errors must be thrown during extraction