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

Problems with gray images #24

Closed
jiao0805 opened this issue Mar 21, 2017 · 2 comments
Closed

Problems with gray images #24

jiao0805 opened this issue Mar 21, 2017 · 2 comments

Comments

@jiao0805
Copy link

Hi Mr.Marvin Teichmann
I found this in the usage that:
The images is a tensor with shape [None, h, w, 3]. Where h and w can have arbitrary size.

My training data is gray images with no rgb channels.
Can I still use this code and vgg to train them?

@MarvinTeichmann
Copy link
Owner

Yes, you can. Make sure that you load or convert the image as 3 channel tensor, e.g. by calling scipy.misc.imread(image_file, mode='RGB'). The input producer of KittiSeg works out of the box with this code for greyscale images.

@jiao0805
Copy link
Author

Thanks a lot for your help! ^-^

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