-
Notifications
You must be signed in to change notification settings - Fork 41
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 #15
Comments
@asialulu under which folder did you run this command? Looks like the directory where you ran the script is not inside a git folder. |
Sorry, I should tell you I run the The problem is follow: |
@asialulu it works fine for me. How did you download this repo? Did you do |
Thank you very much. I can do it when I run git status. |
Hi, Chen! I'm interested in your work. However,when I run train.py, the problem occured:
File "train.py", line 255, in <module> main(sys_args) File "train.py", line 79, in main repo = git.Repo(search_parent_directories=True) File "/home/hj/anaconda3/envs/graph/lib/python3.6/site-packages/git/repo/base.py", line 220, in __init__ self.working_dir = self._working_tree_dir or self.common_dir # type: Optional[PathLike] File "/home/hj/anaconda3/envs/graph/lib/python3.6/site-packages/git/repo/base.py", line 303, in common_dir raise InvalidGitRepositoryError() git.exc.InvalidGitRepositoryError
Do you know how to solve it?
Thank you very much!
The text was updated successfully, but these errors were encountered: