sshaoshuai / Pointnet2.PyTorch

A faster implementation of PointNet++ based on PyTorch.
MIT License
470 stars 107 forks source link

the meaning of the target_label value(-1) #18

Open tyjiang1997 opened 4 years ago

tyjiang1997 commented 4 years ago

Hello, there are three different values (0,1,-1) in the target_label in the loss function DiceLoss(nn.Module); -1 is not considered; I want to know the meaning of these three values It means background, 1 means car, so what does -1 mean?

bmankirLinker commented 4 years ago

Those are the ignored values which are set in DataLoader for nearby points of the enlarged cuboid as here https://github.com/sshaoshuai/Pointnet2.PyTorch/blob/master/tools/dataset.py#L165

tyjiang1997 commented 4 years ago

Those are the ignored values which are set in DataLoader for nearby points of the enlarged cuboid as here https://github.com/sshaoshuai/Pointnet2.PyTorch/blob/master/tools/dataset.py#L165

thank you very much