scivision icon indicating copy to clipboard operation
scivision copied to clipboard

Check image input data to 'predict'

Open ots22 opened this issue 2 years ago • 1 comments

Raise a warning if the input array contains NaNs or other surprising values.

Ideally this should be done before being passed to a model (not relying on each model to implement its own checks, although there may be other model-specific things)

ots22 avatar Nov 23 '22 09:11 ots22

Checking for NaN and inf values would be a great start.

quantumjot avatar Nov 24 '22 11:11 quantumjot