Open tugot17 opened 4 years ago
Yes, we can add these Test Time Transforms too. Thought it should work fine without these. Since Faster RCNN uses Generalized RCNN transforms that works for image of any size.
Can you open a PR as well @tugot17 ? If not possible, don't worry I will fix it up.
I think the "domain" for not Normalized images is different and it may cause the predictor to not work properly. I opened the PR #4
Can cause error, though it hasn't caused yet. But defensive programming is better.
Describe the bug Before conducting the prediction the image should be
Resized
to the original training size and thenNormalized
the data comes from the same distribution as training dataTo Reproduce In
app.py
go to the line 223How to fix
Add the transformation while creating the dataset