matlab-deep-learning / pix2pix

Image to Image Translation Using Generative Adversarial Networks
Other
30 stars 12 forks source link

I want to remove the last tanh() layer in generator #27

Open F2024S opened 6 months ago

F2024S commented 6 months ago

Hello. I am using the pix2pix Matlab code for another task in which the input data is not an image but a matrix. I want to remove the last tanh() layer in the generator. In other words, different from the original pix2pix which processes the images with pixel values ranging from 0 to 255 in imaging processing, the actual true values of my matrix should be generated through generator by removing the last nonlinear tanh() activation layer in the network. which part of the code should I change for this purpose?