Backend#
- class Backend[source]#
Bases:
ABC
Abstraction around core ML functionality used by an RVPipeline.
This should be subclassed to enable use of a third party ML library with an RVPipeline. There is a one-to-many relationship from RVPipeline to Backend.
- __init__()#
Methods
__init__
()Returns a SampleWriter for this Backend.
Load the model in preparation for one or more prediction calls.
predict_scene
(scene, chip_sz, stride)Return predictions for an entire scene using the model.
train
()Train a model.