skyshoumeng / SmoothDA

MIT License
3 stars 1 forks source link

Unknown variables #1

Open rsleishaui opened 3 months ago

rsleishaui commented 3 months ago

Excuse me, how is the self.inst_path_label read and path_label_dict formed in line 501 of the semantic_kitti_polarmix code?

skyshoumeng commented 3 months ago

You can generate instance data by following the instructions provided in this GitHub repository (use the instance_preprocess.py script). The path_label_dict.pkl file is just a dictionary where the keys are the path of instances, and the values are the corresponding class id.

rsleishaui commented 3 months ago

Thanks for your reply. Do I need to comment the first two lines of instance_xyz?

instance_p = self.twis(instance_p)

_, instance_xyz = self.pointwolf(instance_p[:,:3])

instance_p[:, :3] = instance_xyz