From c9daf6591749a1ebb3da7e377bd9f0919e8cf015 Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 20 Jun 2023 15:54:07 +0200 Subject: [PATCH] fixing the parameters is working --- src/active_bo_ros/active_bo_ros/interactive_bo.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/active_bo_ros/active_bo_ros/interactive_bo.py b/src/active_bo_ros/active_bo_ros/interactive_bo.py index 82a0536..f956a76 100644 --- a/src/active_bo_ros/active_bo_ros/interactive_bo.py +++ b/src/active_bo_ros/active_bo_ros/interactive_bo.py @@ -363,16 +363,16 @@ class ActiveBOTopic(Node): else: x_next = self.BO.next_observation() - self.get_logger().info(f'x_next: {x_next}') - self.get_logger().info(f'overwrite: {self.overwrite_weight}') - self.get_logger().info(f'rl_weights: {self.rl_weights}') + # self.get_logger().info(f'x_next: {x_next}') + # self.get_logger().info(f'overwrite: {self.overwrite_weight}') + # self.get_logger().info(f'rl_weights: {self.rl_weights}') if self.overwrite: if self.overwrite_weight is not None and self.rl_weights is not None: x_next[self.overwrite_weight] = self.rl_weights[self.overwrite_weight] - self.get_logger().info(f'x_next: {x_next}') - self.get_logger().info(f'overwrite: {self.overwrite_weight}') - self.get_logger().info(f'rl_weights: {self.rl_weights}') + # self.get_logger().info(f'x_next: {x_next}') + # self.get_logger().info(f'overwrite: {self.overwrite_weight}') + # self.get_logger().info(f'rl_weights: {self.rl_weights}') # self.get_logger().info('Next Observation BO!') self.BO.policy_model.weights = np.around(x_next, decimals=8) if self.bo_fixed_seed: