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
Trying to train the model, it begins well but after a while it shows the error
'NTM' object has no attribute '_max_length'
[] Building a NTM model
Percent: [####################] 100.00% Finished.
[] Building a loss model for seq_length 1
[] Building a loss model for seq_length 2
[] Building a loss model for seq_length 3
[] Building a loss model for seq_length 4
[] Building a loss model for seq_length 5
[] Building a loss model for seq_length 6
[] Building a loss model for seq_length 7
[] Building a loss model for seq_length 8
[] Building a loss model for seq_length 9
[] Building a loss model for seq_length 10
[] Build a NTM model finished
[] Initialize all variables
[] Initialization finished
[*] Reading checkpoints...
Traceback (most recent call last):
File "main.py", line 72, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "main.py", line 55, in main
task.train(ntm, FLAGS, sess)
File "/home/lina/deep_learning_frameworks/NTM-tensorflow/tasks/copy.py", line 73, in train
ntm.load(config.checkpoint_dir, config.task, strict=config.continue_train is True)
File "/home/lina/deep_learning_frameworks/NTM-tensorflow/ntm.py", line 260, in load
task_dir = "%s_%s" % (task_name, self._max_length)
AttributeError: 'NTM' object has no attribute '_max_length'
The text was updated successfully, but these errors were encountered:
Trying to train the model, it begins well but after a while it shows the error
'NTM' object has no attribute '_max_length'
[] Building a NTM model
Percent: [####################] 100.00% Finished.
[] Building a loss model for seq_length 1
[] Building a loss model for seq_length 2
[] Building a loss model for seq_length 3
[] Building a loss model for seq_length 4
[] Building a loss model for seq_length 5
[] Building a loss model for seq_length 6
[] Building a loss model for seq_length 7
[] Building a loss model for seq_length 8
[] Building a loss model for seq_length 9
[] Building a loss model for seq_length 10
[] Build a NTM model finished
[] Initialize all variables
[] Initialization finished
[*] Reading checkpoints...
Traceback (most recent call last):
File "main.py", line 72, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "main.py", line 55, in main
task.train(ntm, FLAGS, sess)
File "/home/lina/deep_learning_frameworks/NTM-tensorflow/tasks/copy.py", line 73, in train
ntm.load(config.checkpoint_dir, config.task, strict=config.continue_train is True)
File "/home/lina/deep_learning_frameworks/NTM-tensorflow/ntm.py", line 260, in load
task_dir = "%s_%s" % (task_name, self._max_length)
AttributeError: 'NTM' object has no attribute '_max_length'
The text was updated successfully, but these errors were encountered: