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

inplace-abn #1

Closed
QinghuanWei opened this issue Aug 4, 2022 · 3 comments
Closed

inplace-abn #1

QinghuanWei opened this issue Aug 4, 2022 · 3 comments

Comments

@QinghuanWei
Copy link

i get the error when i do
python3 -m pip install -r requirements.txt

'''
Building wheel for inplace-abn (setup.py) ... error
error: subprocess-exited-with-error
'''

@markusschoen
Copy link
Member

Which OS and CUDA version are you using?
Please run python3 -m pip install inplace-abn and post the full output.

@QinghuanWei
Copy link
Author

My system is Ubuntu 18.04 and the cuda version is 11.0. I tried this and it didn't work, I managed to install it by downloading the source code and compiling it. Now I have a new problem, when I run
python tools/demo.py --config-file configs/MGNet-KITTI-Eigen-Zhou.yaml --input test_image/test1.jpg --calibration-file calibration --output result --opts MODEL.WEIGHTS checkpoint/model_kitti_zhou.pth
i get the error
Traceback (most recent call last): File "tools/demo.py", line 240, in <module> demo = VisualizationDemo(cfg, args.calibration_file, args.show_pcl) File "tools/demo.py", line 37, in __init__ self.predictor = MGNetPredictor(cfg, calibration_file) File "/root/data/lixiyuan/MGNet/MGNet-main/mgnet/inference/predictor.py", line 41, in __init__ self.calibration_info = json.load(f) File "/root/anaconda3/envs/lixiyuan/lib/python3.8/json/__init__.py", line 293, in load return loads(fp.read(), File "/root/anaconda3/envs/lixiyuan/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/root/anaconda3/envs/lixiyuan/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/anaconda3/envs/lixiyuan/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@markusschoen
Copy link
Member

Great, that you managed to install inplace-abn.
Regarding the new problem: The calibration file needs to be a json file in Cityscapes-Camera-Format and should contain at least the intrinsic parameters and the extrinsic z component.

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