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

Change the image size as output #4

Open
martsalz opened this issue Feb 15, 2019 · 2 comments
Open

Change the image size as output #4

martsalz opened this issue Feb 15, 2019 · 2 comments

Comments

@martsalz
Copy link

Where can the shape of the output images be changed in the code?
The picture has a resolution of only 160x576 pixels.

@martsalz
Copy link
Author

def predict_images(test_data_path, print_speed=False):
num_classes = 2
image_shape = (557, 1618)

If the shape is changed in the main.py in the function predict_images, the following exception is thrown:

tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [1,2,36,102] vs. [1,2,35,102]

@Shaiken
Copy link

Shaiken commented Jul 8, 2019

i had sma question

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