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
I try to follow the training tutorial of Transformer baseline. But there are lots of errors occured.
First of all, function _to_transition_trajectoreis in Transformer/orca/data/rlds/rlds_dataset.py return error. The dataset's format is not matched at all. So I try to match data with dataset builder's format like below.
After matching dataset's format, this error happens.
Traceback (most recent call last):
File "/media/sblee/170d6766-97d9-4917-8fc6-7d6ae84df8961/SSD2/workspaces/fmb/Transformer/orca/data/rlds/rlds_dataset.py", line 281, in
print(next(iterator).numpy())
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 814, in next
return self._next_internal()
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 777, in _next_internal
ret = gen_dataset_ops.iterator_get_next(
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 3028, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/framework/ops.py", line 6656, in raise_from_not_ok_status
raise core._status_to_exception(e) from None # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node _wrapped__IteratorGetNext_output_types_43_device/job:localhost/replica:0/task:0/device:CPU:0}} indices[1,0] = 1 is not in [0, 1)
[[{{node GatherV2_16}}]] [Op:IteratorGetNext] name:
How can I deal with this situation? I want to know that training Transformer baseline is available.
Thank you
The text was updated successfully, but these errors were encountered:
I try to follow the training tutorial of Transformer baseline. But there are lots of errors occured.
First of all, function _to_transition_trajectoreis in Transformer/orca/data/rlds/rlds_dataset.py return error. The dataset's format is not matched at all. So I try to match data with dataset builder's format like below.
After matching dataset's format, this error happens.
Traceback (most recent call last):
File "/media/sblee/170d6766-97d9-4917-8fc6-7d6ae84df8961/SSD2/workspaces/fmb/Transformer/orca/data/rlds/rlds_dataset.py", line 281, in
print(next(iterator).numpy())
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 814, in next
return self._next_internal()
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 777, in _next_internal
ret = gen_dataset_ops.iterator_get_next(
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 3028, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "/home/sblee/miniconda3/envs/fmb_transformer_ori/lib/python3.10/site-packages/tensorflow/python/framework/ops.py", line 6656, in raise_from_not_ok_status
raise core._status_to_exception(e) from None # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node _wrapped__IteratorGetNext_output_types_43_device/job:localhost/replica:0/task:0/device:CPU:0}} indices[1,0] = 1 is not in [0, 1)
[[{{node GatherV2_16}}]] [Op:IteratorGetNext] name:
How can I deal with this situation? I want to know that training Transformer baseline is available.
Thank you
The text was updated successfully, but these errors were encountered: