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

d_losses is [None] while running ./run_bgan.py --data_path datasets --dataset mnist --num_mcmc 2 --out_dir ./results/ --train_iter 75000 --save_samples --n_save 100 #17

Open
khorshidisamira opened this issue Aug 20, 2020 · 0 comments

Comments

@khorshidisamira
Copy link

Hello,
I want to run the unsupervised BGAN with MNIST dataset using this command:
./run_bgan.py --data_path datasets --dataset mnist --num_mcmc 2 --out_dir ./results/ --train_iter 75000 --save_samples --n_save 100
But I got an error:


Starting session
Starting training loop
Iter 100
[None]
Gen losses = 3.56, 5.86
saving results and samples
Traceback (most recent call last):
  File "./run_bgan.py", line 296, in <module>
    b_dcgan(dataset, args)
  File "./run_bgan.py", line 103, in b_dcgan
    results = {"disc_losses": map(float, d_losses),
TypeError: float() argument must be a string or a number

I printed d_losses and got [None]. Any help?
Thank you

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