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

Extremely bad results and recurring exception #187

Open
tombenj opened this issue Aug 12, 2018 · 2 comments
Open

Extremely bad results and recurring exception #187

tombenj opened this issue Aug 12, 2018 · 2 comments

Comments

@tombenj
Copy link

tombenj commented Aug 12, 2018

Results on the pre-trained data are turning really awful:
car-road_green

And the recurring exception that everyone seems to get over and over again is:
InvalidArgumentError (see above for traceback): Number of ways to split should evenly divide the split dimension, but got split_dim 3 (size = 4) and num_split 3

@MarvinTeichmann is anyone able to help?

@athityakumar
Copy link

Hey all.

The above exception is being caused due to the presence of alpha channel in the input image, which can be removed by specifying this:

# Existing line in demo.py
image = scp.misc.imread(input_image)

# Add this line next to it
image = image[:,:,:3]

@athityakumar
Copy link

I even tried increasing the brightness as discussed in #129 , but that doesn't seem to work. Is there any way the input image needs to be pre-processed/transformed that can improve the results for road detection?

Ping @MarvinTeichmann

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