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

Update pytorch-ssd.md #780

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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