nuscenes-devkit icon indicating copy to clipboard operation
nuscenes-devkit copied to clipboard

Update export_2d_annotations_as_json.py

Open dtransposed opened this issue 5 years ago • 1 comments

Since there are tokens in your dataset with contain empty visibility strings, please include them in your default list. Otherwise an user obtains empty .json file. I know that this is just a copy from NuScenes repo, but some people who do not have experience with this API may be super confused.

dtransposed avatar Jul 24 '19 13:07 dtransposed

The image size is defaulted in post_process_coords function to 1600*900 in case of nuscenes dataset, But Lyft dataset has two types of images one with 1224 * 1024 and 1920 * 1080

The wrong Image size might cause wrong conversion.

jaswanthbjk avatar Jan 01 '20 21:01 jaswanthbjk