about visualization
See original GitHub issue(monoscene) ruidong@ubuntu-X299-UD4-Pro:~/workplace/MonoScene$ python monoscene/scripts/visualization/kitti_vis_pred.py +file=/home/ruidong/workplace/MonoScene/outputs/kitti/08/000000.pkl +dataset=kitt
monoscene/scripts/visualization/kitti_vis_pred.py:23: DeprecationWarning: np.float
is a deprecated alias for the builtin float
. To silence this warning, use float
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64
here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
coords_grid = coords_grid.astype(np.float)
Traceback (most recent call last):
File “monoscene/scripts/visualization/kitti_vis_pred.py”, line 196, in main
d=7,
File “monoscene/scripts/visualization/kitti_vis_pred.py”, line 75, in draw
grid_coords = np.vstack([grid_coords.T, voxels.reshape(-1)]).T
AttributeError: ‘tuple’ object has no attribute ‘T’
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Oh,yes. if failed to install mayavi using
pip install mayavi
failed about building wheel for mayavi. I found it seems that the version of vtk is too new with 9.1,I recommand to do this if using python3.7:pip install PyQt5
pip install VTK==8.1.2
pip install mayavi