I am implementing cycle gans .https://github.com/arnab39/cycleGAN-PyTorch.
I have changed the code according to my custom dataset which are dicom images. After extracting the image patches and loading into the network .
I get the above mentioned error. I assume this is because input channels for RGB are 3.
The size of my patches are torch.Size([112, 64, 64, 64]).
Can anyone explain how can I modify for my image dataset.
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[5, 64, 70, 70] to have 3 channels, but got 64 channels instead
Process finished with exit code 1