predictors#
- class aiearth.predict.predictors.ImageEchoPredictor(checkpoint: ModelCheckpoint)[源代码]#
 基类:
Predictor- init(checkpoint: ModelCheckpoint)[源代码]#
 
- class aiearth.predict.predictors.ONNXRuntimePredictor(checkpoint: ModelCheckpoint)[源代码]#
 基类:
Predictor- classmethod from_checkpoint(checkpoint: ModelCheckpoint)[源代码]#
 Create a specific predictor from a checkpoint.
- 参数:
 checkpoint – Checkpoint to load predictor data from.
kwargs – Arguments specific to predictor implementations.
- 返回:
 Predictor object.
- 返回类型:
 
- class aiearth.predict.predictors.Predictor(checkpoint: ModelCheckpoint)[源代码]#
 基类:
Predictor- classmethod from_checkpoint(checkpoint: ModelCheckpoint)[源代码]#
 Create a specific predictor from a checkpoint.
- 参数:
 checkpoint – Checkpoint to load predictor data from.
kwargs – Arguments specific to predictor implementations.
- 返回:
 Predictor object.
- 返回类型:
 
- abstract init(checkpoint: ModelCheckpoint)[源代码]#
 
- class aiearth.predict.predictors.TensorrtPredictor(checkpoint: ModelCheckpoint)[源代码]#
 基类:
Predictor- classmethod from_checkpoint(checkpoint: ModelCheckpoint)[源代码]#
 Create a specific predictor from a checkpoint.
- 参数:
 checkpoint – Checkpoint to load predictor data from.
kwargs – Arguments specific to predictor implementations.
- 返回:
 Predictor object.
- 返回类型: