2017-01-12 31 views
0

與在一臺機器上工作的相同訓練碼在不同機器上獲得以下錯誤。第一臺機器是SurfaceBook,另一臺是帶GTX 1080的桌面。任何想法這裏有什麼問題?RuntimeError:節點'__v2libuid__Plus502__v2libname__Plus225'(加號操作):DataFor:FrameRange的動態軸與矩陣不一致

錯誤是:

Traceback (most recent call last): File "MultitaskAtis.py", line 162, in trainer_intent.train_minibatch(mb) File "C:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py34\lib\site-packages\cntk\trainer.py", line 90, in train_minibatch updated = super(Trainer, self).train_minibatch(arguments, device) File "C:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py34\lib\site-packages\cntk\cntk_py.py", line 1768, in train_minibatch return _cntk_py.Trainer_train_minibatch(self, *args) RuntimeError: Node '__v2libuid__Plus502__v2libname__Plus225' (Plus operation): DataFor: FrameRange's dynamic axis is inconsistent with matrix: {numTimeSteps:1, numParallelSequences:14, sequences:[{seqId:0, s:0, begin:0, end:1}, {seqId:1, s:1, begin:0, end:1}, {seqId:2, s:2, begin:0, end:1}, {seqId:3, s:3, begin:0, end:1}, {seqId:4, s:4, begin:0, end:1}, {seqId:5, s:5, begin:0, end:1}, {seqId:6, s:6, begin:0, end:1}, {seqId:7, s:7, begin:0, end:1}, {seqId:8, s:8, begin:0, end:1}, {seqId:9, s:9, begin:0, end:1}, {seqId:10, s:10, begin:0, end:1}, {seqId:11, s:11, begin:0, end:1}, {seqId:12, s:12, begin:0, end:1}, {seqId:13, s:13, begin:0, end:1}]} vs. {numTimeSteps:23, numParallelSequences:11, sequences:[{seqId:0, s:0, begin:0, end:16}, {seqId:1, s:1, begin:0, end:10}, {seqId:2, s:1, begin:10, end:21}, {seqId:3, s:2, begin:0, end:15}, {seqId:4, s:3, begin:0, end:23}, {seqId:5, s:4, begin:0, end:11}, {seqId:6, s:5, begin:0, end:14}, {seqId:7, s:6, begin:0, end:14}, {seqId:8, s:4, begin:11, end:22}, {seqId:9, s:7, begin:0, end:11}, {seqId:10, s:8, begin:0, end:14}, {seqId:11, s:9, begin:...

回答

0

這很可能是相對於在所述兩個設備GPU存儲器使用的錯誤。假設您可以在Surface設備和桌面上的CPU設備上正常運行代碼。

+0

你可以擴大一點嗎?你怎麼知道它是內存使用?從錯誤消息中,我會預料到它與數據大小有關。 –