You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
When I executed ./run_pred.sh in shell, an exception throwed: ./run_pred.sh: line 16: th: command not found. Then I modified the run_pred.sh by changing th to lua : lua inference.lua -g $GPUID --model $MODEL --data_root $REALSET/$subset --model_param logs/$FN/param_epoch_$EPOCHTEST.t7 --bn_meanstd logs/$FN/bn_meanvar_epoch_$EPOCHTEST.t7 --saveDir outImg/$FNREAL/$subset --start_id 1 --n 100 --patchbypatch 1 --patch_size 256
It returned:
lua: inference.lua:1: module 'xlua' not found:
no field package.preload['xlua']
no file '/usr/local/share/lua/5.3/xlua.lua'
no file '/usr/local/share/lua/5.3/xlua/init.lua'
no file '/usr/local/lib/lua/5.3/xlua.lua'
no file '/usr/local/lib/lua/5.3/xlua/init.lua'
no file './xlua.lua'
no file './xlua/init.lua'
no file '/usr/local/lib/lua/5.3/xlua.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './xlua.so'
stack traceback:
[C]: in function 'require'
inference.lua:1: in main chunk
[C]: in ?
So I'm wondowing how to correctly run the shell script?
The text was updated successfully, but these errors were encountered:
Hi ,
When I executed ./run_pred.sh in shell, an exception throwed: ./run_pred.sh: line 16: th: command not found. Then I modified the run_pred.sh by changing th to lua :
lua inference.lua -g $GPUID --model $MODEL --data_root $REALSET/$subset --model_param logs/$FN/param_epoch_$EPOCHTEST.t7 --bn_meanstd logs/$FN/bn_meanvar_epoch_$EPOCHTEST.t7 --saveDir outImg/$FNREAL/$subset --start_id 1 --n 100 --patchbypatch 1 --patch_size 256
It returned:
So I'm wondowing how to correctly run the shell script?
The text was updated successfully, but these errors were encountered: