ray.rllib.algorithms.algorithm.Algorithm.import_model#

Algorithm.import_model(import_file: str)[source]#

Imports a model from import_file.

Note: Currently, only h5 files are supported.

Parameters:

import_file – The file to import the model from.

Returns:

A dict that maps ExportFormats to successfully exported models.