Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.96 KB | None | 0 0
  1. AI Dungeon 2 will save and use your actions and game to continually improve AI
  2. Dungeon. If you would like to disable this enter 'nosaving' for any action.
  3. This will also turn off the ability to save games.
  4.  
  5. Initializing AI Dungeon! (This might take a few minutes)
  6.  
  7. Traceback (most recent call last):
  8. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
  9. return fn(*args)
  10. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
  11. target_list, run_metadata)
  12. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
  13. run_metadata)
  14. tensorflow.python.framework.errors_impl.NotFoundError: 2 root error(s) found.
  15. (0) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  16. [[{{node save/RestoreV2}}]]
  17. [[save/RestoreV2/_301]]
  18. (1) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  19. [[{{node save/RestoreV2}}]]
  20. 0 successful operations.
  21. 0 derived errors ignored.
  22.  
  23. During handling of the above exception, another exception occurred:
  24.  
  25. Traceback (most recent call last):
  26. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1290, in restore
  27. {self.saver_def.filename_tensor_name: save_path})
  28. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 956, in run
  29. run_metadata_ptr)
  30. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1180, in _run
  31. feed_dict_tensor, options, run_metadata)
  32. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
  33. run_metadata)
  34. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
  35. raise type(e)(node_def, op, message)
  36. tensorflow.python.framework.errors_impl.NotFoundError: 2 root error(s) found.
  37. (0) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  38. [[node save/RestoreV2 (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  39. [[save/RestoreV2/_301]]
  40. (1) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  41. [[node save/RestoreV2 (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  42. 0 successful operations.
  43. 0 derived errors ignored.
  44.  
  45. Original stack trace for 'save/RestoreV2':
  46. File "play.py", line 403, in <module>
  47. play_aidungeon_2()
  48. File "play.py", line 126, in play_aidungeon_2
  49. generator = GPT2Generator()
  50. File "/content/gdrive/My Drive/AIDungeon/generator/gpt2/gpt2_generator.py", line 43, in __init__
  51. saver = tf.train.Saver()
  52. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 828, in __init__
  53. self.build()
  54. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 840, in build
  55. self._build(self._filename, build_save=True, build_restore=True)
  56. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 878, in _build
  57. build_restore=build_restore)
  58. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 508, in _build_internal
  59. restore_sequentially, reshape)
  60. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 328, in _AddRestoreOps
  61. restore_sequentially)
  62. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 575, in bulk_restore
  63. return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  64. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1696, in restore_v2
  65. name=name)
  66. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
  67. op_def=op_def)
  68. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
  69. return func(*args, **kwargs)
  70. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
  71. attrs, op_def, compute_device)
  72. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
  73. op_def=op_def)
  74. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
  75. self._traceback = tf_stack.extract_stack()
  76.  
  77.  
  78. During handling of the above exception, another exception occurred:
  79.  
  80. Traceback (most recent call last):
  81. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1300, in restore
  82. names_to_keys = object_graph_key_mapping(save_path)
  83. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1618, in object_graph_key_mapping
  84. object_graph_string = reader.get_tensor(trackable.OBJECT_GRAPH_PROTO_KEY)
  85. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 915, in get_tensor
  86. return CheckpointReader_GetTensor(self, compat.as_bytes(tensor_str))
  87. tensorflow.python.framework.errors_impl.NotFoundError: Key _CHECKPOINTABLE_OBJECT_GRAPH not found in checkpoint
  88.  
  89. During handling of the above exception, another exception occurred:
  90.  
  91. Traceback (most recent call last):
  92. File "play.py", line 403, in <module>
  93. play_aidungeon_2()
  94. File "play.py", line 126, in play_aidungeon_2
  95. generator = GPT2Generator()
  96. File "/content/gdrive/My Drive/AIDungeon/generator/gpt2/gpt2_generator.py", line 45, in __init__
  97. saver.restore(self.sess, ckpt)
  98. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1306, in restore
  99. err, "a Variable name or other graph key that is missing")
  100. tensorflow.python.framework.errors_impl.NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
  101.  
  102. 2 root error(s) found.
  103. (0) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  104. [[node save/RestoreV2 (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  105. [[save/RestoreV2/_301]]
  106. (1) Not found: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
  107. [[node save/RestoreV2 (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  108. 0 successful operations.
  109. 0 derived errors ignored.
  110.  
  111. Original stack trace for 'save/RestoreV2':
  112. File "play.py", line 403, in <module>
  113. play_aidungeon_2()
  114. File "play.py", line 126, in play_aidungeon_2
  115. generator = GPT2Generator()
  116. File "/content/gdrive/My Drive/AIDungeon/generator/gpt2/gpt2_generator.py", line 43, in __init__
  117. saver = tf.train.Saver()
  118. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 828, in __init__
  119. self.build()
  120. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 840, in build
  121. self._build(self._filename, build_save=True, build_restore=True)
  122. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 878, in _build
  123. build_restore=build_restore)
  124. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 508, in _build_internal
  125. restore_sequentially, reshape)
  126. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 328, in _AddRestoreOps
  127. restore_sequentially)
  128. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 575, in bulk_restore
  129. return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  130. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1696, in restore_v2
  131. name=name)
  132. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
  133. op_def=op_def)
  134. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
  135. return func(*args, **kwargs)
  136. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
  137. attrs, op_def, compute_device)
  138. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
  139. op_def=op_def)
  140. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
  141. self._traceback = tf_stack.extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement