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

list index out of range #16

Open
ariharasudhanm opened this issue Aug 30, 2021 · 2 comments
Open

list index out of range #16

ariharasudhanm opened this issue Aug 30, 2021 · 2 comments

Comments

@ariharasudhanm
Copy link

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

@ksmdnl
Copy link

ksmdnl commented Jan 9, 2022

The input size after the preprocessing that you feed into the network has to have a fix size, 512x512 or 300x300 in the case of SSD300

@Eldad27
Copy link

Eldad27 commented Jul 5, 2022

@ariharasudhanm @midasklr Did you manage to solve this problem? If yes, can you kindly share?

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

3 participants