You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some question about "--load_size" and "--old_size" which are in the "base_options.py":
parser.add_argument('--old_size', type=int, default=(256,256), help='Scale images to this size. The final image will be cropped to --
crop_size.')
parser.add_argument('--load_size', type=int, default=1024, help='Scale images to this size. The final image will be cropped to --
crop_size.')
What's the difference between the two? What do they mean?At first,I think the “--load_size" is used to reize the input_image. Because I have found the "--load_size" in "base_dataset.py"
But the input_image's size should be 256256, not the load_size =10241024. So i feel confused. Could you please answer my question?And tell me the correct meaning of ”--load_size" and "--old_size" ?
Thanks for your reading, best wishes
The text was updated successfully, but these errors were encountered:
I have some question about "--load_size" and "--old_size" which are in the "base_options.py":
parser.add_argument('--old_size', type=int, default=(256,256), help='Scale images to this size. The final image will be cropped to --
crop_size.')
parser.add_argument('--load_size', type=int, default=1024, help='Scale images to this size. The final image will be cropped to --
crop_size.')
What's the difference between the two? What do they mean?At first,I think the “--load_size" is used to reize the input_image. Because I have found the "--load_size" in "base_dataset.py"
if isinstance(opt.load_size, int):
self.load_size = (opt.load_size, opt.load_size)
P1_img = F.resize(P1_img, self.load_size)
P2_img = F.resize(P2_img, self.load_size)
But the input_image's size should be 256256, not the load_size =10241024. So i feel confused. Could you please answer my question?And tell me the correct meaning of ”--load_size" and "--old_size" ?
Thanks for your reading, best wishes
The text was updated successfully, but these errors were encountered: