tsunghan-wu / RandLA-Net-pytorch

:four_leaf_clover: Pytorch Implementation of RandLA-Net (https://arxiv.org/abs/1911.11236)
MIT License
122 stars 33 forks source link

confusion_matrix() takes 2 positional arguments but 3 were given #17

Closed yanzhao16 closed 2 years ago

yanzhao16 commented 2 years ago

when i use this code: python3 train_SemanticKITTI.py --checkpoint_path pretrain_model/checkpoint.tar, This error will happen: confusion_matrix() takes 2 positional arguments but 3 were given. could you tell me how to modify this code?

yanzhao16 commented 2 years ago

https://github.com/tsunghan-mama/RandLA-Net-pytorch/blob/913837e846176e4247a7e21783bf8f2f38576257/utils/metric.py#L28