-
Notifications
You must be signed in to change notification settings - Fork 43
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
train error #4
Comments
Are you using your own custom dataset? Looks like the image you are using has only one channel which means black & white. If that is true, please make it to have 3 channels. |
Hi thank you . i changed the channels to one previously changing it back to 3 worked. I'm training with your data. Now i get the following error |
I am wondering where "reshape" is happening? |
F:/bp/computer_vision/yolo_train/data/yolo_custom.cfg parsing F:/bp/computer_vision/yolo_train/data/annotations/ File "", line 1, in File "C:\Users\hi\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile File "C:\Users\hi\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile File "F:/bp/computer_vision/yolo_train/train.py", line 26, in File "f:\bp\computer_vision\yolo_train\darkflow\darkflow\net\flow.py", line 56, in train File "C:\Users\hi\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 877, in run File "C:\Users\hi\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1100, in _run File "C:\Users\hi\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1272, in _do_run File "C:\Users\hi\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1291, in _do_call InvalidArgumentError: Input to reshape is a tensor with 1227400 values, but the requested shape requires a multiple of 10830 Caused by op 'Reshape', defined at: InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 1227400 values, but the requested shape requires a multiple of 10830 |
Looks like you have an invalid shape of image to convert to 10830 which is? |
where do i check for those values |
why dont you write codes? |
These are the values h-19, w-19, b-5, c-1 |
yeah net_out_reshape must be (?, 19, 19, 5, 6), but would it be convertible for net_out to net_out_reshape? In order to know, I need to know the shape of net_out as well. |
when i run tfnet.train()
i get the following error
ValueError: Cannot feed value of shape (8, 608, 608, 3) for Tensor 'input:0', which has shape '(?, 608, 608, 1)'
The text was updated successfully, but these errors were encountered: