Skip to content

Commit

Permalink
Update ShapeNetDataLoader.py
Browse files Browse the repository at this point in the history
fixed the bug (yanx27#105)
  • Loading branch information
yanx27 authored Apr 28, 2021
1 parent bba1f61 commit ba4c5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_utils/ShapeNetDataLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self,root = './data/shapenetcore_partanno_segmentation_benchmark_v0

def __getitem__(self, index):
if index in self.cache:
ppoint_set, cls, seg = self.cache[index]
point_set, cls, seg = self.cache[index]
else:
fn = self.datapath[index]
cat = self.datapath[index][0]
Expand Down

0 comments on commit ba4c5cf

Please sign in to comment.