mirror of
https://github.com/wassname/Pointnet2_PyTorch.git
synced 2026-06-28 16:10:08 +08:00
Possible bug fixes
This commit is contained in:
@@ -68,7 +68,7 @@ class ModelNet40Cls(data.Dataset):
|
||||
pt_idxs = np.arange(0, self.actual_number_of_points)
|
||||
np.random.shuffle(pt_idxs)
|
||||
|
||||
current_points = self.points[idx, pt_idxs, :]
|
||||
current_points = self.points[idx, pt_idxs].copy()
|
||||
label = torch.from_numpy(self.labels[idx]).type(torch.LongTensor)
|
||||
|
||||
if self.transforms is not None:
|
||||
|
||||
Reference in New Issue
Block a user