Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.25 KB | None | 0 0
  1. ARNING:tensorflow:Worker c7428b79-0a28-40ed-a220-10946fd0c4af run 00001: Exception:
  2. Traceback (most recent call last):
  3. File "/homes/vl304/Documents/orthnn/planet/planet/training/running.py", line 201, in __iter__
  4. for value in self._process_fn(self._logdir, *args):
  5. File "/homes/vl304/Documents/orthnn/planet/planet/scripts/train.py", line 73, in process
  6. training.define_model, dataset, logdir, config):
  7. File "/homes/vl304/Documents/orthnn/planet/planet/training/utility.py", line 166, in train
  8. score, summary, cleanups = model_fn(data, trainer, config)
  9. File "/homes/vl304/Documents/orthnn/planet/planet/training/define_model.py", line 95, in define_model
  10. name='should_collect_' + name)
  11. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
  12. return func(*args, **kwargs)
  13. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2097, in cond
  14. orig_res_t, res_t = context_t.BuildCondBranch(true_fn)
  15. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1941, in BuildCondBranch
  16. original_result = fn()
  17. File "/homes/vl304/Documents/orthnn/planet/planet/training/utility.py", line 305, in simulate_episodes
  18. expensive_summaries, gif_summary, name=name)
  19. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 45, in simulate
  20. isolate_envs=isolate_envs)
  21. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 86, in collect_rollouts
  22. initializer, parallel_iterations=1)
  23. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/functional_ops.py", line 724, in scan
  24. maximum_iterations=n)
  25. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3556, in while_loop
  26. return_same_structure)
  27. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3087, in BuildLoop
  28. pred, body, original_loop_vars, loop_vars, shape_invariants)
  29. File "/homes/vl304/.local/lib/ARNING:tensorflow:Worker c7428b79-0a28-40ed-a220-10946fd0c4af run 00001: Exception:
  30. Traceback (most recent call last):
  31. File "/homes/vl304/Documents/orthnn/planet/planet/training/running.py", line 201, in __iter__
  32. for value in self._process_fn(self._logdir, *args):
  33. File "/homes/vl304/Documents/orthnn/planet/planet/scripts/train.py", line 73, in process
  34. training.define_model, dataset, logdir, config):
  35. File "/homes/vl304/Documents/orthnn/planet/planet/training/utility.py", line 166, in train
  36. score, summary, cleanups = model_fn(data, trainer, config)
  37. File "/homes/vl304/Documents/orthnn/planet/planet/training/define_model.py", line 95, in define_model
  38. name='should_collect_' + name)
  39. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
  40. return func(*args, **kwargs)
  41. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2097, in cond
  42. orig_res_t, res_t = context_t.BuildCondBranch(true_fn)
  43. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1941, in BuildCondBranch
  44. original_result = fn()
  45. File "/homes/vl304/Documents/orthnn/planet/planet/training/utility.py", line 305, in simulate_episodes
  46. expensive_summaries, gif_summary, name=name)
  47. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 45, in simulate
  48. isolate_envs=isolate_envs)
  49. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 86, in collect_rollouts
  50. initializer, parallel_iterations=1)
  51. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/functional_ops.py", line 724, in scan
  52. maximum_iterations=n)
  53. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3556, in while_loop
  54. return_same_structure)
  55. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3087, in BuildLoop
  56. pred, body, original_loop_vars, loop_vars, shape_invariants)
  57. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3022, in _BuildLoop
  58. body_result = body(*packed_vars_for_body)
  59. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3525, in <lambda>
  60. body = lambda i, lv: (i + 1, orig_body(*lv))
  61. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/functional_ops.py", line 703, in compute
  62. a_out = fn(packed_a, packed_elems)
  63. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 71, in simulate_fn
  64. reset=tf.equal(step, 0))
  65. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 233, in simulate_step
  66. step, score, length = _define_step()
  67. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 162, in _define_step
  68. action, step_summary = algo.perform(agent_indices, prevob)
  69. File "/homes/vl304/Documents/orthnn/planet/planet/control/mpc_agent.py", line 67, in perform
  70. _, state = self._cell((embedded, prev_action, use_obs), state)
  71. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 234, in __call__
  72. return super(RNNCell, self).__call__(inputs, state, precomputed_data=precomputed_data)
  73. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/layers/base.py", line 530, in __call__
  74. outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
  75. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/keras/engine/base_layer.py", line 554, in __call__
  76. outputs = self.call(inputs, *args, **kwargs)
  77. File "/homes/vl304/Documents/orthnn/planet/planet/models/base.py", line 60, in call
  78. prior = self._transition_tpl(prev_state, prev_action, zero_obs, transition_matrix=precomputed_data)
  79. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/template.py", line 360, in __call__
  80. return self._call_func(args, kwargs)
  81. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/template.py", line 306, in _call_func
  82. result = self._func(*args, **kwargs)
  83. File "/homes/vl304/Documents/orthnn/planet/planet/models/orssm.py", line 106, in _transition
  84. belief, rnn_state = self._cell(hidden, prev_state['rnn_state'], precomputed_data=transition_matrix)
  85. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 371, in __call__
  86. *args, **kwargs)
  87. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/layers/base.py", line 530, in __call__
  88. outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
  89. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/keras/engine/base_layer.py", line 554, in __call__
  90. outputs = self.call(inputs, *args, **kwargs)
  91. File "/homes/vl304/Documents/orthnn/planet/planet/models/cwy_cell.py", line 42, in call
  92. print('SHAPES!!!!!!!!!!!!!!!!!!', h_prev.shape, precomputed_data.shape)
  93. AttributeError: 'NoneType' object has no attribute 'shape'
  94. python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3022, in _BuildLoop
  95. body_result = body(*packed_vars_for_body)
  96. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3525, in <lambda>
  97. body = lambda i, lv: (i + 1, orig_body(*lv))
  98. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/functional_ops.py", line 703, in compute
  99. a_out = fn(packed_a, packed_elems)
  100. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 71, in simulate_fn
  101. reset=tf.equal(step, 0))
  102. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 233, in simulate_step
  103. step, score, length = _define_step()
  104. File "/homes/vl304/Documents/orthnn/planet/planet/control/simulate.py", line 162, in _define_step
  105. action, step_summary = algo.perform(agent_indices, prevob)
  106. File "/homes/vl304/Documents/orthnn/planet/planet/control/mpc_agent.py", line 67, in perform
  107. _, state = self._cell((embedded, prev_action, use_obs), state)
  108. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 234, in __call__
  109. return super(RNNCell, self).__call__(inputs, state, precomputed_data=precomputed_data)
  110. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/layers/base.py", line 530, in __call__
  111. outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
  112. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/keras/engine/base_layer.py", line 554, in __call__
  113. outputs = self.call(inputs, *args, **kwargs)
  114. File "/homes/vl304/Documents/orthnn/planet/planet/models/base.py", line 60, in call
  115. prior = self._transition_tpl(prev_state, prev_action, zero_obs, transition_matrix=precomputed_data)
  116. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/template.py", line 360, in __call__
  117. return self._call_func(args, kwargs)
  118. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/template.py", line 306, in _call_func
  119. result = self._func(*args, **kwargs)
  120. File "/homes/vl304/Documents/orthnn/planet/planet/models/orssm.py", line 106, in _transition
  121. belief, rnn_state = self._cell(hidden, prev_state['rnn_state'], precomputed_data=transition_matrix)
  122. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 371, in __call__
  123. *args, **kwargs)
  124. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/layers/base.py", line 530, in __call__
  125. outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
  126. File "/homes/vl304/.local/lib/python3.5/site-packages/tensorflow/python/keras/engine/base_layer.py", line 554, in __call__
  127. outputs = self.call(inputs, *args, **kwargs)
  128. File "/homes/vl304/Documents/orthnn/planet/planet/models/cwy_cell.py", line 42, in call
  129. print('SHAPES!!!!!!!!!!!!!!!!!!', h_prev.shape, precomputed_data.shape)
  130. AttributeError: 'NoneType' object has no attribute 'shape'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement