bp
Browse files- eval_wrapper/eval.py +0 -3
eval_wrapper/eval.py
CHANGED
@@ -5,7 +5,6 @@ from torch.utils.data import DataLoader
|
|
5 |
from torchvision import transforms
|
6 |
import os
|
7 |
import sys
|
8 |
-
import open3d as o3d
|
9 |
current_dir = os.getcwd()
|
10 |
sys.path.append(current_dir)
|
11 |
|
@@ -421,8 +420,6 @@ def main():
|
|
421 |
false_negative=args.false_negative,n_pred_views=args.n_pred_views,
|
422 |
do_filter_all_masks=args.filter_all_masks,tsdf=args.tsdf).cpu().numpy()
|
423 |
all_points_save = os.path.join(args.data_dir,"inference_points.ply")
|
424 |
-
o3d_pc = npy2ply(all_points,colors=None,normals=None)
|
425 |
-
o3d.io.write_point_cloud(all_points_save, o3d_pc)
|
426 |
|
427 |
if __name__ == "__main__":
|
428 |
main()
|
|
|
5 |
from torchvision import transforms
|
6 |
import os
|
7 |
import sys
|
|
|
8 |
current_dir = os.getcwd()
|
9 |
sys.path.append(current_dir)
|
10 |
|
|
|
420 |
false_negative=args.false_negative,n_pred_views=args.n_pred_views,
|
421 |
do_filter_all_masks=args.filter_all_masks,tsdf=args.tsdf).cpu().numpy()
|
422 |
all_points_save = os.path.join(args.data_dir,"inference_points.ply")
|
|
|
|
|
423 |
|
424 |
if __name__ == "__main__":
|
425 |
main()
|