Skip to content

Conversation

@MohammadRobot
Copy link

update the following arguments:-
--epochs ==> --num-epochs
--workers ==> --num-workers

update the following arguments:-
`--epochs`  ==> `--num-epochs`
`--workers` ==> `--num-workers`
@dusty-nv
Copy link
Owner

Hi @MohammadRobot , the train_ssd.py script had previously been updated to accept --epochs and --workers. This is so it is consistent with the classification/train.py script and classification documentation.

@MohammadRobot
Copy link
Author

Hi @dusty-nv, I got this error "train_ssd.py: error: unrecognized arguments: --epochs=30" when I run the following script:
$ python3 train_ssd.py --data=data/fruit --model-dir=models/fruit --batch-size=4 --epochs=30

The following script run without any issue:
$ python3 train_ssd.py --data=data/fruit --model-dir=models/fruit --batch-size=4 --num-epochs=30

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

Successfully merging this pull request may close these issues.

2 participants