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

train #6

Open
twsha opened this issue Mar 6, 2023 · 6 comments
Open

train #6

twsha opened this issue Mar 6, 2023 · 6 comments

Comments

@twsha
Copy link

twsha commented Mar 6, 2023

hello,i want to ask that I set multi-gpu training to single-gpu training,But report the following error:

image
and I set it like this in the source code:
image
image

@twsha
Copy link
Author

twsha commented Mar 6, 2023

How should I further set up the code to change to single gpu training

@zyxu1996
Copy link
Owner

zyxu1996 commented Mar 6, 2023

Try this

@zyxu1996
Copy link
Owner

zyxu1996 commented Mar 6, 2023

CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --nproc_per_node=1 --master_port 29506 train.py

@twsha
Copy link
Author

twsha commented Mar 6, 2023

I train directly through the train file,find that it can't read dateset,
can you tell me that below the annotaions file The train.txt under the annotations file have content?
thank you so much!

image

@zyxu1996
Copy link
Owner

zyxu1996 commented Mar 6, 2023

捕获

@twsha
Copy link
Author

twsha commented Mar 7, 2023

thanks

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

2 participants