Having recently updated our torch installation and packages we are no longer able to load the models that were trained using the old version:
$ translate.lua -model model_old.t7 …
…
[05/24/17 08:50:38 INFO] Loading ‘model_old.t7’…
[05/24/17 08:50:47 INFO] Model seq2seq trained on bitext
…/torch/install/bin/lua: …e/local/src/torch/install/share/lua/5.2/nn/JoinTable.lua:38: bad argument #1 to ‘copy’ (sizes do not match at /tmp/luarocks_cutorch-scm-1-5403/cutorch/lib/THC/THCTensorCopy.cu:31)
Models trained in current setup work fine. Is it expected behaviour or does anoyne have some similar experience?
I used the same OpenNMT version for the “old” models as I’m using now, in which the last commit is 6521cc0cd4d64d07bb4d94ca2b99787f1cd66b7d, Wed Apr 19 12:23:11. It’s only the torch (and its packages) installation that I updated, with ‘old version’ I was referring (pretty misleadingly, sorry for that) to the torch stuff.