Do not permute input tensor during prediction
We should
- not permute the input tensor during prediction https://gitlab.com/teklia/atr/dan/-/blob/be01536c9f58eb6aa63df3594f12358396a12334/dan/predict/prediction.py#L286
- use the correct image size https://gitlab.com/teklia/atr/dan/-/blob/be01536c9f58eb6aa63df3594f12358396a12334/dan/predict/prediction.py#L288:
[im_p.shape[1:]]
as in the tests https://gitlab.com/teklia/atr/dan/-/merge_requests/183/diffs#21501532cc67c882b5e429bea05906bde476193b_49_48
Edited by Mélodie Boillet