Closed VuGiaHuy-0808 closed 10 months ago
Hi @VuGiaHuy-0808, Have you tried testing our model on ScanNet train or validation split? The test split doesn't have annotations. To achieve metrics on it you need to submit the predictions to the online benchmark.
I'm testing the model on validation split. I checked and added annotations to test split but now I'm faced with a new issue related to attention module:
File "/home/mmdetect3d/oneformer3d/querydecoder.py", line 52, in forward output, = self.attn(queries[i], k, v, attn_mask=attn_mask) File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(*input, **kwargs) File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 1010, in forward attn_mask=attn_mask) File "/opt/conda/lib/python3.7/site-packages/torch/nn/functional.py", line 4968, in multi_head_attention_forward tgt_len, bsz, embed_dim = query.shape ValueError: not enough values to unpack (expected 3, got 2)
The query shape is ([256, 957]) Currently, I just want to visualize prediction results as you reported in your paper :
Cause is different torch version, I use torch 1.10. I will close the issue. Merry christmas btw.
Hi, thanks for your great works. Currently I want to to test the model with Scannet test dataset. I already preprocessing test dataset and everything still works. But when I run tools/test.py I got below error:
I checked the results variable in oneformer3d/loading.py and get its keys value:
I think my test data is missing something and that leads to failure in dataloader. I'm not familiar with mmdetection3d so pls give me some advices. Thank you so much.