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

[Bug] The ImvoxelNet can't run as the IndoorMetric doesn't have the attribute of ann_file and metric. #2704

Open
3 tasks done
mrsempress opened this issue Aug 24, 2023 · 2 comments

Comments

@mrsempress
Copy link

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmdetection3d

Environment

torch1.12.1+cuda11.3

Reproduces the problem - code sample

basic training command

Reproduces the problem - command or script

I can't run ImvoxelNet. One of the mistakes is that the val_evaluator(IndoorMetric) has no attribute: ann_file and metric. Please check carefully whether it can run.

Reproduces the problem - error message

Have no attribute 'ann_file'

Additional information

No response

@Cindy0725
Copy link

Hi @mrsempress, I am having the same error! When I tried to run "python tools/test.py /home/zhangyicindy/mmdetection3d/configs/imvoxelnet/imvoxelnet_2xb4_sunrgbd-3d-10class.py /home/zhangyicindy/mmdetection3d/imvoxelnet_4x2_sunrgbd-3d-10class_20220809_184416-29ca7d2e.pth", it gives me an error: "TypeError: init() got an unexpected keyword argument 'ann_file'".
Have you solved this problem?

@mrsempress
Copy link
Author

@Cindy0725 No, I am waiting for them to solve the problem.

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