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

Fixed issue unpacking size in furthest_point_sample #248

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

EricWiener
Copy link
Contributor

When running the VoteNet demo on sunrgbd with:

python tools/test.py configs/votenet/votenet_16x8_sunrgbd-3d-10class.py checkpoints/votenet_16x8_sunrgbd-3d-10class_20200620_230238-4483c0c0.pth --show --show-dir ./data/votenet/show_results

I got an error in mmdetection3d/mmdet3d/ops/furthest_point_sample/furthest_point_sample.py because points_xyz was a tuple of size 4, but it was being unpacked into a tuple of size 3. I changed:

B, N, _ = points_xyz.size()

to

B, N = points_xyz.size()[:2]

and now everything works correctly.

The tuple unpacked into three arguments when four were given when
running VoteNet on sunrgbd
@CLAassistant
Copy link

CLAassistant commented Dec 25, 2020

CLA assistant check
All committers have signed the CLA.

@Tai-Wang Tai-Wang requested a review from xavierwu95 December 26, 2020 07:33
@ZwwWayne ZwwWayne merged commit ca0faaf into open-mmlab:master Jan 19, 2021
@ZwwWayne
Copy link
Collaborator

Thanks for the kind contribution.

tpoisonooo pushed a commit to tpoisonooo/mmdetection3d that referenced this pull request Sep 5, 2022
* support yolov3 ncnn with Yolov3DetectionOutput

* update nms

* fix contiguous in ncnn wrapper

* remove padding to detectionoutput

* format cpp

* Revert "format cpp"

This reverts commit 54050b19cd80d2f8cd851d82a755fd2c8d6c779d.

* fix zero detection

* fix yapf

* onnx2ncnn.cpp

* fix ut

* fix isort

* fix clang-format

* format cpp

* resolve comments

* resolve comments

* fix ut of ncnnend2endmodel

* fix yapf

* fix return list;

Co-authored-by: hanrui1sensetime <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants