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

Error in distributed training/testing #3820

Open
zhuxuanya opened this issue Nov 25, 2024 · 0 comments
Open

Error in distributed training/testing #3820

zhuxuanya opened this issue Nov 25, 2024 · 0 comments

Comments

@zhuxuanya
Copy link

When you follow the instructions to conduct distributed training, no matter on multiple GPUs and multiple machines, for example,

CUDA_VISIBLE_DEVICES=0,1,2,3 PORT=29500 sh tools/dist_train.sh ${CONFIG_FILE} 4
CUDA_VISIBLE_DEVICES=4,5,6,7 PORT=29501 sh tools/dist_train.sh ${CONFIG_FILE} 4

if you meet following error,

tools/dist_train.sh: 8: Bad substitution

changing sh to bash will solve everything.

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

No branches or pull requests

1 participant