Open 809978111 opened 7 years ago
i fix this error by change 'imgs' to ''--imgs'
请问你能成功运行吗?方便的话可以微信或者qq联系吗?我想请教你一些关于这个的问题
then ,i meet next problem ,here it's :
batch_size=min(64, len(args.imgs)), TypeError: object of type 'NoneType' has no len()
imgs should reprsente all dataset images
there are some wrong in original code
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!!!!!!