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

Criterion problem #11

Open
chihhuiho opened this issue Aug 24, 2018 · 2 comments
Open

Criterion problem #11

chihhuiho opened this issue Aug 24, 2018 · 2 comments

Comments

@chihhuiho
Copy link

Thanks for sharing the code. I have a question about the line 25 in adapt.py (criterion = nn.CrossEntropyLoss() ). Since nn.LogSoftmax() is added in discriminator.py (line 21). Is it correct to use CrossEntropyLoss as criterion ? Or maybe I miss something? Thanks in advance.

@jinfengr
Copy link

The same question here, I also tried NLLLoss()

@TuGang-Git
Copy link

The same question here, I also tried NLLLoss()

How was the result?

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

3 participants