Commit Graph
1 Commits
Author SHA1 Message Date
David Holtz 3d8af87290 Make nuScenes dataparser compatible with ParallelDataManager (#2635)
The ParallelDataManager (see #2092) makes pytorch crash if the cameras instance's fx, fy, cx or cy tensors
are loaded from a common shared tensor.

This PR fixes the issue by cloning the respective tensors before passing them to the Cameras(...) constructor.
2023-11-30 15:00:31 -08:00