-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Description
Running torch-rnn, when saving checkpoints I get this from time to time:
/home/howl/torch-cl/install/bin/luajit: ./util/utils.lua:50: Cannot serialise number: must not be NaN or Infinity
stack traceback:
[C]: in function 'encode'
./util/utils.lua:50: in function 'write_json'
train.lua:234: in main chunk
[C]: in function 'dofile'
...l/torch-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x55832286e450
I'm running torch-cl with the following:
th train.lua -input_h5 ../data.h5 -input_json ../data.json -gpu_backend opencl -init_from cv/checkpoint_74000.t7 -reset_iterations 0
The last two options were added because I had the problem already in previous runs.
Graphics card is a NVIDIA GeForce 620 OEM. Using OpenCL because running CUDA seems close to impossible or very hard anyway on my machine (it's sort of like an NVIDIA Optimus laptop, but it's a Dell workstation. Can find out the model if needed).
Running on Debian GNU/Linux sid (unstable).
Metadata
Metadata
Assignees
Labels
No labels