dcgan-completion.tensorflow icon indicating copy to clipboard operation
dcgan-completion.tensorflow copied to clipboard

error: the following arguments are required: imgs

Open 809978111 opened this issue 8 years ago • 4 comments

usage: complete.py [-h] [--approach {adam,hmc}] [--lr LR] [--beta1 BETA1] [--beta2 BETA2] [--eps EPS] [--hmcBeta HMCBETA] [--hmcEps HMCEPS] [--hmcL HMCL] [--hmcAnneal HMCANNEAL] [--nIter NITER] [--imgSize IMGSIZE] [--lam LAM] [--checkpointDir CHECKPOINTDIR] [--outDir OUTDIR] [--outInterval OUTINTERVAL] [--maskType {random,center,left,full,grid,lowres}] [--centerScale CENTERSCALE] imgs [imgs ...] I am a college student, want to learn the knowledge, encountered such a problem when the program runs, hope you can help me, thank you very much!!!!!!

809978111 avatar Sep 21 '17 13:09 809978111

i fix this error by change 'imgs' to ''--imgs'

zhaoying9105 avatar Sep 24 '17 02:09 zhaoying9105

请问你能成功运行吗?方便的话可以微信或者qq联系吗?我想请教你一些关于这个的问题

809978111 avatar Oct 19 '17 13:10 809978111

i fix this error by change 'imgs' to ''--imgs'

then ,i meet next problem ,here it's :

batch_size=min(64, len(args.imgs)), TypeError: object of type 'NoneType' has no len()


emmm... i just delete len(args.imgs and it become : batch_size=64,

imgs should reprsente all dataset images

liu1475341362 avatar Mar 20 '18 02:03 liu1475341362

there are some wrong in original code

Windfivefloor avatar Nov 26 '18 08:11 Windfivefloor