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

error in train.py #30

Open
weiyuxingchen opened this issue Dec 12, 2018 · 1 comment
Open

error in train.py #30

weiyuxingchen opened this issue Dec 12, 2018 · 1 comment

Comments

@weiyuxingchen
Copy link

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 12288 values, but the requested shape has 76800
[[Node: input/Reshape = Reshape[T=DT_UINT8, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](input/DecodeRaw/_2099, input/Reshape/shape)]]
[[Node: input/per_image_standardization/_2101 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_32_input/per_image_standardization", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

@mehrazi
Copy link

mehrazi commented May 2, 2019

@weiyuxingchen your input image must be (1601603)
use cv2.resize to resize image instead of imutils.

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