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

subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128. #1

Open
lee1k opened this issue Dec 17, 2020 · 1 comment

Comments

@lee1k
Copy link

lee1k commented Dec 17, 2020

Hi,
thanks for sharing your excellent work, and there is a problem when i run main.py:

File "main.py", line 107, in
args.current_hash = subprocess.check_output(["git", "rev-parse", "HEAD"]).rstrip()
subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.
/root/ISINet-main/temp_consistency_module/run.sh: line 2: --inference: command not found
/root/ISINet-main/temp_consistency_module/run.sh: line 3: --model: command not found
/root/ISINet-main/temp_consistency_module/run.sh: line 4: --batch_size: command not found
/root/ISINet-main/temp_consistency_module/run.sh: line 5: --number_workers: command not found
/root/ISINet-main/temp_consistency_module/run.sh: line 21: --num-classes: command not found

How can i solve it?
Thank you!

@lee1k lee1k closed this as completed Dec 18, 2020
@lee1k lee1k reopened this Dec 18, 2020
@lee1k
Copy link
Author

lee1k commented Dec 19, 2020

And main.py require --inference_dataset_segm_path /path/to/mask-rcnn/inference/segm.json , how can i get segm.json?

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