pytorch-CycleGAN-and-pix2pix icon indicating copy to clipboard operation
pytorch-CycleGAN-and-pix2pix copied to clipboard

About 1D input and output

Open lanzhoushaobing opened this issue 3 years ago • 3 comments

Hello, let me ask, how to change the input to one-dimensional data, and then the output is also one-dimensional data? Is this feasible? I am a novice.Help me , please.

lanzhoushaobing avatar Nov 23 '21 16:11 lanzhoushaobing

If your data is already grayscale. Just add following parameters when you run train.py.
--input_nc 1 --output_nc 1

ne1114 avatar Nov 26 '21 05:11 ne1114

If you set --input_nc 1 --output_nc 1, it will require a single-channel image as input. For 1D data, you probably need to implement your own data loader, generator, and discriminator.

junyanz avatar Dec 02 '21 20:12 junyanz

Hello, have you realized 1d cyclegan?

yuninn avatar Nov 16 '23 23:11 yuninn