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
Hello!
I caught the error when I try to learn RandLA on our dataset.
First, i prepared txt files based on our ply files.
Next, I generate PLY files based on TXT files.
This is OK. I tried to open the result PLY files in CloudCompare and there are no errors.
Next, I setup classnames based on our labels.
I run learning and this write EPOCH 0, and running, after that I saw this error:
`File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1292, in _do_call [60/120]
return fn(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1277, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1367, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,?,3], [?,?,3], [?,?,3], [?,?,3], [?,?,3], ..., , [?,?,6], [?,?], [?,?], [?,?]], output_types=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_INT
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 160, in train
_, _, summary, l_out, probs, labels, acc = self.sess.run(ops, {self.is_training: True})
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1110, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1286, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1308, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,?,3], [?,?,3], [?,?,3], [?,?,3], [?,?,3], ..., , [?,?,6], [?,?], [?,?], [?,?]], output_types=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_INT
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'IteratorGetNext', defined at:
File "main_Semantic3D.py", line 348, in
dataset.init_input_pipeline()
File "main_Semantic3D.py", line 328, in init_input_pipeline
self.flat_inputs = iter.get_next()
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 420, in get_next
name=name)), self._output_types,
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 2069, in iterator_get_next
output_shapes=output_shapes, name=name)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3272, in create_op
op_def=op_def)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1768, in init
self._traceback = tf_stack.extract_stack()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1292, in _do_call
return fn(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1277, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1367, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: index 6 is out of bounds for axis 0 with size 6
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 206, in call
ret = func(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 418, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "main_Semantic3D.py", line 214, in spatially_regular_gen
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
File "main_Semantic3D.py", line 214, in
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
IndexError: index 6 is out of bounds for axis 0 with size 6
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main_Semantic3D.py", line 352, in
model.train(dataset)
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 170, in train
m_iou = self.evaluate(dataset)
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 218, in evaluate
stacked_prob, labels, acc = self.sess.run(ops, {self.is_training: False})
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1110, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1286, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1308, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: index 6 is out of bounds for axis 0 with size 6
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 206, in call
ret = func(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 418, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "main_Semantic3D.py", line 214, in spatially_regular_gen
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
File "main_Semantic3D.py", line 214, in
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
IndexError: index 6 is out of bounds for axis 0 with size 6
Hello!
I caught the error when I try to learn RandLA on our dataset.
First, i prepared txt files based on our ply files.
Next, I generate PLY files based on TXT files.
This is OK. I tried to open the result PLY files in CloudCompare and there are no errors.
Next, I setup classnames based on our labels.
I run learning and this write EPOCH 0, and running, after that I saw this error:
`File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1292, in _do_call [60/120]
return fn(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1277, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1367, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,?,3], [?,?,3], [?,?,3], [?,?,3], [?,?,3], ..., , [?,?,6], [?,?], [?,?], [?,?]], output_types=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_INT
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 160, in train
_, _, summary, l_out, probs, labels, acc = self.sess.run(ops, {self.is_training: True})
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1110, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1286, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1308, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,?,3], [?,?,3], [?,?,3], [?,?,3], [?,?,3], ..., , [?,?,6], [?,?], [?,?], [?,?]], output_types=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_INT
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'IteratorGetNext', defined at:
File "main_Semantic3D.py", line 348, in
dataset.init_input_pipeline()
File "main_Semantic3D.py", line 328, in init_input_pipeline
self.flat_inputs = iter.get_next()
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 420, in get_next
name=name)), self._output_types,
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 2069, in iterator_get_next
output_shapes=output_shapes, name=name)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3272, in create_op
op_def=op_def)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1768, in init
self._traceback = tf_stack.extract_stack()
OutOfRangeError (see above for traceback): End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,?,3], [?,?,3], [?,?,3], [?,?,3], [?,?,3], ..., , [?,?,6], [?,?], [?,?], [?,?]], output_types=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_INT
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1292, in _do_call
return fn(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1277, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1367, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: index 6 is out of bounds for axis 0 with size 6
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 206, in call
ret = func(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 418, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "main_Semantic3D.py", line 214, in spatially_regular_gen
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
File "main_Semantic3D.py", line 214, in
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
IndexError: index 6 is out of bounds for axis 0 with size 6
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"](IteratorV2)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main_Semantic3D.py", line 352, in
model.train(dataset)
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 170, in train
m_iou = self.evaluate(dataset)
File "/home/dmitriys/RandLA-Net/RandLANet.py", line 218, in evaluate
stacked_prob, labels, acc = self.sess.run(ops, {self.is_training: False})
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1110, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1286, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1308, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: index 6 is out of bounds for axis 0 with size 6
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 206, in call
ret = func(*args)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 418, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "main_Semantic3D.py", line 214, in spatially_regular_gen
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
File "main_Semantic3D.py", line 214, in
queried_pt_weight = np.array([self.class_weight[split][0][n] for n in queried_pc_labels])
IndexError: index 6 is out of bounds for axis 0 with size 6
32, DT_FLOAT, DT_INT32, DT_INT32, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"](IteratorV2)]]
`
The text was updated successfully, but these errors were encountered: