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 #34

Open
Otoliths opened this issue Nov 9, 2023 · 0 comments
Open

git.exc.InvalidGitRepositoryError #34

Otoliths opened this issue Nov 9, 2023 · 0 comments

Comments

@Otoliths
Copy link

Otoliths commented Nov 9, 2023

Hi, @ankitdhall
how to fix the bug?

python network/ethec_experiments.py --experiment_name exp_test --experiment_dir exp --image_dir ETHEC_dataset_v0.1/ETHEC_dataset/IMAGO_build_test_resized/ --n_epochs 1 --model resnet18 --loss multi_level --set_mode train
PyTorch Version: 2.1.0+cpu
Torchvision Version: 0.16.0+cpu
Traceback (most recent call last):
File "network/ethec_experiments.py", line 466, in
ETHEC_train_model(args)
File "network/ethec_experiments.py", line 247, in ETHEC_train_model
repo = git.Repo(search_parent_directories=True)
File "C:\Users\omnisky.conda\envs\learning_embeddings\lib\site-packages\git\repo\base.py", line 267, in init
raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: E:\learning_embeddings

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

1 participant