Skip to content

Commit df94e27

Browse files
author
Lin Shao
committed
udpate data_preparing.py
1 parent 98b06e5 commit df94e27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

point_set_selection/data_preparing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
for line_id in os.listdir(data_top_dir):
1313
sub_dir = os.path.join(data_top_dir,line_id)
14-
#print(sub_dir)
14+
print(sub_dir)
1515
#f1 = [line for line in os.listdir(sub_dir) if line.endswith('grasp1_new.npz')]
1616
#f2 = [line for line in os.listdir(sub_dir) if line.endswith('grasp2_new.npz')]
1717
#f3 = [line for line in os.listdir(sub_dir) if line.endswith('grasp3_new.npz')]
18-
#f4 = [line for line in os.listdir(sub_dir) if line.endswith('grasp4_new.npz')]
18+
f4 = [line for line in os.listdir(sub_dir) if line.endswith('grasp4_new.npz')]
1919
#f5 = [line for line in os.listdir(sub_dir) if line.endswith('grasp5_new.npz')]
20-
if 1:#len(f4) > 0 and len(f2) > 0 and len(f3) > 0 and len(f1) > 0 and len(f5) > 0:
20+
if len(f4) > 0:# and len(f2) > 0 and len(f3) > 0 and len(f1) > 0 and len(f5) > 0:
2121
total_ids.append(line_id)
2222

2323
train_val_test_list = Train_Val_Test(np.array(total_ids),splitting=[1.0,0.0,0.0])

0 commit comments

Comments
 (0)