bamos / dcgan-completion.tensorflow

Image Completion with Deep Learning in TensorFlow
Other
1.31k stars 388 forks source link

error: the following arguments are required: imgs #57

Open 809978111 opened 7 years ago

809978111 commented 7 years ago

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!!!!!!

zhaoying9105 commented 7 years ago

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

809978111 commented 7 years ago

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

liu1475341362 commented 6 years ago

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

Windfivefloor commented 5 years ago

there are some wrong in original code