Skip to content

list index out of range #16

@ariharasudhanm

Description

@ariharasudhanm

I have another question should I need to resize all the images to 512?
After following all the steps for custom training I am getting this error. Could you please help me to resolve this issue?

Traceback (most recent call last):
File "train.py", line 285, in
train()
File "train.py", line 90, in train
parser.error('Must specify dataset if specifying dataset_root')
File "/usr/lib/python3.8/argparse.py", line 2531, in error
self.print_usage(_sys.stderr)
File "/usr/lib/python3.8/argparse.py", line 2501, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.8/argparse.py", line 2467, in format_usage
return formatter.format_help()
File "/usr/lib/python3.8/argparse.py", line 294, in format_help
help = self._root_section.format_help()
File "/usr/lib/python3.8/argparse.py", line 225, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.8/argparse.py", line 225, in
item_help = join([func(*args) for func, args in self.items])
File "/usr/lib/python3.8/argparse.py", line 332, in _format_usage
action_usage = format(optionals + positionals, groups)
File "/usr/lib/python3.8/argparse.py", line 407, in _format_actions_usage
start = actions.index(group._group_actions[0])
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions