-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
ValueError: Tried to convert 't' to a tensor and failed. #4655
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
Here are the changes (updated the post too): |
What's your |
I tried multiple batch sizes [2, 4, 8, 16] but I usually keep it at 2. Didn't work for either of them. |
No idea if your model or data is the problem but you could try validating your TFRecord file to eliminate that possibility: https://gist.github.com/ed-alertedh/9f49bfc6216585f520c7c7723d20d951 |
same error for me also |
Getting the same error here. I was able to replicate the error while using the pets_examples.record, so the issue is probably not with the record file. |
Hi There, |
@harshilpatel312 we are checking to see if you still need help on this issue ? Could you please have a look on the link1 , link2 and let us know if it helps? Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
Describe the problem
Not able to train the model. It gives a 'ValueError' as shown below.
Things I tried:
I found out a solution from #3705 which doesn't work for me. Ran
python setup.py build
andpython setup.py install
from the 'models/research/' directory too. Still doesn't work.I commented out Line 169 (+added random print statements), built and installed setup.py, and ran the 'train.py' command again, and it still shows the traceback as show below (notice that it still calls Line 169). I think the problem is it doesn't apply the changes I make to the 'utils/learning_schedules.py' file. Can someone tell me how to apply these changes or if possible, the solution to this entire problem?
Traceback
The text was updated successfully, but these errors were encountered: