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
Produce Larger Output Image #8
Comments
@kyung645 First, inference part should be under torch.no_grad(). Second, the cache should be removed every image.As a result, the last part of test.py should be like this. Then you can produce with large photo inputs modifying the --load_size option. Good luck!
|
@kyung645 The --load_size argument is missing type declaration in 'test.py' on line 13. It should read like this;
|
Thank you all @enigmanx20 @DrazHD for making the code better! |
Thank you @enigmanx20 @DrazHD. The type declaration for the argument was a quick fix and it helped produce images with at least size 1024x1024. I tried to generate 2048x2048 size after but ran into a memory problem so will be trying @enigmanx20's suggestion. By the way, NVIDIA P100 sounds nice! Is that a local setup? Thanks again! |
I test the 1024*1024 image, it takes 13G memory to run the model, is that OKay? |
I don't have a nvidia gpu, so I run it by cpu,. |
Hi,
Is it possible to produce larger output images? Currently, it seems the outputs are around 450x300. I tried adding a --load_size 1024 option but it returns with " TypeError: can't multiply sequence by non-int of type 'float' " . Would you happen to know how to generate larger images around 1024x1024? Thanks.
The text was updated successfully, but these errors were encountered: