agrimgupta92 / sgan

Code for "Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks", Gupta et al, CVPR 2018
MIT License
810 stars 259 forks source link

Possible problem with make_mlp function #115

Open nicosacco opened 2 years ago

nicosacco commented 2 years ago

The make_mlp function appends also to the last layer batch normalization, dropout, and the activation function. This might be problematic, as the output of such function is used also to construct the classifier in the discriminator (self.real_classifier = make_mlp(...)). This might lead to have a final classifier which output is batch normalized and squashed using a (leaky)relu. Is this a desired behaviour?