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.Repo() has an error #138

Closed
panzuwang opened this issue Mar 16, 2023 · 4 comments
Closed

git.Repo() has an error #138

panzuwang opened this issue Mar 16, 2023 · 4 comments

Comments

@panzuwang
Copy link

在logger.py文件中,第46行
image
会有以下错误
image
当我把这两行注释掉后代码就能正常运行了。
不知道是什么原因,希望能够得到您的帮助,谢谢!

@hkchengrex
Copy link
Owner

You need to clone the repo (git clone). It is fine just to comment it out though.

@panzuwang
Copy link
Author

谢谢您的回复,我还有一个问题,如果我想在在一台3090gpu上运行您的多GPU训练文件train.py,除了改batch-size外不做其他修改通过以下命令运行:CUDA_VISIBLE_DEVICES=0 OMP_NUM_THREADS=4 python -m torch.distributed.launch --nproc_per_node=1 train.py --id retrain_s0 --stage 0 这是否有什么问题?期待您的回复,谢谢!

@hkchengrex
Copy link
Owner

It should be fine.

@panzuwang
Copy link
Author

我明白了,谢谢您的解答!

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