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

train.py: error: unrecognized arguments: --multi-gpu 2 #929

Closed
HuangQinJian opened this issue Mar 5, 2019 · 1 comment
Closed

train.py: error: unrecognized arguments: --multi-gpu 2 #929

HuangQinJian opened this issue Mar 5, 2019 · 1 comment

Comments

@HuangQinJian
Copy link

I use
python keras_retinanet/bin/train.py csv keras_retinanet/CSV/annotations.csv keras_retinanet/CSV/classes.csv --multi-gpu 2

Then error arose:
train.py: error: unrecognized arguments: --multi-gpu 2

@hgaiser
Copy link
Contributor

hgaiser commented Mar 5, 2019

Every argument after csv is handled by the csv argument parser, --multi-gpu needs to be passed before csv. Also, multi-gpu training in Keras is a bit sketchy in my opinion, use it at your own risk ;)

@hgaiser hgaiser closed this as completed Mar 5, 2019
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

2 participants