Loading
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more

crowdAI is shutting down - please read our blog post for more information

Mapping Challenge

Building Missing Maps with Machine Learning


Completed
719
Submissions
1074
Participants
49044
Views

Argument ‘bb’ has incorrect type (expected numpy.ndarray, got list)

Posted by ChePeter almost 2 years ago

it is unclear what is bb.

predictions[100]

{‘bbox’: [264, 0, 36, 28], ‘category_id’: 100, ‘image_id’: 47599, ‘score’: 1.0, ‘segmentation’: [[278, 0, 276, 2, 272, 2, 266, 8, 266, 14, 264, 16, 264, 24, 266, 26, 274, 26, 276, 24, 286, 24, 288, 22, 298, 22, 298, 0]]}

Posted by Ursus  almost 2 years ago |  Quote

Hi @ChePeter , you can submit your predictions using rle format. Also Note: mask of each building must be in a different object.

Posted by ChePeter  almost 2 years ago |  Quote

cocomask.frPyObjects([cc.tolist()], 300, 300) - error in this function

Posted by Ursus  almost 2 years ago |  Quote

cocomask.frPyObjects([cc.tolist()], 300, 300) - error in this function

I use this function to generate submissions from binary masks: https://github.com/Justdjent/mapping_challenge/blob/aaefb814fc4ed55af8124b7050c46ade36a6b58d/unet/validation.py#L246