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

How to test high resolution imgs? #16

Open
Feywell opened this issue Oct 27, 2020 · 4 comments
Open

How to test high resolution imgs? #16

Feywell opened this issue Oct 27, 2020 · 4 comments

Comments

@Feywell
Copy link

Feywell commented Oct 27, 2020

I want to train a matting model by my own dataset. It will be used in high resolution imgs.
Why is it not clear. How can I train my model to use in high resolution imgs.
By the way, why the img size use 640?

@Yaoyi-Li
Copy link
Owner

Yaoyi-Li commented Nov 9, 2020

The image size is not set to be 640 and I think there is no limitation on the training image size. You can upload the error information you encountered.

@Feywell
Copy link
Author

Feywell commented Nov 12, 2020

Sorry. I mean,How to train a model for high resolution imgs. I want to use model for 2k resolution imgs

@Yaoyi-Li
Copy link
Owner

If you want to train on 2k images without any croping or resizing, it is a little difficult. In the training phase each 2k image may require more than 10G GPU memory.
You can try to edit this line or codes in dataloader.

CONFIG.data.crop_size = 512

@javismiles
Copy link

@Yaoyi-Li what is your recommended size for the images resolution as input to your network during training? please give me a range that you recommend, what is in your view the ideal size of images to input to your gca training, or the one that you used or that you recommend, thank you very much :)

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

3 participants