From 162cb5a14215504545168b9b76448e8e6256030a Mon Sep 17 00:00:00 2001 From: kingh0730 <46679373+kingh0730@users.noreply.github.com> Date: Wed, 29 Nov 2023 00:31:31 +0000 Subject: [PATCH] fix --- AutoCkt/ML/autockt_ml/autockt_gym.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoCkt/ML/autockt_ml/autockt_gym.py b/AutoCkt/ML/autockt_ml/autockt_gym.py index 450300c..74ddc02 100644 --- a/AutoCkt/ML/autockt_ml/autockt_gym.py +++ b/AutoCkt/ML/autockt_ml/autockt_gym.py @@ -135,7 +135,7 @@ def step(self, action): "ideal_outputs": ideal_spec, "curr_output_norm": cur_norm, "ideal_output_norm": ideal_norm, - "observation": observation, + "observation": observation.tolist(), } pretty_log = json.dumps(log, indent=4) with open(self.log_file, "a") as f: