From 28329b45cfd428204a3ccc8437ec5d2072fcbb30 Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Tue, 13 Dec 2022 16:33:37 +0100 Subject: [PATCH] Update un numpy requirements for carla_birdeye_view package --- .../brains/CARLA/brain_carla_bird_eye_deep_learning.py | 3 ++- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/behavior_metrics/brains/CARLA/brain_carla_bird_eye_deep_learning.py b/behavior_metrics/brains/CARLA/brain_carla_bird_eye_deep_learning.py index 1d75f9eb..4d536446 100644 --- a/behavior_metrics/brains/CARLA/brain_carla_bird_eye_deep_learning.py +++ b/behavior_metrics/brains/CARLA/brain_carla_bird_eye_deep_learning.py @@ -60,7 +60,8 @@ def __init__(self, sensors, actuators, handler, config=None): #print(world.get_actors()) self.vehicle = world.get_actors().filter('vehicle.*')[0] - model = '/home/jderobot/Documents/Projects/BehaviorMetrics/PlayingWithCARLA/models/20221104-143528_pilotnet_CARLA_17_10_dataset_bird_eye_300_epochs_no_flip_3_output_velocity_all_towns_vel_30_cp.h5' + model = '/home/jderobot/Documents/Projects/BehaviorMetrics/behavior_metrics/models/20221104-143528_pilotnet_CARLA_17_10_dataset_bird_eye_300_epochs_no_flip_3_output_velocity_all_towns_vel_30_cp.h5' + self.net = tf.keras.models.load_model(model) self.previous_speed = 0 diff --git a/requirements.txt b/requirements.txt index 38f7a718..df15bfe7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ rospkg==1.2.9 pathlib==1.0.1 jderobot-jderobottypes==1.0.0 catkin_pkg==0.4.23 -numpy==1.22.0 +numpy==1.18.3 matplotlib==3.1.2 kiwisolver==1.2 defusedxml==0.6.0 @@ -35,4 +35,4 @@ tensorflow-gpu==2.7.2 albumentations==1.0.3 protobuf==3.20.2 carla_birdeye_view==1.1.1 -transforms3d==0.4.1 \ No newline at end of file +transforms3d==0.4.1