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

Can't run the test code #49

Open
hellowangfeng opened this issue Aug 23, 2018 · 5 comments
Open

Can't run the test code #49

hellowangfeng opened this issue Aug 23, 2018 · 5 comments

Comments

@hellowangfeng
Copy link

when I finished BEGAN training with my own dataset, I get the following error when I run the test code as follows: python main.py --dataset=my_dataset --load_path=my_dataset_0824_004250 --use_gpu=True --is_train=False --split valid
the error is :
ValueError: Cannot feed value of shape (32, 64) for Tensor 'random_uniform:0', which has shape '(64, 64)'
so anyone meets the same error? how to use BEGAN to generate fake images?

@AlexRoidl
Copy link

hey, I have the exact same issue!

@Aneekdas
Copy link

Aneekdas commented Nov 1, 2018

I have the same error as well. Any solutions?

@9icesk
Copy link

9icesk commented Jan 17, 2019

@hellowangfeng @AlexRoidl @Aneekdas
delete line 293 in trainer.py and it works
z = np.stack([slerp(ratio, r1, r2) for r1, r2 in zip(z1, z2)])
It makes z ==z1, only half of the batch_size
But I don't know whether it will influence the result

@ivanlen
Copy link

ivanlen commented Jan 28, 2019

I am having the same problem.

@EASY-EAI
Copy link

I have the same error as well. Any solutions? @carpedm20

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

6 participants