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 change 'resize' resolution? #271

Open
zuozhen opened this issue May 20, 2021 · 0 comments
Open

how to change 'resize' resolution? #271

zuozhen opened this issue May 20, 2021 · 0 comments

Comments

@zuozhen
Copy link

zuozhen commented May 20, 2021

I read the code and I got the training run successfully. But after searching the project I did not find where to config param of "resize the image" (e.g. I'd like resize image to 800 x 800, for a better-performance model), please give help if anyone knows, thanks very much.

By the way, I have two other questions:

  1. Line 161 of style.py says that "save_img(preds_path, img)", but the param "img" is not defined, how could that work without error?
  2. Line 14 of "src/utils.py" says that "style_target = _get_img(style_path, img_size=new_shape)". There is no "_get_img" method defined, and even without import it. Why no error occur when running this?

Thanks.

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