NRCan / geo-deep-learning

Deep learning applied to georeferenced datasets
https://geo-deep-learning.readthedocs.io/en/latest/
MIT License
150 stars 49 forks source link

Implement a base class for scripting models #558

Closed valhassan closed 3 months ago

valhassan commented 4 months ago

Is your feature request related to a problem? Please describe. For inference and deployment of models in production, I would like to create serializable models. Such models allow us to run inference without the code to build the architecture; furthermore, input preprocessing functions can be scripted with the models hence minimizing input drift when using models.

Describe the solution you'd like A base class for scripting models during training; the function call is optional.

Describe alternatives you've considered None

Additional context None