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

the bug #76

Closed
crazygirl1992 opened this issue Oct 26, 2020 · 3 comments
Closed

the bug #76

crazygirl1992 opened this issue Oct 26, 2020 · 3 comments

Comments

@crazygirl1992
Copy link

hellow,i can run the test code,but,when i run the train code,this bug happened, why this happened?

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 288768 values, but the requested shape has 786432
[[val_IteratorGetNext]]

@MaybeShewill-CV
Copy link
Owner

@crazygirl1992 You must have used images with wrong image shape. Generate tfrecords first and then do the training procedure

@crazygirl1992
Copy link
Author

thank you, i have resolved this problem,and why i run the code,it use cpu nor GPU,i have the same arg setting

@MaybeShewill-CV
Copy link
Owner

@crazygirl1992 You must installed tensorflow gpu incorrectly. That's a environment relative problem and there should be nothing wrong with this code repo:)

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