Skip to content

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

Open

Description

@BeitaNine

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''

Activity

  1. ChanganVR commented on Jun 13, 2022

    @ChanganVR
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions