Giter Club home page Giter Club logo

Comments (3)

markusschoen avatar markusschoen commented on August 16, 2024

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

from mgnet.

QinghuanWei avatar QinghuanWei commented on August 16, 2024

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)

from mgnet.

markusschoen avatar markusschoen commented on August 16, 2024

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.

from mgnet.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.