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

error: the following arguments are required: imgs #57

Open
809978111 opened this issue Sep 21, 2017 · 4 comments
Open

error: the following arguments are required: imgs #57

809978111 opened this issue Sep 21, 2017 · 4 comments

Comments

@809978111
Copy link

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
Copy link

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

@809978111
Copy link
Author

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

@liu1475341362
Copy link

liu1475341362 commented Mar 20, 2018

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
Copy link

there are some wrong in original code

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

4 participants