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
{{ message }}
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.
When executed to the following code on the end epoch of training multipathnet model, the process crashed.
print("Saving model to "..model_path)
torch.save(model_path, utils.checkpoint(model))
The stack trace:
/home/samson/torch/install/bin/luajit: ./modules/ModelParallelTable.lua:357: ModelParallelTable only supports CudaTensor, not torch.FloatTensor
stack traceback:
[C]: in function 'error'
./modules/ModelParallelTable.lua:357: in function 'type'
/home/samson/torch/install/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'
/home/samson/torch/install/share/lua/5.1/nn/utils.lua:41: in function 'recursiveType'
/home/samson/torch/install/share/lua/5.1/nn/Module.lua:126: in function 'float'
/data/home/samson/Repo/multipathnet/utils.lua:487: in function 'checkpoint'
train.lua:196: in function 'save'
train.lua:340: in function 'hooks'
./engines/fboptimengine.lua:79: in function 'train'
train.lua:364: in main chunk
[C]: in function 'dofile'
...mson/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00405d50
FYI:
torch.save(model_path, model)
is fine.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When executed to the following code on the end epoch of training multipathnet model, the process crashed.
The stack trace:
FYI:
is fine.
The text was updated successfully, but these errors were encountered: