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
If using the default maxSeqLen, one will get the cublas runtime error
➜ RelationRNN git:(master) ✗ th train_rel_rnn.lua
[INFO - 2018_05_02_20:11:11] - "--------------------------------------------------"
[INFO - 2018_05_02_20:11:11] - "SeqRankingLoader Configurations:"
[INFO - 2018_05_02_20:11:11] - " number of batch : 296"
[INFO - 2018_05_02_20:11:11] - " data batch size : 256"
[INFO - 2018_05_02_20:11:11] - " neg sample size : 1024"
[INFO - 2018_05_02_20:11:11] - " neg sample range: 7524"
[INFO - 2018_05_02_20:11:11] - "--------------------------------------------------"
[INFO - 2018_05_02_20:11:11] - "BiGRU Configuration:"
[INFO - 2018_05_02_20:11:11] - " inputSize : 300"
[INFO - 2018_05_02_20:11:11] - " hiddenSize : 256"
[INFO - 2018_05_02_20:11:11] - " maxSeqLen : 40"
[INFO - 2018_05_02_20:11:11] - " maxBatch : 256"
[INFO - 2018_05_02_20:11:11] - "--------------------------------------------------"
[INFO - 2018_05_02_20:11:11] - "BiGRU Configuration:"
[INFO - 2018_05_02_20:11:11] - " inputSize : 512"
[INFO - 2018_05_02_20:11:11] - " hiddenSize : 256"
[INFO - 2018_05_02_20:11:11] - " maxSeqLen : 40"
[INFO - 2018_05_02_20:11:11] - " maxBatch : 256"
/home/vimos/.torch/install/bin/luajit: /home/vimos/.torch/install/share/lua/5.1/nn/Container.lua:67:
In 5 module of nn.Sequential:
/home/vimos/Data/git/QA/CFO/src/model/BiGRU.lua:241: cublas runtime error : an internal operation failed at /home/vimos/.torch/extra/cutorch/lib/THC/THCBlas.cu:246
stack traceback:
[C]: in function 'mm'
/home/vimos/Data/git/QA/CFO/src/model/BiGRU.lua:241: in function 'updateGradInput'
/home/vimos/.torch/install/share/lua/5.1/nn/Module.lua:31: in function </home/vimos/.torch/install/share/lua/5.1/nn/Module.lua:29>
[C]: in function 'xpcall'
/home/vimos/.torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/vimos/.torch/install/share/lua/5.1/nn/Sequential.lua:84: in function 'backward'
train_rel_rnn.lua:174: in main chunk
[C]: in function 'dofile'
...mos/.torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x559ae9bad710
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/vimos/.torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/vimos/.torch/install/share/lua/5.1/nn/Sequential.lua:84: in function 'backward'
train_rel_rnn.lua:174: in main chunk
[C]: in function 'dofile'
...mos/.torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x559ae9bad710
THCudaCheckWarn FAIL file=/home/vimos/.torch/extra/cutorch/lib/THC/THCStream.cpp line=50 error=77 : an illegal memory access was encountered
THCudaCheckWarn FAIL file=/home/vimos/.torch/extra/cutorch/lib/THC/THCStream.cpp line=50 error=77 : an illegal memory access was encountered
But this problem can be fixed by using a larger maxSeqLen
I have not ran the codes,but I wanna know how many available data(subject mention could be found in the question) in the train(75910)&test(21678) can I get after preprocessing.Would you mind solving my problem?And I will be appreciated.
If using the default
maxSeqLen
, one will get thecublas runtime error
But this problem can be fixed by using a larger
maxSeqLen
But the loss will be 0 after the 1 epoch or become infinity
The text was updated successfully, but these errors were encountered: