mileyan / pseudo_lidar

(CVPR 2019) Pseudo-LiDAR from Visual Depth Estimation: Bridging the Gap in 3D Object Detection for Autonomous Driving
https://mileyan.github.io/pseudo_lidar/
MIT License
967 stars 215 forks source link

visualization code cannot get point cloud output #56

Open rsj007 opened 2 years ago

rsj007 commented 2 years ago

Hi, I am using the ipynb file to visualize point cloud, but get no output. I am a beginner for Jupyter. Could you show me where's the problem? Thanks!!! image

rsj007 commented 2 years ago

The result is below, but no point cloud showing. warnings.warn('64-bit data types not supported for WebGL ' Renderer(camera=PerspectiveCamera(aspect=1.6, fov=90.0, position=(16.54891692206 4606, 46.15009424030715, 0.38871846990986914), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0. 0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0 .0, 0.0, 1.0)), controls=[OrbitControls(controlling=PerspectiveCamera(aspect=1.6 , fov=90.0, position=(16.548916922064606, 46.15009424030715, 0.38871846990986914 ), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), target=(16.548916922064606, 0.21719476520948885, -1.1111480454881564))], scene=Scene(children=(Points(geomet ry=BufferGeometry(attributes={'position': <BufferAttribute shape=(272899, 3), dt ype=float32>, 'color': <BufferAttribute shape=(272899, 3), dtype=uint8>}), mater ial=PointsMaterial(map=None, vertexColors='VertexColors'), position=(0.0, 0.0, 0 .0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1. 0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), PerspectiveCamera(aspect=1.6, fov=90.0, posit ion=(16.548916922064606, 46.15009424030715, 0.38871846990986914), projectionMatr ix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1 .0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1. 0, 1.0, 1.0), up=(0.0, 0.0, 1.0))), fog=None, overrideMaterial=None, position=(0 .0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), shadowMap=WebGLShadowMap()) HBox(children=(Label(value='Point size:'), FloatSlider(value=0.02, max=0.2, step =0.0002), Label(value='Background color:'), ColorPicker(value='black')))