Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the 'loss.step()' in Trainer.train(), trainer.py #1

Open
Vast-Stars opened this issue Apr 24, 2019 · 1 comment
Open

About the 'loss.step()' in Trainer.train(), trainer.py #1

Vast-Stars opened this issue Apr 24, 2019 · 1 comment

Comments

@Vast-Stars
Copy link

# in code/trainer.py
def train(self):
        self.scheduler.step()
        self.loss.step()

Is the loss.step() only available for those loss functions that contain parameters update operating such as the loss of GAN?

@yulunzhang
Copy link
Owner

Hi,
Sorry for my late reply. I'm not quite understand your problem. You can send me emails with more details. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants