Skip to content

Update pytorch-ssd.md - #780

Open
MohammadRobot wants to merge 1 commit into
dusty-nv:masterfrom
MohammadRobot:patch-2
Open

Update pytorch-ssd.md#780
MohammadRobot wants to merge 1 commit into
dusty-nv:masterfrom
MohammadRobot:patch-2

Conversation

@MohammadRobot

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown
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
Copy Markdown
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