lyft / nuscenes-devkit

Devkit for the public 2019 Lyft Level 5 AV Dataset (fork of https://github.com/nutonomy/nuscenes-devkit)
Other
372 stars 102 forks source link

A bug in render_scene function #22

Closed pyaf closed 5 years ago

pyaf commented 5 years ago

Hi,

The render_scene function uses cv2.VideoWriter here the first argument of which should be a string not a Path instance due to which it is throwing type error.

So, it should be out = cv2.VideoWriter(str(out_path), fourcc, freq, canvas.shape[1::-1])

ternaus commented 5 years ago

Fixed.