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

请问如何获取检测结果文件 #1

Closed
wanglumeng opened this issue Sep 20, 2023 · 5 comments
Closed

请问如何获取检测结果文件 #1

wanglumeng opened this issue Sep 20, 2023 · 5 comments

Comments

@wanglumeng
Copy link

READEME里提到使用的是CenterPoint或者Largerkernel3D的检测结果json文件,请问这个检测结果是能直接在什么地方下载的吗?还是需要用CenterPoint在NuScenes跑一遍检测呢?

@coldrainy
Copy link

coldrainy commented Sep 20, 2023 via email

@lixiaoyu2000
Copy link
Owner

lixiaoyu2000 commented Sep 20, 2023

CenterPoint result is available at tianweiy/CenterPoint#249.
LargeKernel result needs to be regenerated using pre-trained weights.

@wanglumeng
Copy link
Author

wanglumeng commented Sep 20, 2023

encountered JSONDecodeError when loading json from tianweiy/CenterPoint#249.

Exception has occurred: JSONDecodeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
Expecting ',' delimiter: line 1 column 344131235 (char 344131234)
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/home/lumeng_wang/work/Poly-MOT/utils/io.py", line 18, in load_file
    file_json = json.load(f)
  File "/home/lumeng_wang/work/Poly-MOT/data/script/first_frame.py", line 45, in extract_first_token
    detector_json = load_file(detector_path)
  File "/home/lumeng_wang/work/Poly-MOT/data/script/first_frame.py", line 71, in <module>
    dataset_version='trainval'
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/lumeng_wang/anaconda3/envs/polymot/lib/python3.7/runpy.py", line 193, in _run_module_as_main (Current frame)
    "__main__", mod_spec)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 344131235 (char 344131234)

@lixiaoyu2000

@lixiaoyu2000
Copy link
Owner

It would be better if you can share the complete error message (error file, etc.)

@lixiaoyu2000 lixiaoyu2000 reopened this Sep 20, 2023
@lixiaoyu2000
Copy link
Owner

lixiaoyu2000 commented Sep 20, 2023

@wanglumeng
After you reported this issue, I re-downloaded the raw detection file from https://mitprod-my.sharepoint.com/personal/tianweiy_mit_edu/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Ftianweiy%5Fmit%5Fedu%2FDocuments%2FCenterPoint%2FNUSC%5FMODELS%2Fnusc%5Fresults%5Fflip&ga=1 and re-ran it according to the Readme.md. Unfortunately, no problems were reported during the run. However, you can download the raw detection file I just ran, and the reorder detector from https://drive.google.com/drive/folders/12QNlMGoqS0RnsvYJh-kP5Cg7wR4h5Pzp?usp=sharing. If you have any questions please contact me.

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

3 participants