Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

parser add argument config #5

Open
abhinaysundar opened this issue Apr 8, 2021 · 0 comments
Open

parser add argument config #5

abhinaysundar opened this issue Apr 8, 2021 · 0 comments

Comments

@abhinaysundar
Copy link

abhinaysundar commented Apr 8, 2021

Dear Kaylode,

After downloading all modules necessary in the program in anaconda prompt, i tried to run the program in spyder ide, executed train.py on first and all other program, i got the error like this

usage: train.py [-h] [--resume RESUME] config
train.py: error: the following arguments are required: config
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

after taking %tb i got errors...

Traceback (most recent call last):

File "C:\Users\DELL\Desktop\image-inpainting\train.py", line 17, in
args = parser.parse_args()

File "C:\Anaconda\envs\test\lib\argparse.py", line 1768, in parse_args
args, argv = self.parse_known_args(args, namespace)

File "C:\Anaconda\envs\test\lib\argparse.py", line 1800, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)

File "C:\Anaconda\envs\test\lib\argparse.py", line 2034, in parse_known_args
self.error(
('the following arguments are required: %s') %

File "C:\Anaconda\envs\test\lib\argparse.py", line 2521, in error
self.exit(2, _('%(prog)s: error: %(message)s\n') % args)

File "C:\Anaconda\envs\test\lib\argparse.py", line 2508, in exit
_sys.exit(status)

SystemExit: 2

I think the errors come in arg parse or config(line 17 in train.py), can you please help me in solving this issue...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant