ldkong1205 / LaserMix

[CVPR 2023 Highlight] LaserMix for Semi-Supervised LiDAR Semantic Segmentation
https://ldkong.com/LaserMix
Apache License 2.0
272 stars 17 forks source link

TypeError: LaserMix.__init__() got an unexpected keyword argument 'segmentor_student' #10

Closed azhuantou closed 9 months ago

azhuantou commented 9 months ago

Hi @ldkong1205 When I run the following command: python tools/train.py configs/lasermix/lasermix_cy3d_semi_semantickitti_10.py the above error occurred.

Could you please help me?

ldkong1205 commented 9 months ago

Hi @azhuantou, sorry for the confusion! I have just updated semi_base.py. The updates are here. Could you pull the updates and try again? Thanks!

azhuantou commented 9 months ago

Thanks for your quick reply! It seems to still have the same error.

ldkong1205 commented 9 months ago

Hi @azhuantou, sorry again ... Made some updates on this file as well. Would you mind trying again? Thanks!

azhuantou commented 9 months ago

Thanks for your attention. Error resolved, but an important file (semantickitti_infos_val.pkl) is missing and I can not find it in the Google Drive you provided.

ldkong1205 commented 9 months ago

Hi @azhuantou, thanks for letting me know!

The semantickitti_infos_train.pkl and semantickitti_infos_val.pkl file can be generated via the following command:

python ./tools/create_data.py semantickitti --root-path ./data/semantickitti --out-dir ./data/semantickitti --extra-tag semantickitti

I have updated DATA_PREPARE.md. Thanks for your reminder!

azhuantou commented 9 months ago

Thanks for your timely reply! All the problems have been resolved! :)

ldkong1205 commented 9 months ago

Thanks for your timely reply! All the problems have been resolved! :)

Glad to hear and appreciate your feedback~

Please don't hesitate to let us know if you have any further questions. Thanks!