add queries
Browse files- .gitattributes +9 -0
- spot_output_2023-12-06-19-19-50_queries.pkl +3 -0
- test_data.py +3 -60
.gitattributes
CHANGED
|
@@ -53,3 +53,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
spot_output_2023-12-06-19-19-50_queries.pkl filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
spot_output_2023-12-08-13-32-25.pkl filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
spot_output_2023-12-08-19-54-23.pkl filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
spot_output_2023-12-11-14-07-09.pkl filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
test_data.py filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
spot_output_2023-12-06-19-19-50.pkl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
spot_output_2023-12-08-20-19-34.pkl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
spot_output_2023-12-13-15-52-14.pkl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
spot_output_2023-12-13-16-19-13.pkl filter=lfs diff=lfs merge=lfs -text
|
spot_output_2023-12-06-19-19-50_queries.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81ed55f7adebb4c42997b250719f4b64156a96d5d96c4a622fcd42b9fec05004
|
| 3 |
+
size 971498809
|
test_data.py
CHANGED
|
@@ -1,60 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
# LICENSE file in the root directory of this source tree.
|
| 5 |
-
|
| 6 |
-
import pickle
|
| 7 |
-
import cv2
|
| 8 |
-
from enum import Enum
|
| 9 |
-
from typing import Any, Dict, List, Optional
|
| 10 |
-
|
| 11 |
-
import matplotlib.pyplot as plt
|
| 12 |
-
import numpy as np
|
| 13 |
-
import open3d
|
| 14 |
-
import torch
|
| 15 |
-
from atomicwrites import atomic_write
|
| 16 |
-
from loguru import logger
|
| 17 |
-
|
| 18 |
-
import home_robot.utils.planar as nc
|
| 19 |
-
from examples.demo_utils.mock_agent import MockSpotDemoAgent
|
| 20 |
-
|
| 21 |
-
# Simple IO tool for robot agents
|
| 22 |
-
from home_robot.agent.multitask.robot_agent import RobotAgent, publish_obs
|
| 23 |
-
from home_robot.mapping.voxel import SparseVoxelMap # Aggregate 3d information
|
| 24 |
-
from home_robot.mapping.voxel import ( # Sample positions in free space for our robot to move to
|
| 25 |
-
SparseVoxelMapNavigationSpace,
|
| 26 |
-
)
|
| 27 |
-
from home_robot.motion import ConfigurationSpace, Planner, PlanResult
|
| 28 |
-
from home_robot.motion.rrt_connect import RRTConnect
|
| 29 |
-
from home_robot.motion.shortcut import Shortcut
|
| 30 |
-
from home_robot.motion.spot import ( # Just saves the Spot robot footprint for kinematic planning
|
| 31 |
-
SimpleSpotKinematics,
|
| 32 |
-
)
|
| 33 |
-
from home_robot.perception import create_semantic_sensor
|
| 34 |
-
from home_robot.perception.encoders import ClipEncoder
|
| 35 |
-
from home_robot.utils.config import Config, get_config, load_config
|
| 36 |
-
from home_robot.utils.demo_chat import (
|
| 37 |
-
DemoChat,
|
| 38 |
-
start_demo_ui_server,
|
| 39 |
-
stop_demo_ui_server,
|
| 40 |
-
)
|
| 41 |
-
from PIL import Image
|
| 42 |
-
from home_robot.utils.geometry import xyt_global_to_base
|
| 43 |
-
from home_robot.utils.point_cloud import numpy_to_pcd
|
| 44 |
-
from home_robot.utils.rpc import (
|
| 45 |
-
get_obj_centric_world_representation,
|
| 46 |
-
get_output_from_world_representation,
|
| 47 |
-
get_vlm_rpc_stub,
|
| 48 |
-
parse_pick_and_place_plan,
|
| 49 |
-
)
|
| 50 |
-
from home_robot.utils.threading import Interval
|
| 51 |
-
from home_robot.utils.visualization import get_x_and_y_from_path
|
| 52 |
-
from home_robot_spot import SpotClient, VoxelMapSubscriber
|
| 53 |
-
from home_robot_spot.grasp_env import GraspController
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
p = "/home/jaydv/code/home-robot/data/hw_exps/spot/2023-12-13-16-19-13/spot_output_2023-12-13-16-19-13.pkl"
|
| 57 |
-
ob = open(p, 'rb+')
|
| 58 |
-
obj = pickle.load(ob)
|
| 59 |
-
#obj should be a dict
|
| 60 |
-
print(obj.keys()) #['camera_poses', 'base_poses', 'xyz', 'rgb', 'depth', 'feats', 'obs', 'prompt', 'combined_xyz', 'combined_feats', 'combined_weights', 'combined_rgb']
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2e7dd574df2d7dbe36e9691887d67c8a1b67ebbd800ab28df4d2a3cabf5fdb3
|
| 3 |
+
size 2300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|