I was looking at the new Pytorch profiler, and I am trying to learn GAN model at the same time.
Since GAN models contains two models: a Discriminator model and a Generator model.
How can I see the Pytorch profiler of the GAN model? Do I have to see the Pytorch profiler of each model alone or can I see the Pytorch profiler of the whole GAN model?
Can someone please show me how to see the Pytorch profiler of the GAN model.
The profiler would wrap the operations you would like to profile as seen in the code examples in this blog so you could profile either the models separately or the entire training iteration.
First of all thanks a lot for your answer.
Is it possible please to show me with a simple example how to use Pytorch profiler for the the entire training iteration of GAN because I did not know how to apply it for GAN, because it’s the first time I use Pytorch profiler and GAN.