From b5daf2360540746a8df578c727643a3b45b34862 Mon Sep 17 00:00:00 2001 From: Jiuguang Wang Date: Mon, 16 Oct 2023 11:15:56 -0400 Subject: [PATCH] Add BDAII copyright statement --- .github/workflows/pre_commit.yml | 2 ++ config/experiments/reality.yaml | 2 ++ config/experiments/ver_pointnav.yaml | 2 ++ config/experiments/vlfm_objectnav_hm3d.yaml | 2 ++ config/tasks/pointnav_depth_hm3d.yaml | 2 ++ docker/Dockerfile | 2 ++ scripts/parse_jsons.py | 2 ++ test/test_setup.py | 2 ++ test/test_visualization.py | 2 ++ vlfm/__init__.py | 1 + vlfm/mapping/base_map.py | 2 ++ vlfm/mapping/frontier_map.py | 2 ++ vlfm/mapping/object_point_cloud_map.py | 2 ++ vlfm/mapping/obstacle_map.py | 2 ++ vlfm/mapping/traj_visualizer.py | 2 ++ vlfm/mapping/value_map.py | 2 ++ vlfm/measurements/traveled_stairs.py | 2 ++ vlfm/obs_transformers/resize.py | 2 ++ vlfm/obs_transformers/utils.py | 2 ++ vlfm/policy/__init__.py | 1 + vlfm/policy/action_replay_policy.py | 2 ++ vlfm/policy/base_objectnav_policy.py | 2 ++ vlfm/policy/base_policy.py | 2 ++ vlfm/policy/habitat_policies.py | 2 ++ vlfm/policy/itm_policy.py | 2 ++ vlfm/policy/reality_policies.py | 2 ++ vlfm/policy/utils/__init__.py | 1 + vlfm/policy/utils/acyclic_enforcer.py | 2 ++ vlfm/policy/utils/non_habitat_policy/__init__.py | 1 + vlfm/policy/utils/non_habitat_policy/nh_pointnav_policy.py | 2 ++ vlfm/policy/utils/non_habitat_policy/resnet.py | 2 ++ vlfm/policy/utils/non_habitat_policy/rnn_state_encoder.py | 2 ++ vlfm/policy/utils/pointnav_policy.py | 2 ++ vlfm/reality/bdsw_nav_env.py | 2 ++ vlfm/reality/objectnav_env.py | 2 ++ vlfm/reality/pointnav_env.py | 2 ++ vlfm/reality/robots/base_robot.py | 2 ++ vlfm/reality/robots/bdsw_robot.py | 2 ++ vlfm/reality/robots/camera_ids.py | 3 +++ vlfm/reality/run_bdsw_objnav_env.py | 2 ++ vlfm/run.py | 2 ++ vlfm/semexp_env/eval.py | 2 ++ vlfm/semexp_env/objnav_gibson_zsos.yaml | 2 ++ vlfm/semexp_env/semexp_policy.py | 2 ++ vlfm/utils/episode_stats_logger.py | 2 ++ vlfm/utils/generate_dummy_policy.py | 2 ++ vlfm/utils/geometry_utils.py | 2 ++ vlfm/utils/habitat_visualizer.py | 2 ++ vlfm/utils/img_utils.py | 2 ++ vlfm/utils/log_saver.py | 2 ++ vlfm/utils/visualization.py | 2 ++ vlfm/utils/vlfm_trainer.py | 2 ++ vlfm/vlm/__init__.py | 1 + vlfm/vlm/blip2.py | 2 ++ vlfm/vlm/blip2itm.py | 2 ++ vlfm/vlm/coco_classes.py | 2 ++ vlfm/vlm/detections.py | 2 ++ vlfm/vlm/fiber.py | 2 ++ vlfm/vlm/grounding_dino.py | 2 ++ vlfm/vlm/sam.py | 2 ++ vlfm/vlm/server_wrapper.py | 2 ++ vlfm/vlm/yolov7.py | 2 ++ 62 files changed, 120 insertions(+) diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml index 84e6a1f..644c819 100644 --- a/.github/workflows/pre_commit.yml +++ b/.github/workflows/pre_commit.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + name: Pre-Commit on: diff --git a/config/experiments/reality.yaml b/config/experiments/reality.yaml index ab3086c..236a26a 100644 --- a/config/experiments/reality.yaml +++ b/config/experiments/reality.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # @package _global_ defaults: - /policy: zsos_config_base diff --git a/config/experiments/ver_pointnav.yaml b/config/experiments/ver_pointnav.yaml index c27e432..4dec75b 100644 --- a/config/experiments/ver_pointnav.yaml +++ b/config/experiments/ver_pointnav.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # @package _global_ defaults: diff --git a/config/experiments/vlfm_objectnav_hm3d.yaml b/config/experiments/vlfm_objectnav_hm3d.yaml index e88feaf..a94b4e2 100644 --- a/config/experiments/vlfm_objectnav_hm3d.yaml +++ b/config/experiments/vlfm_objectnav_hm3d.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # @package _global_ defaults: diff --git a/config/tasks/pointnav_depth_hm3d.yaml b/config/tasks/pointnav_depth_hm3d.yaml index acc60bb..1051a1d 100644 --- a/config/tasks/pointnav_depth_hm3d.yaml +++ b/config/tasks/pointnav_depth_hm3d.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # @package _global_ defaults: diff --git a/docker/Dockerfile b/docker/Dockerfile index ccde070..5abf7a1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive diff --git a/scripts/parse_jsons.py b/scripts/parse_jsons.py index e7a781f..949d2d9 100644 --- a/scripts/parse_jsons.py +++ b/scripts/parse_jsons.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import argparse import json import os diff --git a/test/test_setup.py b/test/test_setup.py index 4af050f..3847d66 100644 --- a/test/test_setup.py +++ b/test/test_setup.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from habitat_baselines.common.baseline_registry import baseline_registry # noqa diff --git a/test/test_visualization.py b/test/test_visualization.py index 2945109..cb0c969 100644 --- a/test/test_visualization.py +++ b/test/test_visualization.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os import cv2 diff --git a/vlfm/__init__.py b/vlfm/__init__.py index e69de29..fcb2c05 100644 --- a/vlfm/__init__.py +++ b/vlfm/__init__.py @@ -0,0 +1 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. diff --git a/vlfm/mapping/base_map.py b/vlfm/mapping/base_map.py index 3c53a96..62f2eeb 100644 --- a/vlfm/mapping/base_map.py +++ b/vlfm/mapping/base_map.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, List import numpy as np diff --git a/vlfm/mapping/frontier_map.py b/vlfm/mapping/frontier_map.py index 0eeffde..57ebe05 100644 --- a/vlfm/mapping/frontier_map.py +++ b/vlfm/mapping/frontier_map.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import List, Tuple import numpy as np diff --git a/vlfm/mapping/object_point_cloud_map.py b/vlfm/mapping/object_point_cloud_map.py index 77994e2..df38d54 100644 --- a/vlfm/mapping/object_point_cloud_map.py +++ b/vlfm/mapping/object_point_cloud_map.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Dict, Union import cv2 diff --git a/vlfm/mapping/obstacle_map.py b/vlfm/mapping/obstacle_map.py index 59f069f..79a2962 100644 --- a/vlfm/mapping/obstacle_map.py +++ b/vlfm/mapping/obstacle_map.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import cv2 import numpy as np from frontier_exploration.frontier_detection import detect_frontier_waypoints diff --git a/vlfm/mapping/traj_visualizer.py b/vlfm/mapping/traj_visualizer.py index 46dc8a9..4233c92 100644 --- a/vlfm/mapping/traj_visualizer.py +++ b/vlfm/mapping/traj_visualizer.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, List, Union import cv2 diff --git a/vlfm/mapping/value_map.py b/vlfm/mapping/value_map.py index e8ce9ea..cfc1e90 100644 --- a/vlfm/mapping/value_map.py +++ b/vlfm/mapping/value_map.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import glob import json import os diff --git a/vlfm/measurements/traveled_stairs.py b/vlfm/measurements/traveled_stairs.py index 772d6fa..fb8fd5f 100644 --- a/vlfm/measurements/traveled_stairs.py +++ b/vlfm/measurements/traveled_stairs.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from dataclasses import dataclass from typing import Any, List diff --git a/vlfm/obs_transformers/resize.py b/vlfm/obs_transformers/resize.py index 9059b37..0493c2a 100644 --- a/vlfm/obs_transformers/resize.py +++ b/vlfm/obs_transformers/resize.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import copy from dataclasses import dataclass from typing import Dict, Tuple diff --git a/vlfm/obs_transformers/utils.py b/vlfm/obs_transformers/utils.py index 3cbe15b..c304b4c 100644 --- a/vlfm/obs_transformers/utils.py +++ b/vlfm/obs_transformers/utils.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Tuple import torch diff --git a/vlfm/policy/__init__.py b/vlfm/policy/__init__.py index e69de29..fcb2c05 100644 --- a/vlfm/policy/__init__.py +++ b/vlfm/policy/__init__.py @@ -0,0 +1 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. diff --git a/vlfm/policy/action_replay_policy.py b/vlfm/policy/action_replay_policy.py index c8c9303..59092da 100644 --- a/vlfm/policy/action_replay_policy.py +++ b/vlfm/policy/action_replay_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from typing import Any, List diff --git a/vlfm/policy/base_objectnav_policy.py b/vlfm/policy/base_objectnav_policy.py index e318152..0ac3783 100644 --- a/vlfm/policy/base_objectnav_policy.py +++ b/vlfm/policy/base_objectnav_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from dataclasses import dataclass, fields from typing import Any, Dict, List, Tuple, Union diff --git a/vlfm/policy/base_policy.py b/vlfm/policy/base_policy.py index 4022c31..b9c6db8 100644 --- a/vlfm/policy/base_policy.py +++ b/vlfm/policy/base_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Generator import torch diff --git a/vlfm/policy/habitat_policies.py b/vlfm/policy/habitat_policies.py index 2a42f83..5d85dd9 100644 --- a/vlfm/policy/habitat_policies.py +++ b/vlfm/policy/habitat_policies.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from dataclasses import dataclass from typing import Any, Dict, Union diff --git a/vlfm/policy/itm_policy.py b/vlfm/policy/itm_policy.py index 3f13818..c5bd559 100644 --- a/vlfm/policy/itm_policy.py +++ b/vlfm/policy/itm_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from typing import Any, Dict, List, Tuple, Union diff --git a/vlfm/policy/reality_policies.py b/vlfm/policy/reality_policies.py index 6ee3fa6..79a3c9d 100644 --- a/vlfm/policy/reality_policies.py +++ b/vlfm/policy/reality_policies.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from dataclasses import dataclass from typing import Any, Dict, List, Tuple, Union diff --git a/vlfm/policy/utils/__init__.py b/vlfm/policy/utils/__init__.py index e69de29..fcb2c05 100644 --- a/vlfm/policy/utils/__init__.py +++ b/vlfm/policy/utils/__init__.py @@ -0,0 +1 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. diff --git a/vlfm/policy/utils/acyclic_enforcer.py b/vlfm/policy/utils/acyclic_enforcer.py index 987188c..be85bcb 100644 --- a/vlfm/policy/utils/acyclic_enforcer.py +++ b/vlfm/policy/utils/acyclic_enforcer.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Set import numpy as np diff --git a/vlfm/policy/utils/non_habitat_policy/__init__.py b/vlfm/policy/utils/non_habitat_policy/__init__.py index e69de29..fcb2c05 100644 --- a/vlfm/policy/utils/non_habitat_policy/__init__.py +++ b/vlfm/policy/utils/non_habitat_policy/__init__.py @@ -0,0 +1 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. diff --git a/vlfm/policy/utils/non_habitat_policy/nh_pointnav_policy.py b/vlfm/policy/utils/non_habitat_policy/nh_pointnav_policy.py index a64a0d5..f0578e0 100644 --- a/vlfm/policy/utils/non_habitat_policy/nh_pointnav_policy.py +++ b/vlfm/policy/utils/non_habitat_policy/nh_pointnav_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Dict, Optional, Tuple import torch diff --git a/vlfm/policy/utils/non_habitat_policy/resnet.py b/vlfm/policy/utils/non_habitat_policy/resnet.py index 049f909..e94737e 100755 --- a/vlfm/policy/utils/non_habitat_policy/resnet.py +++ b/vlfm/policy/utils/non_habitat_policy/resnet.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # Adapted from: # https://github.com/facebookresearch/habitat-lab/blob/main/habitat-baselines/habitat_baselines/rl/ddppo/policy/resnet.py diff --git a/vlfm/policy/utils/non_habitat_policy/rnn_state_encoder.py b/vlfm/policy/utils/non_habitat_policy/rnn_state_encoder.py index ce0a32c..30e0ea2 100755 --- a/vlfm/policy/utils/non_habitat_policy/rnn_state_encoder.py +++ b/vlfm/policy/utils/non_habitat_policy/rnn_state_encoder.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + # Adapted from: # https://github.com/facebookresearch/habitat-lab/blob/main/habitat-baselines/habitat_baselines/rl/models/rnn_state_encoder.py diff --git a/vlfm/policy/utils/pointnav_policy.py b/vlfm/policy/utils/pointnav_policy.py index 9222fd0..b05b55d 100644 --- a/vlfm/policy/utils/pointnav_policy.py +++ b/vlfm/policy/utils/pointnav_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Dict, Tuple, Union import numpy as np diff --git a/vlfm/reality/bdsw_nav_env.py b/vlfm/reality/bdsw_nav_env.py index 07dbbe1..3072ee6 100644 --- a/vlfm/reality/bdsw_nav_env.py +++ b/vlfm/reality/bdsw_nav_env.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import numpy as np import torch from spot_wrapper.spot import Spot diff --git a/vlfm/reality/objectnav_env.py b/vlfm/reality/objectnav_env.py index dbb5677..a8b2264 100644 --- a/vlfm/reality/objectnav_env.py +++ b/vlfm/reality/objectnav_env.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os import time from datetime import datetime diff --git a/vlfm/reality/pointnav_env.py b/vlfm/reality/pointnav_env.py index 062641f..191ee96 100644 --- a/vlfm/reality/pointnav_env.py +++ b/vlfm/reality/pointnav_env.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import time from typing import Any, Dict, Optional, Tuple, Union diff --git a/vlfm/reality/robots/base_robot.py b/vlfm/reality/robots/base_robot.py index ded2faf..903ebeb 100644 --- a/vlfm/reality/robots/base_robot.py +++ b/vlfm/reality/robots/base_robot.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Dict, List, Tuple import numpy as np diff --git a/vlfm/reality/robots/bdsw_robot.py b/vlfm/reality/robots/bdsw_robot.py index a67a8f0..aa81e96 100644 --- a/vlfm/reality/robots/bdsw_robot.py +++ b/vlfm/reality/robots/bdsw_robot.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Dict, List, Tuple import numpy as np diff --git a/vlfm/reality/robots/camera_ids.py b/vlfm/reality/robots/camera_ids.py index 066960b..fb42cea 100644 --- a/vlfm/reality/robots/camera_ids.py +++ b/vlfm/reality/robots/camera_ids.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + + class SpotCamIds: r"""Enumeration of types of cameras.""" diff --git a/vlfm/reality/run_bdsw_objnav_env.py b/vlfm/reality/run_bdsw_objnav_env.py index 8dee883..46edf3e 100644 --- a/vlfm/reality/run_bdsw_objnav_env.py +++ b/vlfm/reality/run_bdsw_objnav_env.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import time import hydra diff --git a/vlfm/run.py b/vlfm/run.py index 878a7bb..8cf3bf7 100644 --- a/vlfm/run.py +++ b/vlfm/run.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os # The following imports require habitat to be installed, and despite not being used by diff --git a/vlfm/semexp_env/eval.py b/vlfm/semexp_env/eval.py index 5e007e9..a439cfc 100644 --- a/vlfm/semexp_env/eval.py +++ b/vlfm/semexp_env/eval.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os import time from typing import Any, Dict, List, Tuple diff --git a/vlfm/semexp_env/objnav_gibson_zsos.yaml b/vlfm/semexp_env/objnav_gibson_zsos.yaml index 4c6ff56..6ab74a0 100644 --- a/vlfm/semexp_env/objnav_gibson_zsos.yaml +++ b/vlfm/semexp_env/objnav_gibson_zsos.yaml @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + ENVIRONMENT: MAX_EPISODE_STEPS: 500 SIMULATOR: diff --git a/vlfm/semexp_env/semexp_policy.py b/vlfm/semexp_env/semexp_policy.py index 2c8ae39..3571219 100644 --- a/vlfm/semexp_env/semexp_policy.py +++ b/vlfm/semexp_env/semexp_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Dict, Tuple, Union import numpy as np diff --git a/vlfm/utils/episode_stats_logger.py b/vlfm/utils/episode_stats_logger.py index ad34b1b..4b31da9 100644 --- a/vlfm/utils/episode_stats_logger.py +++ b/vlfm/utils/episode_stats_logger.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from typing import Any, Dict diff --git a/vlfm/utils/generate_dummy_policy.py b/vlfm/utils/generate_dummy_policy.py index 9d9aa74..e1cdeb2 100644 --- a/vlfm/utils/generate_dummy_policy.py +++ b/vlfm/utils/generate_dummy_policy.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import torch from vlfm.run import get_config diff --git a/vlfm/utils/geometry_utils.py b/vlfm/utils/geometry_utils.py index 175aa87..e03e7e9 100644 --- a/vlfm/utils/geometry_utils.py +++ b/vlfm/utils/geometry_utils.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import math from typing import Tuple, Union diff --git a/vlfm/utils/habitat_visualizer.py b/vlfm/utils/habitat_visualizer.py index c09b375..7f622cf 100644 --- a/vlfm/utils/habitat_visualizer.py +++ b/vlfm/utils/habitat_visualizer.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Dict, List, Tuple import cv2 diff --git a/vlfm/utils/img_utils.py b/vlfm/utils/img_utils.py index 8dc0177..fe5cb0c 100644 --- a/vlfm/utils/img_utils.py +++ b/vlfm/utils/img_utils.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import List, Tuple, Union import cv2 diff --git a/vlfm/utils/log_saver.py b/vlfm/utils/log_saver.py index 9994e98..c1d200a 100644 --- a/vlfm/utils/log_saver.py +++ b/vlfm/utils/log_saver.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import json import os import time diff --git a/vlfm/utils/visualization.py b/vlfm/utils/visualization.py index 3ee7666..ac4577c 100644 --- a/vlfm/utils/visualization.py +++ b/vlfm/utils/visualization.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import List import cv2 diff --git a/vlfm/utils/vlfm_trainer.py b/vlfm/utils/vlfm_trainer.py index 620bccb..db344e2 100644 --- a/vlfm/utils/vlfm_trainer.py +++ b/vlfm/utils/vlfm_trainer.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from collections import defaultdict from typing import Any, Dict, List diff --git a/vlfm/vlm/__init__.py b/vlfm/vlm/__init__.py index e69de29..fcb2c05 100644 --- a/vlfm/vlm/__init__.py +++ b/vlfm/vlm/__init__.py @@ -0,0 +1 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. diff --git a/vlfm/vlm/blip2.py b/vlfm/vlm/blip2.py index e05133f..204ea07 100644 --- a/vlfm/vlm/blip2.py +++ b/vlfm/vlm/blip2.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Optional import numpy as np diff --git a/vlfm/vlm/blip2itm.py b/vlfm/vlm/blip2itm.py index f827e8c..4715759 100644 --- a/vlfm/vlm/blip2itm.py +++ b/vlfm/vlm/blip2itm.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Any, Optional import numpy as np diff --git a/vlfm/vlm/coco_classes.py b/vlfm/vlm/coco_classes.py index 09e40c0..af21b20 100644 --- a/vlfm/vlm/coco_classes.py +++ b/vlfm/vlm/coco_classes.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + COCO_CLASSES = [ "person", "bicycle", diff --git a/vlfm/vlm/detections.py b/vlfm/vlm/detections.py index 7893f71..9dbae44 100644 --- a/vlfm/vlm/detections.py +++ b/vlfm/vlm/detections.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import List, Optional, Tuple import cv2 diff --git a/vlfm/vlm/fiber.py b/vlfm/vlm/fiber.py index 4d49274..e4bc35c 100644 --- a/vlfm/vlm/fiber.py +++ b/vlfm/vlm/fiber.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import numpy as np import torch from maskrcnn_benchmark.config import cfg diff --git a/vlfm/vlm/grounding_dino.py b/vlfm/vlm/grounding_dino.py index b63a669..e2aa92d 100644 --- a/vlfm/vlm/grounding_dino.py +++ b/vlfm/vlm/grounding_dino.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + from typing import Optional import numpy as np diff --git a/vlfm/vlm/sam.py b/vlfm/vlm/sam.py index 51f1ef8..548b6bd 100644 --- a/vlfm/vlm/sam.py +++ b/vlfm/vlm/sam.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import os from typing import Any, List, Optional diff --git a/vlfm/vlm/server_wrapper.py b/vlfm/vlm/server_wrapper.py index 8a172f1..32d2d00 100644 --- a/vlfm/vlm/server_wrapper.py +++ b/vlfm/vlm/server_wrapper.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import base64 import os import random diff --git a/vlfm/vlm/yolov7.py b/vlfm/vlm/yolov7.py index 918064e..0ec8c4f 100644 --- a/vlfm/vlm/yolov7.py +++ b/vlfm/vlm/yolov7.py @@ -1,3 +1,5 @@ +# Copyright (c) 2023 Boston Dynamics AI Institute LLC. All rights reserved. + import sys from typing import List, Optional