prior
prior copied to clipboard
No such file or directory: '/media/datc/.git-credentials'
Hi @mattdeitke : When I use prior to load procthor10k, it returns an error message:
File "/media/datc/experiment/allenact/allenact_plugins/procthor_plugin/procthor_environment.py", line 76, in __init__
self.scene_data = prior.load_dataset("procthor-10k")
File "/media/datc/anaconda3/envs/ai2thor/lib/python3.8/site-packages/prior/__init__.py", line 272, in load_dataset
sha, token = _clone_repo(
File "/media/datc/anaconda3/envs/ai2thor/lib/python3.8/site-packages/prior/__init__.py", line 212, in _clone_repo
with open(f"{os.environ['HOME']}/.git-credentials", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/media/datc/.git-credentials'
It seems like the prior needs an authentication of git, but it have download all data the procthor10k need. I don't why it need the authentication.
It can work after a few minutes, but I didn't change anything. š¤£
It returns same error now! T_T
can someone help me? T_T
Hi @pioneer-innovation, sorry about this!
The bug is caused by having too many requests to GitHub without being signed in. I will push a fix for it soon.
Iām the meantime though, first run git config credential.helper store
and then try pulling a private repo from GitHub. This will prompt you to login on your machine. We can then use that key to increase the rate limit.