Skip to content

git.exc.InvalidGitRepositoryError #15

@asialulu

Description

@asialulu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions