-
Notifications
You must be signed in to change notification settings - Fork 463
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
feat: ✨ PyTorch Recognition Model Multi-GPU support #1164
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1164 +/- ##
=======================================
Coverage 95.01% 95.01%
=======================================
Files 150 150
Lines 6418 6418
=======================================
Hits 6098 6098
Misses 320 320
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Hi @odulcy-mindee thanks for the PR 👍 |
@felixdittrich92 Hello! Yep, I'll update the README first and if possible detection task ! |
Fix #1146
Highly inspired from:
How to use this script
wget https://github.com/mindee/doctr/releases/download/v0.3.1/toy_recogition_set-036a4d80.zip sudo apt-get update && sudo apt-get install unzip -y unzip toy_recogition_set-036a4d80.zip -d reco_set python references/recognition/train_pytorch_ddp.py crnn_mobilenet_v3_small --train_path ./reco_set --val_path ./reco_set -b 2 --epochs 10 --devices 0 1
How to retrieve device id
Update 28/03/23
We created a Dataset to verify if
train_pytorch_ddp.py
is correct. Training has been launched today on two GPUs, we'll see if the modifications are correct. Hopefully, this PR will be merged tomorrow if there is no issue.