C3D-tensorflow icon indicating copy to clipboard operation
C3D-tensorflow copied to clipboard

Error in run the convert_images_to_list.sh

Open liuyuying0829 opened this issue 6 years ago • 6 comments

Dear author: when i run this shell script , the terminal remind the errors: convert_images_to_list.sh: 行 31: jot: 未找到命令 convert_images_to_list.sh: 行 31: ((: > 1 : 语法错误: 需要操作数 (错误符号是 "> 1 ") can you help me? Thank you!!

liuyuying0829 avatar Mar 31 '18 02:03 liuyuying0829

this problem has been solved by sudo apt-get install athena-jot Thank others' issues

liuyuying0829 avatar Mar 31 '18 02:03 liuyuying0829

@liuyuying0829 You should better change your system language from Chinese to English for less bug, on the other hand, most of github user couldn't recognize Chinese

lixun95 avatar Apr 02 '18 01:04 lixun95

haha,I also faced this problem. thx

ZhiQue930716 avatar Sep 17 '18 09:09 ZhiQue930716

I meet the same problem and I can not use sudo apt-get install athena-jot command because I do not have the authority. Instead, I change line 31 if (( $(jot -r 1 1 $2) > 1 )); then to if (( $RANDOM % 4 | bc > 0 )); then which I think is OK to split the dataset and generate train.list and text.list. Closes #48

BestJuly avatar Nov 06 '18 08:11 BestJuly

this problem has been solved by sudo apt-get install athena-jot Thank others' issues

Did you run the program on Linux? I run it on Windows and have the same problem. How can I fix it?

Yan-echo avatar Mar 19 '19 11:03 Yan-echo

@Yan-echo sudo apt-get install athena-jot only works on linux (debian) distributions such as Ubuntu

rocksyne avatar Mar 20 '19 05:03 rocksyne