From 11894d12f3f056053c6c7743c0e6b15ccb643650 Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Mon, 12 Aug 2024 15:19:36 +0800 Subject: [PATCH] add an example --- examples/serialize_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/serialize_model.py b/examples/serialize_model.py index 2e4431ed2..2423efef8 100644 --- a/examples/serialize_model.py +++ b/examples/serialize_model.py @@ -11,14 +11,14 @@ def main(): If executed correctly, the following log messages will be output: MGXEnv serialization successful. File saved at: /.../workspace/storage/MGXEnv.json MGXEnv deserialization successful. Instance created from file: /.../workspace/storage/MGXEnv.json - The object is MGXEnv() + The instance is MGXEnv() """ env = MGXEnv() env.serialize() env: MGXEnv = MGXEnv.deserialize() - logger.info(f"The object is {repr(env)}") + logger.info(f"The instance is {repr(env)}") if __name__ == "__main__":