devolearn icon indicating copy to clipboard operation
devolearn copied to clipboard

Enhancement: Allow prediction on numpy arrays present as local variable

Open vrutikrabadia opened this issue 4 years ago • 4 comments

The current model only allows us to predict on images by providing a path. We can extend the functionality and flexibility of out module by allowing numpy arrays as arguments to predict.

vrutikrabadia avatar Mar 20 '21 04:03 vrutikrabadia

You're right, I'm planning to add all of these functionalities through the InferenceEngine class found here

So a more sensible thing to do now is to modify all of the current models so that they're a subclass of the InferenceEngine class.

Mayukhdeb avatar Mar 20 '21 05:03 Mayukhdeb

Okay

vrutikrabadia avatar Mar 20 '21 06:03 vrutikrabadia

So first we can do that and then continue with this.

vrutikrabadia avatar Mar 20 '21 06:03 vrutikrabadia

yes

Mayukhdeb avatar Mar 20 '21 06:03 Mayukhdeb