Closed Forever518 closed 1 year ago
@Forever518 pls refer to mask_decode
for an example regarding decoding the segmentation masks in nuImages:
https://github.com/nutonomy/nuscenes-devkit/blob/9bc2f9e74d8a3dd27ef6ce83336508dd8926f867/python-sdk/nuimages/utils/utils.py#L35-L45
Hello, I am trying to decode the mask annotation from
object_ann.json
file using pycocotools. However I got error no matter what environment I used.I am asking the question here just because it works on the samples from pycocotools itself. How can I decode it correctly?
Here is my code: