Coder Social home page Coder Social logo

mv2d's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mv2d's Issues

TypeError: FormatCode() got an unexpected keyword argument 'verify

/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmdet/utils/setup_env.py:48: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
warnings.warn(
Traceback (most recent call last):
File "tools/train.py", line 275, in
main()
File "tools/train.py", line 191, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 596, in dump
f.write(self.pretty_text)
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 508, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
Traceback (most recent call last):
File "tools/train.py", line 275, in
main()
File "tools/train.py", line 191, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 596, in dump
f.write(self.pretty_text)
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 508, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
Traceback (most recent call last):
File "tools/train.py", line 275, in
main()
File "tools/train.py", line 191, in main
Traceback (most recent call last):
File "tools/train.py", line 275, in
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 596, in dump
main()
File "tools/train.py", line 191, in main
f.write(self.pretty_text)
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 508, in pretty_text
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 596, in dump
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
f.write(self.pretty_text)
File "/opt/conda/envs/openmmlab_MV2D2/lib/python3.8/site-packages/mmcv/utils/config.py", line 508, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'

KeyError: "CustomNuScenesDataset: 'LoadMultiViewImageFromMultiSweepsFiles is not in the pipeline registry'"

Hi, thank you for sharing the great work!
I met the error below when I run the inference script.

  File "/defaultShare/SHFP12/xiaoquan.wang/01_bev/MV2D/mmdetection3d_01/mmdet3d/datasets/builder.py", line 41, in build_dataset
    dataset = build_from_cfg(cfg, DATASETS, default_args)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "CustomNuScenesDataset: 'LoadMultiViewImageFromMultiSweepsFiles is not in the pipeline registry'"

Questions about code and experiment details

Thank you for your great work!
Regarding the current code, I have two inquiries:
Presently, you have only executed training and testing code under the condition of batch size=1. Will there be further refinement in the future?
By what experimental facilities did you conduct the network training? How much time is required for the training of ep24 and ep72, respectively?

some question about the code

Hi,thanks for sharing the code,after reading the code,I wonder why you add dcn and stage_with_dcn to image backbone config, and use mask-rcnn trained in nuimage which config don't have dcn, and why you add other fpn layer to process_detector_feat, as I see in paper figure 2, you don't plot the fpn layer.

Can you detailed the packages' version?

Can you please detailed the packages' version? Such as mmcv, torch, mmdet, mmdet3d, mmsegmentation, mmengine.
According to the environment version in README, I can't successfully run the code.

question about sparse cross attention module

Thank you for your great work!

In the article, the sparse cross attention is proposed. But i don't understand how do you implement this module. It seems that you don't split the query to N groups and do n times attention operations. I think you may use cross-attn-mask and key-padding-mask to make the query attention with the selected object features. Is that true?

But using attn-mask still remains unacceptable computational complexity in attention operation and each query should calculate with all obj features. I wonder if you using a different implement or my guess is right.

error in box correlation process.

Hi there, thanks for sharing the code.

I've been trying to run the evaluation using the provided checkpoint, but encountered an error in the box correlation process. Here is the error message:

MV2D/mmdet3d_plugin/models/roi_heads/utils/box_correlation.py", line 353, in epipolar_in_box
    t_rois_xymax = t_points_xymax.max(1)[0]
RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity

I was wondering if you've come across this error during your testing, and if so, do you have any suggestions on how to resolve it?
Thanks in advance.

the function of gt_bboxes_2d_to_3d

gt_labels_3d_views = ori_gt_labels_3d[i]
gt_bboxes_3d_views = ori_gt_bboxes_3d[i].to(gt_labels_3d_views.device)
for j in range(num_views):
gt_ids = (gt_bboxes_2d_to_3d[i][j]).unique()
select = gt_ids[gt_ids > -1].long()
gt_bboxes_3d.append(gt_bboxes_3d_views[select])
gt_labels_3d.append(gt_labels_3d_views[select])

I noticed that during the model forward_train, gt_bboxes_2d_to_3d is only used in the above code.
In addition, neither gt_boxxes_3d nor gt_labels_3d are subsequently used here, what is their function?

The val mAP is incorrect

Thanks for your work. I download the MV2D-T_R50_1408x512_ep72 checkpoint, and the val result is like this. Do you have any suggestions?
微信图片_20231205171017

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.