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

git.exc.InvalidGitRepositoryError when running train.py #3

Closed
xwhkkk opened this issue Mar 5, 2022 · 2 comments
Closed

git.exc.InvalidGitRepositoryError when running train.py #3

xwhkkk opened this issue Mar 5, 2022 · 2 comments

Comments

@xwhkkk
Copy link

xwhkkk commented Mar 5, 2022

Hello! I followed the instruction of the training command, but it has thrown an error about GitRepositoryError.
gitError
I used command : CUDA_VISIBLE_DEVICES=0,1 OMP_NUM_THREADS=4 python -m torch.distributed.launch --master_port 1842 --nproc_per_node=2 train.py --id s2m --load_deeplab ./deeplab_resnet50/best_deeplabv3plus_resnet50_voc_os16.pth, and I have 2 GPUs.
Could you give me some suggestions?

@hkchengrex
Copy link
Owner

Is the code in the valid git repository?

@xwhkkk
Copy link
Author

xwhkkk commented Mar 6, 2022

Thanks for your reply! I have solved this problem using git clone to download this repository.

@xwhkkk xwhkkk closed this as completed Mar 6, 2022
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