tyomj / product_detection

Working with scale: 2nd place solution to Product Detection in Densely Packed Scenes
Apache License 2.0
48 stars 9 forks source link

Convert a full frame COCO-like dataset to a tiled one #1

Closed songwsx closed 4 years ago

songwsx commented 4 years ago

Thank you so much for your sharing.But I'm having some problems when I run the second step. 2. Convert a full frame COCO-like dataset to a tiled one

First problem

image

I fixed this by modifying the following line of code tiles = split_on_tiles(img, bboxes, **vars(args))

Second problem

image How can i solve this problem?Thanks

tyomj commented 4 years ago

Hi! Thanks for reporting the error. Indeed, I haven't tested this script after refactoring. Fixed here