Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Issue!! Please help #567

Closed
pankaj251003 opened this issue Sep 21, 2022 · 2 comments
Closed

Training Issue!! Please help #567

pankaj251003 opened this issue Sep 21, 2022 · 2 comments

Comments

@pankaj251003
Copy link

pankaj251003 commented Sep 21, 2022

run_metadata)

tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __inference_Dataset_map_decode_236}} Input to reshape is a tensor with 470016 values, but the requested shape has 156672
[[{{node Reshape_1}}]]
[[graph_input_node/train_IteratorGetNext_1]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "train_lanenet_tusimple.py", line 40, in
train_model()
File "train_lanenet_tusimple.py", line 32, in train_model
worker.train()
File "C:\Users\admin\Documents\lanenet-lane-detection-master\lanenet-lane-detection-master\lanenet-lane-detection-master\tools\trainner\tusimple_lanenet_multi_gpu_trainner.py", line 409, in train
train_step_instance_loss, global_step_val = self._sess.run(fetches=[self._train_op, self._miou_update_op, self._write_summary_op_with_miou,self._loss, self._binary_loss, self._instance_loss,self._global_step]
File "C:\Users\admin.conda\envs\Lanenet\lib\site-packages\tensorflow_core\python\client\session.py", line 956, in run
run_metadata_ptr)
File "C:\Users\admin.conda\envs\Lanenet\lib\site-packages\tensorflow_core\python\client\session.py", line 1180, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\admin.conda\envs\Lanenet\lib\site-packages\tensorflow_core\python\client\session.py", line 1359, in _do_run
run_metadata)
File "C:\Users\admin.conda\envs\Lanenet\lib\site-packages\tensorflow_core\python\client\session.py", line 1384, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 470016 values, but the requested shape has 156672
[[{{node Reshape_1}}]]
[[graph_input_node/train_IteratorGetNext_1]]

I have checked input image dimension of all the three folder has 1280x720....please help

@pankaj251003
Copy link
Author

Solved

@yousef-sbeih
Copy link

156672

can you explain how did you solve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants