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

Example Run from README leads to infinite loss error after a few iterations #4

Open
bgenchel opened this issue Feb 28, 2018 · 0 comments

Comments

@bgenchel
Copy link

Having checked my GPU setup and gotten the code to download the dataset and run, I get this

[0/100][0/733] Loss_D: 1.38686203956604 Loss_G: 1.3840898275375366
[0/100][1/733] Loss_D: 1.385105848312378 Loss_G: 1.3885846138000488
[0/100][2/733] Loss_D: 1.3828593492507935 Loss_G: 1.387503981590271
[0/100][3/733] Loss_D: 1.3838441371917725 Loss_G: 1.3841853141784668
[0/100][4/733] Loss_D: 1.6616134643554688 Loss_G: 1.4784884452819824
[0/100][5/733] Loss_D: 18.7115478515625 Loss_G: 14.966793060302734
Traceback (most recent call last):
File "main.py", line 328, in <module>
# call train/test routines
File "main.py", line 254, in train
D_loss = compute_loss(batch_size, d_loss=True)
File "main.py", line 170, in compute_loss
loss = torch.mean(softplus(-data_preds) + softplus(sample_preds))
RuntimeError: value cannot be converted to type double without overflow: inf

This is running the example cli command given in the README

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

1 participant