Closed ashishpatel16 closed 1 year ago
your changes seem to be correct and be in a right way
Hi @ashishpatel16,
Thank you for the pull request! It looks good to me, but it is failing some linting tests. Can you please run black and commit again? It is also a good idea to setup the pre-commit according to the instructions in the contributing file.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
0f9f955
) 98.40% compared to head (c2b1180
) 98.40%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@mirand863 The errors have been resolved finally, could you merge it if everything looks alright?
Image input data has 3 dimensions (rgb) per image and is then a list of images => has 4 dimensions.
Currently, passing such inputs generates the following error -
This solution simply supplies the parameter
allow_nd=True
in the fit pipeline andallow_nd=True, ensure_2d=False
in the predict pipeline to ensure the support of multi dimensional inputs.