-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use paddleocr in GPU #29
Comments
Issue Response
To use GPU in PaddleOCR, you need to set the parameter paddleocr --image_dir ./imgs_en/img_12.jpg --use_angle_cls true --lang en --use_gpu true If you have set the Relevant Sources
How to use
|
@llm-issue-bot 如何查看我的GPU显存占用情况? |
Thanks for mentioning me! The answer to your question is: 要查看GPU显存占用情况,可以使用Nvidia的命令行工具nvidia-smi。该工具可以提供有关GPU的详细信息,包括显存使用情况。要查看显存占用情况,只需在终端中运行以下命令:
该命令将显示当前系统中所有GPU的信息,包括显存使用情况。您可以查看每个GPU的显存使用量以及总的显存使用情况。 Relevant Sources:https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/test_tipc/docs/benchmark_train.md How to use
|
@llm-issue-bot My GPU's memory is small, how can I save memory when I train my model? |
Thanks for mentioning me! The answer to your question is: To save memory when training your model with a small GPU memory, you can consider reducing the batch size. Additionally, you can try adjusting the learning rate. For example, when training with multiple GPUs, the learning rate can be multiplied by a certain factor. These approaches can help optimize memory usage while still achieving satisfactory accuracy. Relevant Sources:https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/ppstructure/layout/README.md, https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_en/distributed_training_en.md, https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_en/finetune_en.md How to use
|
我们提供了issue bot来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide issue bot to solve issues, do you want it? (Please write yes/no):yes
请在这里描述你的问题/Please describe your issue here:
How to use GPU in paddleocr? I have set the flag use_gpu = True in paddle ocr, and still it's using cpu. How can we make this right?
The text was updated successfully, but these errors were encountered: