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

run python train.py --policy rgl in (torch) root@ninebeita:/home/nine_beita/RelationalGraphLearning/crowd_nav# #18

Open
BeitaNine opened this issue Jun 10, 2022 · 1 comment

Comments

@BeitaNine
Copy link

Traceback (most recent call last):
File "train.py", line 256, in
main(sys_args)
File "train.py", line 81, in main
logging.info('Current git head hash code: {}'.format(repo.head.object.hexsha))
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/refs/symbolic.py", line 193, in _get_object
return Object.new_from_sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path)))
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/objects/base.py", line 64, in new_from_sha
oinfo = repo.odb.info(sha1)
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/db.py", line 37, in info
hexsha, typename, size = self._git.get_object_header(bin_to_hex(sha))
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/cmd.py", line 1077, in get_object_header
return self.__get_object_header(cmd, ref)
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/cmd.py", line 1066, in __get_object_header
return self._parse_object_header(cmd.stdout.readline())
File "/home/nine_beita/anaconda3/envs/torch/lib/python3.6/site-packages/git/cmd.py", line 1028, in _parse_object_header
raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip()))
ValueError: SHA could not be resolved, git returned: b''

@ChanganVR
Copy link
Owner

Seems like git related issues. While I don't know what exatly happens here, you could simply comment out the lines where git was used in the code to bypass this.

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

2 participants