junyanz / CycleGAN

Software that can generate photos from paintings, turn horses into zebras, perform style transfer, and more.
Other
12.23k stars 1.93k forks source link

Small objects in large environment #88

Open jax79sg opened 6 years ago

jax79sg commented 6 years ago

Hi,

Thanks for making this available.

I am trying out styles transfer (Normal and Night mode) for a off shore environment. The objects in focus are ships and thus quite small on each frame. I tried having equal --load_size and --fine_size so the objects are not cropped out randomly but the trained model still couldn't produce the fake ships. The fake sea and sky color looks good though. How might we improve on this?

Thanks. Regards.

junyanz commented 6 years ago

I think you may want to use a smaller fine_size.

jax79sg commented 6 years ago

Hi thanks for the reply.

Please correct me if I am wrong, is the fine size parameter meant to randomly crop the image into a number of smaller images, with fine size being the size of these cropped images? If that's so, should I set the fine size to size of the typical smallest objects in the image?

Thanks.

junyanz commented 6 years ago

Yes. fineSize is the size of cropped images. Also, see more options for resize_or_crop.

zengxiaoliang commented 4 years ago

Hi,

Thanks for making this available.

I am trying out styles transfer (Normal and Night mode) for a off shore environment. The objects in focus are ships and thus quite small on each frame. I tried having equal --load_size and --fine_size so the objects are not cropped out randomly but the trained model still couldn't produce the fake ships. The fake sea and sky color looks good though. How might we improve on this?

Thanks. Regards.

Hi, did U transfer styles success (Normal to Night)?