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

[Doc] Add more clearly statement of CPU training/inference #1518

Merged
merged 2 commits into from
Apr 29, 2022

Conversation

MengzhangLI
Copy link
Contributor

Motivation

Fix: #1513

Add more clearly statement of CPU training/inference, i.e., if no GPU, MMSegmentation would use CPU training/testing automatically and set CUDA_VISIBLE_DEVICES=-1 is unnecessary.

@MengzhangLI MengzhangLI self-assigned this Apr 26, 2022
docs/en/inference.md Outdated Show resolved Hide resolved
@@ -16,7 +16,8 @@ You can use the following commands to test a dataset.
# single-gpu testing
python tools/test.py ${CONFIG_FILE} ${CHECKPOINT_FILE} [--out ${RESULT_FILE}] [--eval ${EVAL_METRICS}] [--show]

# CPU: disable GPUs and run single-gpu testing script
# CPU: If GPU unavailable, directly running sing-gpu testing command above
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# CPU: If GPU unavailable, directly running sing-gpu testing command above
# CPU: If GPU unavailable, directly running single-gpu testing command above
Suggested change
# CPU: If GPU unavailable, directly running sing-gpu testing command above
# CPU: If GPU unavailable, directly running sing-gpu testing command above

@MeowZheng MeowZheng merged commit b26b8e0 into open-mmlab:master Apr 29, 2022
ZhimingNJ pushed a commit to AetrexTechnology/mmsegmentation that referenced this pull request Jun 29, 2022
…b#1518)

* [Doc] Add more clearly statement of CPU training/inference

* Update docs/en/inference.md

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
@MengzhangLI MengzhangLI deleted the doc_cpu branch July 15, 2022 03:38
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.

do this mode run on the CPU?
2 participants