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

Facing a problem with data_root #4

Open
APratham opened this issue Jan 2, 2020 · 5 comments
Open

Facing a problem with data_root #4

APratham opened this issue Jan 2, 2020 · 5 comments

Comments

@APratham
Copy link

APratham commented Jan 2, 2020

I am facing a problem with the -data_root argument. I wanted to know what exactly is expected over there?

Here is the command that I ran in the command prompt
python ./downloader.py -data_root f:\imagenet -number_of_classes 100

File "./downloader.py", line 35
  logging.error(f'folder {args.data_root} does not exist! please provide existing folder in -data_root arg!')
                                                                                                           ^
SyntaxError: invalid syntax

I thought it was a problem with how I wrote the syntax so I wrote the command without any arguments so it can take default values. I still got the same error

python ./downloader.py

@dusedragos
Copy link

it expects an existing folder

@Walid-Ahmed
Copy link

me too have the same error

@symanteve
Copy link

You probably not using python3.

@Hassan313
Copy link

Same for me..

@Chander-Shekhar
Copy link

I had the same issue. In my case, it occurred due to different python versions.
Change python to python3 in the readme command.

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

6 participants