BEGAN-tensorflow icon indicating copy to clipboard operation
BEGAN-tensorflow copied to clipboard

Can't run the test code

Open hellowangfeng opened this issue 6 years ago • 5 comments

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?

hellowangfeng avatar Aug 23 '18 17:08 hellowangfeng

hey, I have the exact same issue!

AlexRoidl avatar Aug 30 '18 21:08 AlexRoidl

I have the same error as well. Any solutions?

Aneekdas avatar Nov 01 '18 18:11 Aneekdas

@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

9icesk avatar Jan 17 '19 08:01 9icesk

I am having the same problem.

ivanlen avatar Jan 28 '19 00:01 ivanlen

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

EASY-EAI avatar May 21 '19 13:05 EASY-EAI