Skip to content

Commit

Permalink
update visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyithu committed Mar 28, 2023
1 parent fcce313 commit dcbe924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/visual.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import os
import os, sys
import cv2, imageio
import mayavi.mlab as mlab
import numpy as np
Expand Down Expand Up @@ -36,7 +36,7 @@
voxel_size = 0.5
pc_range = [-50, -50, -5, 50, 50, 3]

visual_path = 'temp/pred.npy'
visual_path = sys.argv[1]
fov_voxels = np.load(visual_path)

fov_voxels = fov_voxels[fov_voxels[..., 3] > 0]
Expand Down

0 comments on commit dcbe924

Please sign in to comment.