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

Can I train the net with images without resizing? #18

Closed
abc8350712 opened this issue Apr 4, 2017 · 3 comments
Closed

Can I train the net with images without resizing? #18

abc8350712 opened this issue Apr 4, 2017 · 3 comments
Labels

Comments

@abc8350712
Copy link

Can I use images with different size to train the FCN?

@shekkizh
Copy link
Owner

shekkizh commented Apr 5, 2017

AFAIK tensorflow still doesn't support variable image size batches.
Some of the hacks you can do to solve the problem is zero pad all images to a constant size or take constant sized patches of the input image and train.

@hanyangii
Copy link

In this code, if I change resize value of image options to 'True', can it be trained without resizing?

@shekkizh
Copy link
Owner

@hanyangii To train images without resizing set resize to False. Note that tensorflow doesn't support variable image size batches. So the code works only if the images are of same size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants