Closed YuQiao0303 closed 1 year ago
Recently we modified the number of dynamic convolution layers to 3 (instead of 2 in the lightweight version). We just updated the code to load pre-trained weight of the lightweight model. Feel free to try again.
Thank you.
Hi authors! Thank you for releasing this amazing work!
What I did
I'm trying to use the pretrained weight for a quick demo of ScanNet val (lightweight). I've downloaded the pretrained checkpoint, and run the following command:
python3 tools/test.py configs/scannetv2/isbnet_lightweight_scannetv2.yaml dataset/pretrained/head_small_scannetv2_val.pth --out out/scannetv2_lightweight
(for a quick demo, I only load 3 scans instead of all 312 scans in the validation set)
Result
output
However, here's the output:
visualization
And here's an visualization result:
analyze
I suppose the wrong result is mainly due to the failure to load
inst_mask_head.2.weight
andinst_mask_head.2.bias
. So I print some values to debug. In isbnet/model/isbnet.py, init_dyco(), I print something like:and the issue is that
self.num_gen_params
is 1793 instead of 1281 (see the output mentioned above).Though 1793-1281=512, and
weight_nums
is of shape [1216, 512, 16], andbias_nums
is of shape [32, 16, 1], I'm not sure how to fix this issue. Could you please help? Thank you!!