6D prediction files now working
This commit is contained in:
@ -54,9 +54,9 @@ def predict_prim_type(input_pc, model):
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
input_pc_path = Path('data') / 'pc' / 'test.xyz'
|
||||
# input_pc_path = Path('data') / 'pc' / 'test.xyz'
|
||||
|
||||
model_path = Path('output') / 'PN2' / 'PN_9843bf499399786cfd58fe79fa1b3db8' / 'version_0'
|
||||
model_path = Path('output') / 'PN2' / 'PN_14628b734c5b651b013ad9e36c406934' / 'version_0'
|
||||
# config_filename = 'config.ini'
|
||||
# config = ThisConfig()
|
||||
# config.read_file((Path(model_path) / config_filename).open('r'))
|
||||
@ -72,7 +72,7 @@ if __name__ == '__main__':
|
||||
test_dataset = ShapeNetPartSegDataset('data', mode=GlobalVar.data_split.predict, collate_per_segment=False,
|
||||
refresh=True, transform=transforms)
|
||||
|
||||
grid_clusters = cluster_cubes(test_dataset[1], [1, 1, 1], max_points_per_cluster=32768)
|
||||
grid_clusters = cluster_cubes(test_dataset[0], [1, 1, 1], max_points_per_cluster=8192)
|
||||
|
||||
ps.init()
|
||||
|
||||
|
Reference in New Issue
Block a user