The training process for 3D-GAN is similar to the process for the vanilla GAN. This can be seen in the following diagram:
![](/api/v2/epubs/9781789530513/files/assets/ac7d1541-e561-4162-9665-ff7d2d8e8cbb.png)
First, the discriminator network is trained to recognize the real 3D point cloud as true data and the synthesized point cloud that's generated by the generator network as fake data. BCE loss (nn.BCELoss) is used as the loss function for the discriminator network. Then, the generator network is trained by forcing the discriminator ...