AntixK / PyTorch-VAE

A Collection of Variational Autoencoders (VAE) in PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mistake in experiment.py file

jarvis008 opened this issue · comments

In the forward function in experiment.py file, shouldn't it be:
return self.model.forward(input, **kwargs),
instead of
return self.model(input, **kwargs)

If not, please explain why as I'm unable to understand. Thanks!

Behind the curtain, the call to model is exactly model.forward :)