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

Why the train_h and val_h is different? #26

Open
zhaozhongch opened this issue May 30, 2020 · 0 comments
Open

Why the train_h and val_h is different? #26

zhaozhongch opened this issue May 30, 2020 · 0 comments

Comments

@zhaozhongch
Copy link

Just confused in CamVid.py, it has the following code

h, w      = 720, 960
train_h   = int(h * 2 / 3)  # 480
train_w   = int(w * 2 / 3)  # 640
val_h     = int(h/32) * 32  # 704
val_w     = w               # 960

Why the training height and validation height has a different size and both of them are different from the original image size? What's the magic to make the network output image has a pixel to pixel corresponding to the 720*960 image?

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

1 participant