junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
23.09k stars 6.32k forks source link

save output as '.npy' file #1557

Closed Ivvvvvvvvvvy closed 1 year ago

Ivvvvvvvvvvy commented 1 year ago

hello, I'm using the cycleGAN model for street view image (.jpg) to mel-spectrogram (.npy, range 0 to 1) conversion.So, I created the trainA folder to store jpg, and the trainB folder to store npy files I would like to know ①If I want the output npy to have the same value range as the input npy([0,1]), what should I do?

kuhhg commented 7 months ago

hello do you know how to make the output save as the ".npy‘’ file format ?