Home > other >  Torch7: always open a <...> mode in w at/home/ethereal/torch/PKG/torch/lib/TH/THD
Torch7: always open a <...> mode in w at/home/ethereal/torch/PKG/torch/lib/TH/THD

Time:09-15

Error:
` ` `
Saving checkpoint to/fs/clip - scratch/hhe/opponent/CV/SoccerNeuralQLearner_lr0. 000500 _disc0. 90 _epochinf t7 has
/home/ethereal/torch/install/bin/luajit: always open & lt;/fs/clip - scratch/hhe/opponent/CV/SoccerNeuralQLearner_lr0 000500 _disc0. 90 _epochinf t7 has & gt; In mode w at/home/ethereal/torch/PKG/torch/lib/TH/THDiskFile. C: 673
Stack traceback:
[C] : the at 0 x7f3b753ac200
[C] : in function 'DiskFile'
/home/ethereal/torch/install/share/lua/5.1/torch/File. The lua: 385: the function in the 'save'
Train_soccer_agent. Lua: 252: in the main chunk
[C] : in function 'dofile'
. Real torch/install/lib/luarocks/rocks/trepl/bin/th/SCM - 1:150: in the main chunk
[C] : the at 0 x55ce087fe570
Makefile: 108: the recipe for target 'run_soccer failed
Make: * * * [run_soccer] Error 1
` ` `
Error code:
` ` `
The local filename=the string. Format (' % s/% % s_lr. The 6 f_disc %. 2 f_epoch % 2 f t7 has', opt. Checkpoint_dir, opt. Savefile, agent. The lr, agent. The discount, epoch)
Print (' saving checkpoint to '.. Filename)
The torch. The save (filename, {agent=agent, model=agent.net work,... })
` ` `

CodePudding user response:

https://blog.csdn.net/u014421266/article/details/50646794 this article mentioned the permissions errors, but did not give way, my own solve with sudo permissions, and then create the directory will be ready to run
  • Related