diff --git a/human_scene_transformer/__init__.py b/human_scene_transformer/__init__.py index db7a241..5d5d43e 100644 --- a/human_scene_transformer/__init__.py +++ b/human_scene_transformer/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/box_utils.py b/human_scene_transformer/data/box_utils.py index a9a41b5..e4d8434 100644 --- a/human_scene_transformer/data/box_utils.py +++ b/human_scene_transformer/data/box_utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/extract_robot_odometry_from_rosbag.py b/human_scene_transformer/data/extract_robot_odometry_from_rosbag.py index cb6bb35..7e03f19 100644 --- a/human_scene_transformer/data/extract_robot_odometry_from_rosbag.py +++ b/human_scene_transformer/data/extract_robot_odometry_from_rosbag.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/jrdb_preprocess_test.py b/human_scene_transformer/data/jrdb_preprocess_test.py index fc3ca95..f529a6e 100644 --- a/human_scene_transformer/data/jrdb_preprocess_test.py +++ b/human_scene_transformer/data/jrdb_preprocess_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/jrdb_preprocess_train.py b/human_scene_transformer/data/jrdb_preprocess_train.py index 8432829..5ec2e48 100644 --- a/human_scene_transformer/data/jrdb_preprocess_train.py +++ b/human_scene_transformer/data/jrdb_preprocess_train.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/jrdb_train_detections_to_tracks.py b/human_scene_transformer/data/jrdb_train_detections_to_tracks.py index 761fad7..e0abba8 100644 --- a/human_scene_transformer/data/jrdb_train_detections_to_tracks.py +++ b/human_scene_transformer/data/jrdb_train_detections_to_tracks.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/math/data_types.py b/human_scene_transformer/data/math/data_types.py index db89ef1..4a4c2ae 100644 --- a/human_scene_transformer/data/math/data_types.py +++ b/human_scene_transformer/data/math/data_types.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/math/math_types.py b/human_scene_transformer/data/math/math_types.py index 5307636..3c33359 100644 --- a/human_scene_transformer/data/math/math_types.py +++ b/human_scene_transformer/data/math/math_types.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/math/pose3.py b/human_scene_transformer/data/math/pose3.py index 8770148..a8340b0 100644 --- a/human_scene_transformer/data/math/pose3.py +++ b/human_scene_transformer/data/math/pose3.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/math/quaternion.py b/human_scene_transformer/data/math/quaternion.py index 3f85903..a690064 100644 --- a/human_scene_transformer/data/math/quaternion.py +++ b/human_scene_transformer/data/math/quaternion.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -471,4 +471,9 @@ def __repr__(self) -> Text: Returns the string, 'Quaternion([x, y, z, w])', which can be used to regenerate the quaternion. """ - return 'Quaternion([%r, %r, %r, %r])' % (self.x, self.y, self.z, self.w) + return 'Quaternion([%r, %r, %r, %r])' % ( + float(self.x), + float(self.y), + float(self.z), + float(self.w), + ) diff --git a/human_scene_transformer/data/math/rotation3.py b/human_scene_transformer/data/math/rotation3.py index 838e76d..2ebd07a 100644 --- a/human_scene_transformer/data/math/rotation3.py +++ b/human_scene_transformer/data/math/rotation3.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/math/vector_util.py b/human_scene_transformer/data/math/vector_util.py index acdedb3..bb6e82f 100644 --- a/human_scene_transformer/data/math/vector_util.py +++ b/human_scene_transformer/data/math/vector_util.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/data/utils.py b/human_scene_transformer/data/utils.py index 88eddad..b421ce8 100644 --- a/human_scene_transformer/data/utils.py +++ b/human_scene_transformer/data/utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/is_hidden_generators.py b/human_scene_transformer/is_hidden_generators.py index 75fac48..4382510 100644 --- a/human_scene_transformer/is_hidden_generators.py +++ b/human_scene_transformer/is_hidden_generators.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/dataset_params.py b/human_scene_transformer/jrdb/dataset_params.py index bd565dc..aa29520 100644 --- a/human_scene_transformer/jrdb/dataset_params.py +++ b/human_scene_transformer/jrdb/dataset_params.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/eval.py b/human_scene_transformer/jrdb/eval.py index 9697e0b..07dfd16 100644 --- a/human_scene_transformer/jrdb/eval.py +++ b/human_scene_transformer/jrdb/eval.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/eval_challenge.py b/human_scene_transformer/jrdb/eval_challenge.py index e1c479d..95b821b 100644 --- a/human_scene_transformer/jrdb/eval_challenge.py +++ b/human_scene_transformer/jrdb/eval_challenge.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/eval_keypoints.py b/human_scene_transformer/jrdb/eval_keypoints.py index a1c7f87..0714d0d 100644 --- a/human_scene_transformer/jrdb/eval_keypoints.py +++ b/human_scene_transformer/jrdb/eval_keypoints.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/input_fn.py b/human_scene_transformer/jrdb/input_fn.py index 21c7c56..cc68392 100644 --- a/human_scene_transformer/jrdb/input_fn.py +++ b/human_scene_transformer/jrdb/input_fn.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/jrdb/torch_dataset.py b/human_scene_transformer/jrdb/torch_dataset.py index 62f15c5..0a97892 100644 --- a/human_scene_transformer/jrdb/torch_dataset.py +++ b/human_scene_transformer/jrdb/torch_dataset.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/losses.py b/human_scene_transformer/losses.py index 989a2ff..3848b1d 100644 --- a/human_scene_transformer/losses.py +++ b/human_scene_transformer/losses.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/metrics/ade.py b/human_scene_transformer/metrics/ade.py index bccb901..2afea91 100644 --- a/human_scene_transformer/metrics/ade.py +++ b/human_scene_transformer/metrics/ade.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/metrics/mean_angle_error.py b/human_scene_transformer/metrics/mean_angle_error.py index 6c5cd55..c6595d7 100644 --- a/human_scene_transformer/metrics/mean_angle_error.py +++ b/human_scene_transformer/metrics/mean_angle_error.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/metrics/metrics.py b/human_scene_transformer/metrics/metrics.py index e65d68a..fda3d66 100644 --- a/human_scene_transformer/metrics/metrics.py +++ b/human_scene_transformer/metrics/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/metrics/pos_nll.py b/human_scene_transformer/metrics/pos_nll.py index 8a3a468..1f2694d 100644 --- a/human_scene_transformer/metrics/pos_nll.py +++ b/human_scene_transformer/metrics/pos_nll.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/agent_encoder.py b/human_scene_transformer/model/agent_encoder.py index 24647f6..a66a1eb 100644 --- a/human_scene_transformer/model/agent_encoder.py +++ b/human_scene_transformer/model/agent_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/agent_feature_encoder.py b/human_scene_transformer/model/agent_feature_encoder.py index 6537786..e256a43 100644 --- a/human_scene_transformer/model/agent_feature_encoder.py +++ b/human_scene_transformer/model/agent_feature_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/agent_self_alignment.py b/human_scene_transformer/model/agent_self_alignment.py index cfc3e12..b7bcc09 100644 --- a/human_scene_transformer/model/agent_self_alignment.py +++ b/human_scene_transformer/model/agent_self_alignment.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/attention.py b/human_scene_transformer/model/attention.py index 779329a..e4884db 100644 --- a/human_scene_transformer/model/attention.py +++ b/human_scene_transformer/model/attention.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/embedding.py b/human_scene_transformer/model/embedding.py index 26b99b1..abe0d62 100644 --- a/human_scene_transformer/model/embedding.py +++ b/human_scene_transformer/model/embedding.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/head.py b/human_scene_transformer/model/head.py index 9fe1994..381d57d 100644 --- a/human_scene_transformer/model/head.py +++ b/human_scene_transformer/model/head.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/model.py b/human_scene_transformer/model/model.py index 61a9282..ac59709 100644 --- a/human_scene_transformer/model/model.py +++ b/human_scene_transformer/model/model.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/model_params.py b/human_scene_transformer/model/model_params.py index 525acbc..4fdbc1c 100644 --- a/human_scene_transformer/model/model_params.py +++ b/human_scene_transformer/model/model_params.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/multimodality_induction.py b/human_scene_transformer/model/multimodality_induction.py index 0634b77..6d33b51 100644 --- a/human_scene_transformer/model/multimodality_induction.py +++ b/human_scene_transformer/model/multimodality_induction.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/output_distributions.py b/human_scene_transformer/model/output_distributions.py index f808173..63fe8f9 100644 --- a/human_scene_transformer/model/output_distributions.py +++ b/human_scene_transformer/model/output_distributions.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/preprocess.py b/human_scene_transformer/model/preprocess.py index c2f61f8..5833480 100644 --- a/human_scene_transformer/model/preprocess.py +++ b/human_scene_transformer/model/preprocess.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/model/scene_encoder.py b/human_scene_transformer/model/scene_encoder.py index 7a70b5f..0a2b55d 100644 --- a/human_scene_transformer/model/scene_encoder.py +++ b/human_scene_transformer/model/scene_encoder.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/pedestrians/dataset_params.py b/human_scene_transformer/pedestrians/dataset_params.py index 9b50ee7..ade5de3 100644 --- a/human_scene_transformer/pedestrians/dataset_params.py +++ b/human_scene_transformer/pedestrians/dataset_params.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/pedestrians/eval.py b/human_scene_transformer/pedestrians/eval.py index eb0f906..b3820d5 100644 --- a/human_scene_transformer/pedestrians/eval.py +++ b/human_scene_transformer/pedestrians/eval.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/pedestrians/input_fn.py b/human_scene_transformer/pedestrians/input_fn.py index d21bcf4..98ad11e 100644 --- a/human_scene_transformer/pedestrians/input_fn.py +++ b/human_scene_transformer/pedestrians/input_fn.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/train.py b/human_scene_transformer/train.py index 16b4c18..1a8e1fc 100644 --- a/human_scene_transformer/train.py +++ b/human_scene_transformer/train.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/train_model.py b/human_scene_transformer/train_model.py index 29cfe96..af6f53b 100644 --- a/human_scene_transformer/train_model.py +++ b/human_scene_transformer/train_model.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/human_scene_transformer/training_params.py b/human_scene_transformer/training_params.py index bc818ef..310dae5 100644 --- a/human_scene_transformer/training_params.py +++ b/human_scene_transformer/training_params.py @@ -1,4 +1,4 @@ -# Copyright 2023 The human_scene_transformer Authors. +# Copyright 2024 The human_scene_transformer Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.