Pointcept / PointTransformerV3

[CVPR'24 Oral] Official repository of Point Transformer V3 (PTv3)
MIT License
761 stars 44 forks source link

Basic question related to python #97

Open mshmoon opened 1 week ago

mshmoon commented 1 week ago

For example ,when feat_keys=("coord") , that means feat_keys only have one element, the transform.py file will trigger a error

Gofinge commented 1 week ago

Hi, kindly remind:

("coord") == "coord"
("coord",) == Sequence(["coord"])
["coord"] == Sequence(["coord"])
mshmoon commented 1 week ago

Hi, kindly remind:

("coord") == "coord"
("coord",) == Sequence(["coord"])
["coord"] == Sequence(["coord"])

Oh, Thank you

mshmoon commented 1 week ago

Hi, kindly remind:

("coord") == "coord"
("coord",) == Sequence(["coord"])
["coord"] == Sequence(["coord"])

When I rewrite this code: feat_keys=(["coord"]), it will trigger another bug: File "/root/anaconda3/envs/ptv3/lib/python3.9/site-packages/spconv/pytorch/conv.py", line 169, in _conv_forward assert input.features.shape[ AssertionError: channel size mismatch

Gofinge commented 1 week ago

You can change the in_channel of model to 3.

mshmoon commented 1 week ago

You can change the in_channel of model to 3.

oh , thank you. It work