vdurnov / xview2_1st_place_solution

1st place solution for "xView2: Assess Building Damage" challenge.
MIT License
84 stars 42 forks source link

what if I only have one image to predict? #4

Closed algo-scope closed 4 years ago

algo-scope commented 4 years ago

In the part of prediction, for example predict50cls.py, the script would find files with 'pre' and 'post' in their names. But when I only have one post disaster image, what should I do to use your model?

vdurnov commented 4 years ago

Model is not designed for this. It expects 2 images as input (pre and post). It is defined in competition rules.

algo-scope commented 4 years ago

I wonder if I copied the post image then rename it to 'pre', would the model still work?

vdurnov commented 4 years ago

It will give bad predictions. Model should see both pre and post images to investigate changes after disaster