ankitdhall / learning_embeddings

Code for CVPR-W 2020 paper "Hierarchical Image Classification using Entailment Cone Embeddings" https://arxiv.org/abs/2004.03459
https://ankitdhall.github.io/project/learning-representations-for-images-with-hierarchical-labels/
21 stars 7 forks source link

git.exc.InvalidGitRepositoryError #34

Open Otoliths opened 10 months ago

Otoliths commented 10 months ago

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