Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- third_party/PointFlowMatch/bash/collect_data.sh +23 -0
- third_party/PointFlowMatch/bash/install_deps.sh +15 -0
- third_party/PointFlowMatch/bash/install_rlbench.sh +21 -0
- third_party/PointFlowMatch/bash/start_eval.sh +15 -0
- third_party/PointFlowMatch/bash/start_eval_ksteps.sh +17 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-25-21/evaluate.log +1 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/hydra.yaml +159 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/overrides.yaml +5 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/evaluate.log +1 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/hydra.yaml +159 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/overrides.yaml +5 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/evaluate.log +2 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/hydra.yaml +159 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/overrides.yaml +5 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/evaluate.log +2 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/hydra.yaml +160 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/overrides.yaml +6 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/evaluate.log +2 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/hydra.yaml +160 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/overrides.yaml +6 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/evaluate.log +2 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/config.yaml +14 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/hydra.yaml +160 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/overrides.yaml +6 -0
- third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/evaluate.log +2 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/__init__.py +30 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/base.py +153 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/kitchen_lowdim_wrapper.py +49 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/kitchen_util.py +51 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/adept_models/__init__.py +0 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/LICENSE +201 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/README.md +9 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/actuator0.xml +17 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/actuator1.xml +13 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/assets.xml +63 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/chain0_overlay.xml +62 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/teleop_actuator.xml +24 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/bi-franka_panda.xml +81 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/franka_panda.xml +38 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/franka_panda_teleop.xml +54 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/finger.stl +0 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/hand.stl +0 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link0.stl +0 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link1.stl +0 -0
- third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link2.stl +0 -0
third_party/PointFlowMatch/bash/collect_data.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=unplug_charger
|
| 2 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=unplug_charger
|
| 3 |
+
|
| 4 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=close_door
|
| 5 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=close_door
|
| 6 |
+
|
| 7 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=open_box
|
| 8 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=open_box
|
| 9 |
+
|
| 10 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=open_fridge
|
| 11 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=open_fridge
|
| 12 |
+
|
| 13 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=take_frame_off_hanger
|
| 14 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=take_frame_off_hanger
|
| 15 |
+
|
| 16 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=open_oven
|
| 17 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=open_oven
|
| 18 |
+
|
| 19 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=put_books_on_bookshelf
|
| 20 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=put_books_on_bookshelf
|
| 21 |
+
|
| 22 |
+
python scripts/collect_demos.py --config-name=collect_demos_train save_data=True env_config.vis=False env_config.task_name=take_shoes_out_of_box
|
| 23 |
+
python scripts/collect_demos.py --config-name=collect_demos_valid save_data=True env_config.vis=False env_config.task_name=take_shoes_out_of_box
|
third_party/PointFlowMatch/bash/install_deps.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if ! [[ -n "${CONDA_PREFIX}" ]]; then
|
| 2 |
+
echo "You are not inside a conda environment. Please activate your environment first."
|
| 3 |
+
exit 1
|
| 4 |
+
fi
|
| 5 |
+
|
| 6 |
+
pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
|
| 7 |
+
pip install fvcore iopath
|
| 8 |
+
pip install --no-index --no-cache-dir pytorch3d==0.7.5 -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt212/download.html
|
| 9 |
+
# Or if on cpu:
|
| 10 |
+
# pip3 install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
|
| 11 |
+
pip install -e .
|
| 12 |
+
rm -R *.egg-info
|
| 13 |
+
|
| 14 |
+
# Pypose
|
| 15 |
+
pip install --no-deps pypose
|
third_party/PointFlowMatch/bash/install_rlbench.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if ! [[ -n "${CONDA_PREFIX}" ]]; then
|
| 2 |
+
echo "You are not inside a conda environment. Please activate your environment first."
|
| 3 |
+
exit 1
|
| 4 |
+
fi
|
| 5 |
+
|
| 6 |
+
if ! [[ -n "${COPPELIASIM_ROOT}" ]]; then
|
| 7 |
+
echo "COPPELIASIM_ROOT is not defined."
|
| 8 |
+
exit 1
|
| 9 |
+
fi
|
| 10 |
+
|
| 11 |
+
# Download Coppelia sim if not present
|
| 12 |
+
if ! [[-e $COPPELIASIM_ROOT]]; then
|
| 13 |
+
wget https://downloads.coppeliarobotics.com/V4_1_0/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04.tar.xz
|
| 14 |
+
mkdir -p $COPPELIASIM_ROOT && tar -xf CoppeliaSim_Edu_V4_1_0_Ubuntu20_04.tar.xz -C $COPPELIASIM_ROOT --strip-components 1
|
| 15 |
+
rm -rf CoppeliaSim_Edu_V4_1_0_Ubuntu20_04.tar.xz
|
| 16 |
+
fi
|
| 17 |
+
|
| 18 |
+
# Install PyRep and RLBench
|
| 19 |
+
pip install -r https://raw.githubusercontent.com/stepjam/PyRep/master/requirements.txt
|
| 20 |
+
pip install git+https://github.com/stepjam/PyRep.git
|
| 21 |
+
pip install git+https://github.com/stepjam/RLBench.git
|
third_party/PointFlowMatch/bash/start_eval.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
gpu_id=$1
|
| 4 |
+
ckpt_name=$2
|
| 5 |
+
k_steps=${3:-50} # Default k_steps is 50
|
| 6 |
+
seed=${4:-0} # Default seed is 0
|
| 7 |
+
if [ $seed -ne 0 ]; then
|
| 8 |
+
tmux new-session -d -s "eval_${ckpt_name}_k${k_steps}_${seed}"
|
| 9 |
+
tmux send-keys -t "eval_${ckpt_name}_k${k_steps}_${seed}" "conda activate pfp_env && CUDA_VISIBLE_DEVICES=$gpu_id WANDB__SERVICE_WAIT=300 xvfb-run -a python scripts/evaluate.py log_wandb=True env_runner.env_config.vis=False policy.ckpt_name=$ckpt_name seed=$seed policy.num_k_infer=$k_steps" Enter
|
| 10 |
+
else
|
| 11 |
+
for seed in 5678 2468 1357; do
|
| 12 |
+
tmux new-session -d -s "eval_${ckpt_name}_k${k_steps}_${seed}"
|
| 13 |
+
tmux send-keys -t "eval_${ckpt_name}_k${k_steps}_${seed}" "conda activate pfp_env && CUDA_VISIBLE_DEVICES=$gpu_id WANDB__SERVICE_WAIT=300 xvfb-run -a python scripts/evaluate.py log_wandb=True env_runner.env_config.vis=False policy.ckpt_name=$ckpt_name seed=$seed policy.num_k_infer=$k_steps" Enter
|
| 14 |
+
done
|
| 15 |
+
fi
|
third_party/PointFlowMatch/bash/start_eval_ksteps.sh
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
gpu_id=$1
|
| 4 |
+
ckpt_name=$2
|
| 5 |
+
seed=${4:-0} # Default seed is 0
|
| 6 |
+
for k_steps in 1 2 4 8; do
|
| 7 |
+
if [ $seed -ne 0 ]; then
|
| 8 |
+
tmux new-session -d -s "eval_${ckpt_name}_k${k_steps}_${seed}"
|
| 9 |
+
tmux send-keys -t "eval_${ckpt_name}_k${k_steps}_${seed}" "conda activate pfp_env && CUDA_VISIBLE_DEVICES=$gpu_id WANDB__SERVICE_WAIT=300 xvfb-run -a python scripts/evaluate.py log_wandb=True env_runner.env_config.vis=False policy.ckpt_name=$ckpt_name seed=$seed policy.num_k_infer=$k_steps" Enter
|
| 10 |
+
else
|
| 11 |
+
for seed in 5678 2468 1357; do
|
| 12 |
+
tmux new-session -d -s "eval_${ckpt_name}_k${k_steps}_${seed}"
|
| 13 |
+
tmux send-keys -t "eval_${ckpt_name}_k${k_steps}_${seed}" "conda activate pfp_env && CUDA_VISIBLE_DEVICES=$gpu_id WANDB__SERVICE_WAIT=300 xvfb-run -a python scripts/evaluate.py log_wandb=True env_runner.env_config.vis=False policy.ckpt_name=$ckpt_name seed=$seed policy.num_k_infer=$k_steps" Enter
|
| 14 |
+
done
|
| 15 |
+
seed=0
|
| 16 |
+
fi
|
| 17 |
+
done
|
third_party/PointFlowMatch/outputs/2026-04-03/00-25-21/evaluate.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:25:24,802][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 50
|
third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
job:
|
| 121 |
+
name: evaluate
|
| 122 |
+
chdir: null
|
| 123 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 124 |
+
id: ???
|
| 125 |
+
num: ???
|
| 126 |
+
config_name: eval
|
| 127 |
+
env_set: {}
|
| 128 |
+
env_copy: []
|
| 129 |
+
config:
|
| 130 |
+
override_dirname:
|
| 131 |
+
kv_sep: '='
|
| 132 |
+
item_sep: ','
|
| 133 |
+
exclude_keys: []
|
| 134 |
+
runtime:
|
| 135 |
+
version: 1.3.2
|
| 136 |
+
version_base: '1.3'
|
| 137 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 138 |
+
config_sources:
|
| 139 |
+
- path: hydra.conf
|
| 140 |
+
schema: pkg
|
| 141 |
+
provider: hydra
|
| 142 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 143 |
+
schema: file
|
| 144 |
+
provider: main
|
| 145 |
+
- path: ''
|
| 146 |
+
schema: structured
|
| 147 |
+
provider: schema
|
| 148 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-26-06
|
| 149 |
+
choices:
|
| 150 |
+
hydra/env: default
|
| 151 |
+
hydra/callbacks: null
|
| 152 |
+
hydra/job_logging: default
|
| 153 |
+
hydra/hydra_logging: default
|
| 154 |
+
hydra/hydra_help: default
|
| 155 |
+
hydra/help: default
|
| 156 |
+
hydra/sweeper: basic
|
| 157 |
+
hydra/launcher: basic
|
| 158 |
+
hydra/output: default
|
| 159 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
third_party/PointFlowMatch/outputs/2026-04-03/00-26-06/evaluate.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:26:10,208][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 50
|
third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
job:
|
| 121 |
+
name: evaluate
|
| 122 |
+
chdir: null
|
| 123 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 124 |
+
id: ???
|
| 125 |
+
num: ???
|
| 126 |
+
config_name: eval
|
| 127 |
+
env_set: {}
|
| 128 |
+
env_copy: []
|
| 129 |
+
config:
|
| 130 |
+
override_dirname:
|
| 131 |
+
kv_sep: '='
|
| 132 |
+
item_sep: ','
|
| 133 |
+
exclude_keys: []
|
| 134 |
+
runtime:
|
| 135 |
+
version: 1.3.2
|
| 136 |
+
version_base: '1.3'
|
| 137 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 138 |
+
config_sources:
|
| 139 |
+
- path: hydra.conf
|
| 140 |
+
schema: pkg
|
| 141 |
+
provider: hydra
|
| 142 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 143 |
+
schema: file
|
| 144 |
+
provider: main
|
| 145 |
+
- path: ''
|
| 146 |
+
schema: structured
|
| 147 |
+
provider: schema
|
| 148 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-28-35
|
| 149 |
+
choices:
|
| 150 |
+
hydra/env: default
|
| 151 |
+
hydra/callbacks: null
|
| 152 |
+
hydra/job_logging: default
|
| 153 |
+
hydra/hydra_logging: default
|
| 154 |
+
hydra/hydra_help: default
|
| 155 |
+
hydra/help: default
|
| 156 |
+
hydra/sweeper: basic
|
| 157 |
+
hydra/launcher: basic
|
| 158 |
+
hydra/output: default
|
| 159 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
third_party/PointFlowMatch/outputs/2026-04-03/00-28-35/evaluate.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:28:38,193][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
| 2 |
+
[2026-04-03 00:28:40,034][root][WARNING] - single robot
|
third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 50
|
third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
job:
|
| 121 |
+
name: evaluate
|
| 122 |
+
chdir: null
|
| 123 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 124 |
+
id: ???
|
| 125 |
+
num: ???
|
| 126 |
+
config_name: eval
|
| 127 |
+
env_set: {}
|
| 128 |
+
env_copy: []
|
| 129 |
+
config:
|
| 130 |
+
override_dirname:
|
| 131 |
+
kv_sep: '='
|
| 132 |
+
item_sep: ','
|
| 133 |
+
exclude_keys: []
|
| 134 |
+
runtime:
|
| 135 |
+
version: 1.3.2
|
| 136 |
+
version_base: '1.3'
|
| 137 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 138 |
+
config_sources:
|
| 139 |
+
- path: hydra.conf
|
| 140 |
+
schema: pkg
|
| 141 |
+
provider: hydra
|
| 142 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 143 |
+
schema: file
|
| 144 |
+
provider: main
|
| 145 |
+
- path: ''
|
| 146 |
+
schema: structured
|
| 147 |
+
provider: schema
|
| 148 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-29-54
|
| 149 |
+
choices:
|
| 150 |
+
hydra/env: default
|
| 151 |
+
hydra/callbacks: null
|
| 152 |
+
hydra/job_logging: default
|
| 153 |
+
hydra/hydra_logging: default
|
| 154 |
+
hydra/hydra_help: default
|
| 155 |
+
hydra/help: default
|
| 156 |
+
hydra/sweeper: basic
|
| 157 |
+
hydra/launcher: basic
|
| 158 |
+
hydra/output: default
|
| 159 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
third_party/PointFlowMatch/outputs/2026-04-03/00-29-54/evaluate.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:29:57,368][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
| 2 |
+
[2026-04-03 00:29:59,155][root][WARNING] - single robot
|
third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 10
|
third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
- policy.num_k_infer=10
|
| 121 |
+
job:
|
| 122 |
+
name: evaluate
|
| 123 |
+
chdir: null
|
| 124 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka,policy.num_k_infer=10
|
| 125 |
+
id: ???
|
| 126 |
+
num: ???
|
| 127 |
+
config_name: eval
|
| 128 |
+
env_set: {}
|
| 129 |
+
env_copy: []
|
| 130 |
+
config:
|
| 131 |
+
override_dirname:
|
| 132 |
+
kv_sep: '='
|
| 133 |
+
item_sep: ','
|
| 134 |
+
exclude_keys: []
|
| 135 |
+
runtime:
|
| 136 |
+
version: 1.3.2
|
| 137 |
+
version_base: '1.3'
|
| 138 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 139 |
+
config_sources:
|
| 140 |
+
- path: hydra.conf
|
| 141 |
+
schema: pkg
|
| 142 |
+
provider: hydra
|
| 143 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 144 |
+
schema: file
|
| 145 |
+
provider: main
|
| 146 |
+
- path: ''
|
| 147 |
+
schema: structured
|
| 148 |
+
provider: schema
|
| 149 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-36-05
|
| 150 |
+
choices:
|
| 151 |
+
hydra/env: default
|
| 152 |
+
hydra/callbacks: null
|
| 153 |
+
hydra/job_logging: default
|
| 154 |
+
hydra/hydra_logging: default
|
| 155 |
+
hydra/hydra_help: default
|
| 156 |
+
hydra/help: default
|
| 157 |
+
hydra/sweeper: basic
|
| 158 |
+
hydra/launcher: basic
|
| 159 |
+
hydra/output: default
|
| 160 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 6 |
+
- policy.num_k_infer=10
|
third_party/PointFlowMatch/outputs/2026-04-03/00-36-05/evaluate.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:36:09,107][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
| 2 |
+
[2026-04-03 00:36:11,021][root][WARNING] - single robot
|
third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 10
|
third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
- policy.num_k_infer=10
|
| 121 |
+
job:
|
| 122 |
+
name: evaluate
|
| 123 |
+
chdir: null
|
| 124 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka,policy.num_k_infer=10
|
| 125 |
+
id: ???
|
| 126 |
+
num: ???
|
| 127 |
+
config_name: eval
|
| 128 |
+
env_set: {}
|
| 129 |
+
env_copy: []
|
| 130 |
+
config:
|
| 131 |
+
override_dirname:
|
| 132 |
+
kv_sep: '='
|
| 133 |
+
item_sep: ','
|
| 134 |
+
exclude_keys: []
|
| 135 |
+
runtime:
|
| 136 |
+
version: 1.3.2
|
| 137 |
+
version_base: '1.3'
|
| 138 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 139 |
+
config_sources:
|
| 140 |
+
- path: hydra.conf
|
| 141 |
+
schema: pkg
|
| 142 |
+
provider: hydra
|
| 143 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 144 |
+
schema: file
|
| 145 |
+
provider: main
|
| 146 |
+
- path: ''
|
| 147 |
+
schema: structured
|
| 148 |
+
provider: schema
|
| 149 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-39-03
|
| 150 |
+
choices:
|
| 151 |
+
hydra/env: default
|
| 152 |
+
hydra/callbacks: null
|
| 153 |
+
hydra/job_logging: default
|
| 154 |
+
hydra/hydra_logging: default
|
| 155 |
+
hydra/hydra_help: default
|
| 156 |
+
hydra/help: default
|
| 157 |
+
hydra/sweeper: basic
|
| 158 |
+
hydra/launcher: basic
|
| 159 |
+
hydra/output: default
|
| 160 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 6 |
+
- policy.num_k_infer=10
|
third_party/PointFlowMatch/outputs/2026-04-03/00-39-03/evaluate.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:39:06,341][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
| 2 |
+
[2026-04-03 00:39:08,232][root][WARNING] - single robot
|
third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
seed: 5678
|
| 2 |
+
log_wandb: false
|
| 3 |
+
env_runner:
|
| 4 |
+
num_episodes: 1
|
| 5 |
+
max_episode_length: 200
|
| 6 |
+
verbose: true
|
| 7 |
+
env_config:
|
| 8 |
+
voxel_size: 0.01
|
| 9 |
+
headless: true
|
| 10 |
+
vis: false
|
| 11 |
+
policy:
|
| 12 |
+
ckpt_name: 1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 13 |
+
ckpt_episode: ep1500
|
| 14 |
+
num_k_infer: 50
|
third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task:
|
| 115 |
+
- log_wandb=False
|
| 116 |
+
- env_runner.env_config.vis=False
|
| 117 |
+
- env_runner.num_episodes=1
|
| 118 |
+
- env_runner.max_episode_length=200
|
| 119 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 120 |
+
- policy.num_k_infer=50
|
| 121 |
+
job:
|
| 122 |
+
name: evaluate
|
| 123 |
+
chdir: null
|
| 124 |
+
override_dirname: env_runner.env_config.vis=False,env_runner.max_episode_length=200,env_runner.num_episodes=1,log_wandb=False,policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka,policy.num_k_infer=50
|
| 125 |
+
id: ???
|
| 126 |
+
num: ???
|
| 127 |
+
config_name: eval
|
| 128 |
+
env_set: {}
|
| 129 |
+
env_copy: []
|
| 130 |
+
config:
|
| 131 |
+
override_dirname:
|
| 132 |
+
kv_sep: '='
|
| 133 |
+
item_sep: ','
|
| 134 |
+
exclude_keys: []
|
| 135 |
+
runtime:
|
| 136 |
+
version: 1.3.2
|
| 137 |
+
version_base: '1.3'
|
| 138 |
+
cwd: /workspace/third_party/PointFlowMatch
|
| 139 |
+
config_sources:
|
| 140 |
+
- path: hydra.conf
|
| 141 |
+
schema: pkg
|
| 142 |
+
provider: hydra
|
| 143 |
+
- path: /workspace/third_party/PointFlowMatch/conf
|
| 144 |
+
schema: file
|
| 145 |
+
provider: main
|
| 146 |
+
- path: ''
|
| 147 |
+
schema: structured
|
| 148 |
+
provider: schema
|
| 149 |
+
output_dir: /workspace/third_party/PointFlowMatch/outputs/2026-04-03/00-48-26
|
| 150 |
+
choices:
|
| 151 |
+
hydra/env: default
|
| 152 |
+
hydra/callbacks: null
|
| 153 |
+
hydra/job_logging: default
|
| 154 |
+
hydra/hydra_logging: default
|
| 155 |
+
hydra/hydra_help: default
|
| 156 |
+
hydra/help: default
|
| 157 |
+
hydra/sweeper: basic
|
| 158 |
+
hydra/launcher: basic
|
| 159 |
+
hydra/output: default
|
| 160 |
+
verbose: false
|
third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- log_wandb=False
|
| 2 |
+
- env_runner.env_config.vis=False
|
| 3 |
+
- env_runner.num_episodes=1
|
| 4 |
+
- env_runner.max_episode_length=200
|
| 5 |
+
- policy.ckpt_name=1717447341-indigo-quokka/1717447341-indigo-quokka
|
| 6 |
+
- policy.num_k_infer=50
|
third_party/PointFlowMatch/outputs/2026-04-03/00-48-26/evaluate.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-04-03 00:48:33,178][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 7.285095e+07
|
| 2 |
+
[2026-04-03 00:48:35,019][root][WARNING] - single robot
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Environments using kitchen and Franka robot."""
|
| 2 |
+
from gym.envs.registration import register
|
| 3 |
+
|
| 4 |
+
register(
|
| 5 |
+
id="kitchen-microwave-kettle-light-slider-v0",
|
| 6 |
+
entry_point="diffusion_policy.env.kitchen.v0:KitchenMicrowaveKettleLightSliderV0",
|
| 7 |
+
max_episode_steps=280,
|
| 8 |
+
reward_threshold=1.0,
|
| 9 |
+
)
|
| 10 |
+
|
| 11 |
+
register(
|
| 12 |
+
id="kitchen-microwave-kettle-burner-light-v0",
|
| 13 |
+
entry_point="diffusion_policy.env.kitchen.v0:KitchenMicrowaveKettleBottomBurnerLightV0",
|
| 14 |
+
max_episode_steps=280,
|
| 15 |
+
reward_threshold=1.0,
|
| 16 |
+
)
|
| 17 |
+
|
| 18 |
+
register(
|
| 19 |
+
id="kitchen-kettle-microwave-light-slider-v0",
|
| 20 |
+
entry_point="diffusion_policy.env.kitchen.v0:KitchenKettleMicrowaveLightSliderV0",
|
| 21 |
+
max_episode_steps=280,
|
| 22 |
+
reward_threshold=1.0,
|
| 23 |
+
)
|
| 24 |
+
|
| 25 |
+
register(
|
| 26 |
+
id="kitchen-all-v0",
|
| 27 |
+
entry_point="diffusion_policy.env.kitchen.v0:KitchenAllV0",
|
| 28 |
+
max_episode_steps=280,
|
| 29 |
+
reward_threshold=1.0,
|
| 30 |
+
)
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/base.py
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import os
|
| 3 |
+
# hack to import adept envs
|
| 4 |
+
ADEPT_DIR = os.path.join(os.path.dirname(__file__), 'relay_policy_learning', 'adept_envs')
|
| 5 |
+
sys.path.append(ADEPT_DIR)
|
| 6 |
+
|
| 7 |
+
import logging
|
| 8 |
+
import numpy as np
|
| 9 |
+
import adept_envs
|
| 10 |
+
from adept_envs.franka.kitchen_multitask_v0 import KitchenTaskRelaxV1
|
| 11 |
+
|
| 12 |
+
OBS_ELEMENT_INDICES = {
|
| 13 |
+
"bottom burner": np.array([11, 12]),
|
| 14 |
+
"top burner": np.array([15, 16]),
|
| 15 |
+
"light switch": np.array([17, 18]),
|
| 16 |
+
"slide cabinet": np.array([19]),
|
| 17 |
+
"hinge cabinet": np.array([20, 21]),
|
| 18 |
+
"microwave": np.array([22]),
|
| 19 |
+
"kettle": np.array([23, 24, 25, 26, 27, 28, 29]),
|
| 20 |
+
}
|
| 21 |
+
OBS_ELEMENT_GOALS = {
|
| 22 |
+
"bottom burner": np.array([-0.88, -0.01]),
|
| 23 |
+
"top burner": np.array([-0.92, -0.01]),
|
| 24 |
+
"light switch": np.array([-0.69, -0.05]),
|
| 25 |
+
"slide cabinet": np.array([0.37]),
|
| 26 |
+
"hinge cabinet": np.array([0.0, 1.45]),
|
| 27 |
+
"microwave": np.array([-0.75]),
|
| 28 |
+
"kettle": np.array([-0.23, 0.75, 1.62, 0.99, 0.0, 0.0, -0.06]),
|
| 29 |
+
}
|
| 30 |
+
BONUS_THRESH = 0.3
|
| 31 |
+
logger = logging.getLogger()
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class KitchenBase(KitchenTaskRelaxV1):
|
| 35 |
+
# A string of element names. The robot's task is then to modify each of
|
| 36 |
+
# these elements appropriately.
|
| 37 |
+
TASK_ELEMENTS = []
|
| 38 |
+
ALL_TASKS = [
|
| 39 |
+
"bottom burner",
|
| 40 |
+
"top burner",
|
| 41 |
+
"light switch",
|
| 42 |
+
"slide cabinet",
|
| 43 |
+
"hinge cabinet",
|
| 44 |
+
"microwave",
|
| 45 |
+
"kettle",
|
| 46 |
+
]
|
| 47 |
+
REMOVE_TASKS_WHEN_COMPLETE = True
|
| 48 |
+
TERMINATE_ON_TASK_COMPLETE = True
|
| 49 |
+
TERMINATE_ON_WRONG_COMPLETE = False
|
| 50 |
+
COMPLETE_IN_ANY_ORDER = (
|
| 51 |
+
True # This allows for the tasks to be completed in arbitrary order.
|
| 52 |
+
)
|
| 53 |
+
|
| 54 |
+
def __init__(
|
| 55 |
+
self, dataset_url=None, ref_max_score=None, ref_min_score=None,
|
| 56 |
+
use_abs_action=False,
|
| 57 |
+
**kwargs
|
| 58 |
+
):
|
| 59 |
+
self.tasks_to_complete = list(self.TASK_ELEMENTS)
|
| 60 |
+
self.goal_masking = True
|
| 61 |
+
super(KitchenBase, self).__init__(use_abs_action=use_abs_action, **kwargs)
|
| 62 |
+
|
| 63 |
+
def set_goal_masking(self, goal_masking=True):
|
| 64 |
+
"""Sets goal masking for goal-conditioned approaches (like RPL)."""
|
| 65 |
+
self.goal_masking = goal_masking
|
| 66 |
+
|
| 67 |
+
def _get_task_goal(self, task=None, actually_return_goal=False):
|
| 68 |
+
if task is None:
|
| 69 |
+
task = ["microwave", "kettle", "bottom burner", "light switch"]
|
| 70 |
+
new_goal = np.zeros_like(self.goal)
|
| 71 |
+
if self.goal_masking and not actually_return_goal:
|
| 72 |
+
return new_goal
|
| 73 |
+
for element in task:
|
| 74 |
+
element_idx = OBS_ELEMENT_INDICES[element]
|
| 75 |
+
element_goal = OBS_ELEMENT_GOALS[element]
|
| 76 |
+
new_goal[element_idx] = element_goal
|
| 77 |
+
|
| 78 |
+
return new_goal
|
| 79 |
+
|
| 80 |
+
def reset_model(self):
|
| 81 |
+
self.tasks_to_complete = list(self.TASK_ELEMENTS)
|
| 82 |
+
return super(KitchenBase, self).reset_model()
|
| 83 |
+
|
| 84 |
+
def _get_reward_n_score(self, obs_dict):
|
| 85 |
+
reward_dict, score = super(KitchenBase, self)._get_reward_n_score(obs_dict)
|
| 86 |
+
reward = 0.0
|
| 87 |
+
next_q_obs = obs_dict["qp"]
|
| 88 |
+
next_obj_obs = obs_dict["obj_qp"]
|
| 89 |
+
next_goal = self._get_task_goal(
|
| 90 |
+
task=self.TASK_ELEMENTS, actually_return_goal=True
|
| 91 |
+
) # obs_dict['goal']
|
| 92 |
+
idx_offset = len(next_q_obs)
|
| 93 |
+
completions = []
|
| 94 |
+
all_completed_so_far = True
|
| 95 |
+
for element in self.tasks_to_complete:
|
| 96 |
+
element_idx = OBS_ELEMENT_INDICES[element]
|
| 97 |
+
distance = np.linalg.norm(
|
| 98 |
+
next_obj_obs[..., element_idx - idx_offset] - next_goal[element_idx]
|
| 99 |
+
)
|
| 100 |
+
complete = distance < BONUS_THRESH
|
| 101 |
+
condition = (
|
| 102 |
+
complete and all_completed_so_far
|
| 103 |
+
if not self.COMPLETE_IN_ANY_ORDER
|
| 104 |
+
else complete
|
| 105 |
+
)
|
| 106 |
+
if condition: # element == self.tasks_to_complete[0]:
|
| 107 |
+
print("Task {} completed!".format(element))
|
| 108 |
+
completions.append(element)
|
| 109 |
+
all_completed_so_far = all_completed_so_far and complete
|
| 110 |
+
if self.REMOVE_TASKS_WHEN_COMPLETE:
|
| 111 |
+
[self.tasks_to_complete.remove(element) for element in completions]
|
| 112 |
+
bonus = float(len(completions))
|
| 113 |
+
reward_dict["bonus"] = bonus
|
| 114 |
+
reward_dict["r_total"] = bonus
|
| 115 |
+
score = bonus
|
| 116 |
+
return reward_dict, score
|
| 117 |
+
|
| 118 |
+
def step(self, a, b=None):
|
| 119 |
+
obs, reward, done, env_info = super(KitchenBase, self).step(a, b=b)
|
| 120 |
+
if self.TERMINATE_ON_TASK_COMPLETE:
|
| 121 |
+
done = not self.tasks_to_complete
|
| 122 |
+
if self.TERMINATE_ON_WRONG_COMPLETE:
|
| 123 |
+
all_goal = self._get_task_goal(task=self.ALL_TASKS)
|
| 124 |
+
for wrong_task in list(set(self.ALL_TASKS) - set(self.TASK_ELEMENTS)):
|
| 125 |
+
element_idx = OBS_ELEMENT_INDICES[wrong_task]
|
| 126 |
+
distance = np.linalg.norm(obs[..., element_idx] - all_goal[element_idx])
|
| 127 |
+
complete = distance < BONUS_THRESH
|
| 128 |
+
if complete:
|
| 129 |
+
done = True
|
| 130 |
+
break
|
| 131 |
+
env_info["completed_tasks"] = set(self.TASK_ELEMENTS) - set(
|
| 132 |
+
self.tasks_to_complete
|
| 133 |
+
)
|
| 134 |
+
return obs, reward, done, env_info
|
| 135 |
+
|
| 136 |
+
def get_goal(self):
|
| 137 |
+
"""Loads goal state from dataset for goal-conditioned approaches (like RPL)."""
|
| 138 |
+
raise NotImplementedError
|
| 139 |
+
|
| 140 |
+
def _split_data_into_seqs(self, data):
|
| 141 |
+
"""Splits dataset object into list of sequence dicts."""
|
| 142 |
+
seq_end_idxs = np.where(data["terminals"])[0]
|
| 143 |
+
start = 0
|
| 144 |
+
seqs = []
|
| 145 |
+
for end_idx in seq_end_idxs:
|
| 146 |
+
seqs.append(
|
| 147 |
+
dict(
|
| 148 |
+
states=data["observations"][start : end_idx + 1],
|
| 149 |
+
actions=data["actions"][start : end_idx + 1],
|
| 150 |
+
)
|
| 151 |
+
)
|
| 152 |
+
start = end_idx + 1
|
| 153 |
+
return seqs
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/kitchen_lowdim_wrapper.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List, Dict, Optional, Optional
|
| 2 |
+
import numpy as np
|
| 3 |
+
import gym
|
| 4 |
+
from gym.spaces import Box
|
| 5 |
+
from diffusion_policy.env.kitchen.base import KitchenBase
|
| 6 |
+
|
| 7 |
+
class KitchenLowdimWrapper(gym.Env):
|
| 8 |
+
def __init__(self,
|
| 9 |
+
env: KitchenBase,
|
| 10 |
+
init_qpos: Optional[np.ndarray]=None,
|
| 11 |
+
init_qvel: Optional[np.ndarray]=None,
|
| 12 |
+
render_hw = (240,360)
|
| 13 |
+
):
|
| 14 |
+
self.env = env
|
| 15 |
+
self.init_qpos = init_qpos
|
| 16 |
+
self.init_qvel = init_qvel
|
| 17 |
+
self.render_hw = render_hw
|
| 18 |
+
|
| 19 |
+
@property
|
| 20 |
+
def action_space(self):
|
| 21 |
+
return self.env.action_space
|
| 22 |
+
|
| 23 |
+
@property
|
| 24 |
+
def observation_space(self):
|
| 25 |
+
return self.env.observation_space
|
| 26 |
+
|
| 27 |
+
def seed(self, seed=None):
|
| 28 |
+
return self.env.seed(seed)
|
| 29 |
+
|
| 30 |
+
def reset(self):
|
| 31 |
+
if self.init_qpos is not None:
|
| 32 |
+
# reset anyway to be safe, not very expensive
|
| 33 |
+
_ = self.env.reset()
|
| 34 |
+
# start from known state
|
| 35 |
+
self.env.set_state(self.init_qpos, self.init_qvel)
|
| 36 |
+
obs = self.env._get_obs()
|
| 37 |
+
return obs
|
| 38 |
+
# obs, _, _, _ = self.env.step(np.zeros_like(
|
| 39 |
+
# self.action_space.sample()))
|
| 40 |
+
# return obs
|
| 41 |
+
else:
|
| 42 |
+
return self.env.reset()
|
| 43 |
+
|
| 44 |
+
def render(self, mode='rgb_array'):
|
| 45 |
+
h, w = self.render_hw
|
| 46 |
+
return self.env.render(mode=mode, width=w, height=h)
|
| 47 |
+
|
| 48 |
+
def step(self, a):
|
| 49 |
+
return self.env.step(a)
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/kitchen_util.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import struct
|
| 2 |
+
import numpy as np
|
| 3 |
+
|
| 4 |
+
def parse_mjl_logs(read_filename, skipamount):
|
| 5 |
+
with open(read_filename, mode='rb') as file:
|
| 6 |
+
fileContent = file.read()
|
| 7 |
+
headers = struct.unpack('iiiiiii', fileContent[:28])
|
| 8 |
+
nq = headers[0]
|
| 9 |
+
nv = headers[1]
|
| 10 |
+
nu = headers[2]
|
| 11 |
+
nmocap = headers[3]
|
| 12 |
+
nsensordata = headers[4]
|
| 13 |
+
nuserdata = headers[5]
|
| 14 |
+
name_len = headers[6]
|
| 15 |
+
name = struct.unpack(str(name_len) + 's', fileContent[28:28+name_len])[0]
|
| 16 |
+
rem_size = len(fileContent[28 + name_len:])
|
| 17 |
+
num_floats = int(rem_size/4)
|
| 18 |
+
dat = np.asarray(struct.unpack(str(num_floats) + 'f', fileContent[28+name_len:]))
|
| 19 |
+
recsz = 1 + nq + nv + nu + 7*nmocap + nsensordata + nuserdata
|
| 20 |
+
if rem_size % recsz != 0:
|
| 21 |
+
print("ERROR")
|
| 22 |
+
else:
|
| 23 |
+
dat = np.reshape(dat, (int(len(dat)/recsz), recsz))
|
| 24 |
+
dat = dat.T
|
| 25 |
+
|
| 26 |
+
time = dat[0,:][::skipamount] - 0*dat[0, 0]
|
| 27 |
+
qpos = dat[1:nq + 1, :].T[::skipamount, :]
|
| 28 |
+
qvel = dat[nq+1:nq+nv+1,:].T[::skipamount, :]
|
| 29 |
+
ctrl = dat[nq+nv+1:nq+nv+nu+1,:].T[::skipamount,:]
|
| 30 |
+
mocap_pos = dat[nq+nv+nu+1:nq+nv+nu+3*nmocap+1,:].T[::skipamount, :]
|
| 31 |
+
mocap_quat = dat[nq+nv+nu+3*nmocap+1:nq+nv+nu+7*nmocap+1,:].T[::skipamount, :]
|
| 32 |
+
sensordata = dat[nq+nv+nu+7*nmocap+1:nq+nv+nu+7*nmocap+nsensordata+1,:].T[::skipamount,:]
|
| 33 |
+
userdata = dat[nq+nv+nu+7*nmocap+nsensordata+1:,:].T[::skipamount,:]
|
| 34 |
+
|
| 35 |
+
data = dict(nq=nq,
|
| 36 |
+
nv=nv,
|
| 37 |
+
nu=nu,
|
| 38 |
+
nmocap=nmocap,
|
| 39 |
+
nsensordata=nsensordata,
|
| 40 |
+
name=name,
|
| 41 |
+
time=time,
|
| 42 |
+
qpos=qpos,
|
| 43 |
+
qvel=qvel,
|
| 44 |
+
ctrl=ctrl,
|
| 45 |
+
mocap_pos=mocap_pos,
|
| 46 |
+
mocap_quat=mocap_quat,
|
| 47 |
+
sensordata=sensordata,
|
| 48 |
+
userdata=userdata,
|
| 49 |
+
logName = read_filename
|
| 50 |
+
)
|
| 51 |
+
return data
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/adept_models/__init__.py
ADDED
|
File without changes
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# franka
|
| 2 |
+
Franka panda mujoco models
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
# Environment
|
| 6 |
+
|
| 7 |
+
franka_panda.xml | coming soon
|
| 8 |
+
:-------------------------:|:-------------------------:
|
| 9 |
+
 | coming soon
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/actuator0.xml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Modified from the original source code at
|
| 2 |
+
1) https://github.com/vikashplus/franka
|
| 3 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 4 |
+
|
| 5 |
+
<mujocoinclude>
|
| 6 |
+
<actuator>
|
| 7 |
+
<position name="panda0_joint1" joint="panda0_joint1" class="panda" kp="870" forcerange="-87 87" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.1750" -->
|
| 8 |
+
<position name="panda0_joint2" joint="panda0_joint2" class="panda" kp="870" forcerange="-87 87" ctrlrange="-1.8326 1.8326"/> <!-- velocity="2.1750" -->
|
| 9 |
+
<position name="panda0_joint3" joint="panda0_joint3" class="panda" kp="870" forcerange="-87 87" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.1750" -->
|
| 10 |
+
<position name="panda0_joint4" joint="panda0_joint4" class="panda" kp="870" forcerange="-87 87" ctrlrange="-3.1416 0.0"/> <!-- velocity="2.1750" -->
|
| 11 |
+
<position name="panda0_joint5" joint="panda0_joint5" class="panda" kp="120" forcerange="-12 12" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.6100" -->
|
| 12 |
+
<position name="panda0_joint6" joint="panda0_joint6" class="panda" kp="120" forcerange="-12 12" ctrlrange="-3.7525 2.1817"/> <!-- velocity="2.6100" -->
|
| 13 |
+
<position name="panda0_joint7" joint="panda0_joint7" class="panda" kp="120" forcerange="-12 12" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.9671" -->
|
| 14 |
+
<position name="r_gripper_finger_joint" joint="panda0_finger_joint1" class="panda_finger" kp="500" forcerange="-70 70" ctrlrange="0 0.04"/> <!-- velocity=".2" -->
|
| 15 |
+
<position name="l_gripper_finger_joint" joint="panda0_finger_joint2" class="panda_finger" kp="500" forcerange="-70 70" ctrlrange="0 0.04"/> <!-- velocity=".2" -->
|
| 16 |
+
</actuator>
|
| 17 |
+
</mujocoinclude>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/actuator1.xml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<mujocoinclude>
|
| 2 |
+
<actuator>
|
| 3 |
+
<position name="panda1_joint1" joint="panda1_joint1" class="panda" kp="870" forcerange="-87 87" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.1750" -->
|
| 4 |
+
<position name="panda1_joint2" joint="panda1_joint2" class="panda" kp="870" forcerange="-87 87" ctrlrange="-1.8326 1.8326"/> <!-- velocity="2.1750" -->
|
| 5 |
+
<position name="panda1_joint3" joint="panda1_joint3" class="panda" kp="870" forcerange="-87 87" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.1750" -->
|
| 6 |
+
<position name="panda1_joint4" joint="panda1_joint4" class="panda" kp="870" forcerange="-87 87" ctrlrange="-3.1416 0.0"/> <!-- velocity="2.1750" -->
|
| 7 |
+
<position name="panda1_joint5" joint="panda1_joint5" class="panda" kp="120" forcerange="-12 12" ctrlrange="-2.9671 2.9671"/> <!-- velocity="2.6100" -->
|
| 8 |
+
<position name="panda1_joint6" joint="panda1_joint6" class="panda" kp="120" forcerange="-12 12" ctrlrange="-0.0873 3.8223"/> <!-- velocity="2.6100" -->
|
| 9 |
+
<position name="panda1_joint7" joint="panda1_joint7" class="panda" kp="120" forcerange="-12 12" ctrlrange="-0.0873 3.8223"/> <!-- velocity="2.9671" -->
|
| 10 |
+
<position name="panda1_leftfinger" joint="panda1_finger_joint1" class="panda" kp="20" forcerange="-20 20" ctrlrange="0 0.04"/> <!-- velocity=".2" -->
|
| 11 |
+
<position name="panda1_rightfinger" joint="panda1_finger_joint2" class="panda" kp="20" forcerange="-20 20" ctrlrange="0 0.04"/> <!-- velocity=".2" -->
|
| 12 |
+
</actuator>
|
| 13 |
+
</mujocoinclude>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/assets.xml
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Modified from the original source code at
|
| 2 |
+
1) https://github.com/vikashplus/franka
|
| 3 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 4 |
+
<mujocoinclude>
|
| 5 |
+
<compiler angle="radian"/>
|
| 6 |
+
<!-- <option timestep="0.002" noslip_iterations="20"/> -->
|
| 7 |
+
<option timestep="0.002"/>
|
| 8 |
+
<size nuser_actuator="5"/>
|
| 9 |
+
|
| 10 |
+
<asset>
|
| 11 |
+
<mesh name="link0_col" file="../../third_party/franka/meshes/collision/link0.stl"/>
|
| 12 |
+
<mesh name="link1_col" file="../../third_party/franka/meshes/collision/link1.stl"/>
|
| 13 |
+
<mesh name="link2_col" file="../../third_party/franka/meshes/collision/link2.stl"/>
|
| 14 |
+
<mesh name="link3_col" file="../../third_party/franka/meshes/collision/link3.stl"/>
|
| 15 |
+
<mesh name="link4_col" file="../../third_party/franka/meshes/collision/link4.stl"/>
|
| 16 |
+
<mesh name="link5_col" file="../../third_party/franka/meshes/collision/link5.stl"/>
|
| 17 |
+
<mesh name="link6_col" file="../../third_party/franka/meshes/collision/link6.stl"/>
|
| 18 |
+
<mesh name="link7_col" file="../../third_party/franka/meshes/collision/link7.stl"/>
|
| 19 |
+
<mesh name="hand_col" file="../../third_party/franka/meshes/collision/hand.stl"/>
|
| 20 |
+
<mesh name="finger_col" file="../../third_party/franka/meshes/collision/finger.stl" scale='1.75 1.0 1.75'/>
|
| 21 |
+
<mesh name="link0_viz" file="../../third_party/franka/meshes/visual/link0.stl"/>
|
| 22 |
+
<mesh name="link1_viz" file="../../third_party/franka/meshes/visual/link1.stl"/>
|
| 23 |
+
<mesh name="link2_viz" file="../../third_party/franka/meshes/visual/link2.stl"/>
|
| 24 |
+
<mesh name="link3_viz" file="../../third_party/franka/meshes/visual/link3.stl"/>
|
| 25 |
+
<mesh name="link4_viz" file="../../third_party/franka/meshes/visual/link4.stl"/>
|
| 26 |
+
<mesh name="link5_viz" file="../../third_party/franka/meshes/visual/link5.stl"/>
|
| 27 |
+
<mesh name="link6_viz" file="../../third_party/franka/meshes/visual/link6.stl"/>
|
| 28 |
+
<mesh name="link7_viz" file="../../third_party/franka/meshes/visual/link7.stl"/>
|
| 29 |
+
<mesh name="hand_viz" file="../../third_party/franka/meshes/visual/hand.stl"/>
|
| 30 |
+
<mesh name="finger_viz" file="../../third_party/franka/meshes/collision/finger.stl" scale='1.75 1.0 1.75'/>
|
| 31 |
+
|
| 32 |
+
</asset>
|
| 33 |
+
|
| 34 |
+
<default>
|
| 35 |
+
<default class="panda">
|
| 36 |
+
<joint pos="0 0 0" axis="0 0 1" limited="true"/>
|
| 37 |
+
<position forcelimited="true" ctrllimited="true" user="1002 40 2001 -0.005 0.005"/>
|
| 38 |
+
<default class="panda_viz">
|
| 39 |
+
<geom contype="0" conaffinity="0" group="0" type="mesh" rgba=".95 .99 .92 1" mass="0"/>
|
| 40 |
+
</default>
|
| 41 |
+
|
| 42 |
+
<default class="panda_col">
|
| 43 |
+
<geom contype="1" conaffinity="1" group="3" type="mesh" rgba=".5 .6 .7 1"/>
|
| 44 |
+
</default>
|
| 45 |
+
<default class="panda_arm">
|
| 46 |
+
<joint damping="100"/>
|
| 47 |
+
</default>
|
| 48 |
+
<default class="panda_forearm">
|
| 49 |
+
<joint damping="10"/>
|
| 50 |
+
</default>
|
| 51 |
+
<default class="panda_finger">
|
| 52 |
+
<joint damping="100" armature='5'/>
|
| 53 |
+
<geom friction="1 0.5 0.0001" solref="0.01 1" solimp="0.8 0.9 0.001" margin="0.001" user="0" rgba="0.5 0.6 0.7 .4" contype="1" conaffinity="0" condim="6" group="3" />
|
| 54 |
+
<position user="1002 40 2001 -0.0001 0.0001"/>
|
| 55 |
+
</default>
|
| 56 |
+
</default>
|
| 57 |
+
|
| 58 |
+
<default class="panda_overlay">
|
| 59 |
+
<joint limited="false" damping="1000" armature="1" frictionloss="10"/>
|
| 60 |
+
<geom contype="0" conaffinity="0" group="2" type="mesh" rgba=".42 0.42 0.42 .5"/>
|
| 61 |
+
</default>
|
| 62 |
+
</default>
|
| 63 |
+
</mujocoinclude>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/chain0_overlay.xml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Robot limits pulled from https://frankaemika.github.io/docs/control_parameters.html#constants -->
|
| 2 |
+
<!-- Added this new file to the original source code at
|
| 3 |
+
1) https://github.com/vikashplus/franka
|
| 4 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 5 |
+
|
| 6 |
+
<!--Copyright 2020 Google LLC-->
|
| 7 |
+
|
| 8 |
+
<!--Licensed under the Apache License, Version 2.0 (the "License");-->
|
| 9 |
+
<!--you may not use this file except in compliance with the License.-->
|
| 10 |
+
<!--You may obtain a copy of the License at-->
|
| 11 |
+
|
| 12 |
+
<!--https://www.apache.org/licenses/LICENSE-2.0-->
|
| 13 |
+
|
| 14 |
+
<!--Unless required by applicable law or agreed to in writing, software-->
|
| 15 |
+
<!--distributed under the License is distributed on an "AS IS" BASIS,-->
|
| 16 |
+
<!--WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
|
| 17 |
+
<!--See the License for the specific language governing permissions and-->
|
| 18 |
+
<!--limitations under the License.-->
|
| 19 |
+
|
| 20 |
+
<mujocoinclude>
|
| 21 |
+
<body name="_panda0_link0" childclass="panda_overlay" >
|
| 22 |
+
<geom mesh="link0_viz"/>
|
| 23 |
+
<body name="_panda0_link1" pos="0 0 0.333">
|
| 24 |
+
<joint name="_panda0_joint1" range="-2.8973 2.8973"/>
|
| 25 |
+
<geom mesh="link1_viz"/>
|
| 26 |
+
<body name="_panda0_link2" pos="0 0 0" quat="0.707107 -0.707107 0 0">
|
| 27 |
+
<joint name="_panda0_joint2" range="-1.7628 1.7628"/>
|
| 28 |
+
<geom mesh="link2_viz"/>
|
| 29 |
+
<body name="_panda0_link3" pos="0 -0.316 0" quat="0.707107 0.707107 0 0">
|
| 30 |
+
<joint name="_panda0_joint3" range="-2.8973 2.8973"/>
|
| 31 |
+
<geom mesh="link3_viz"/>
|
| 32 |
+
<body name="_panda0_link4" pos="0.0825 0 0" quat="0.707107 0.707107 0 0">
|
| 33 |
+
<joint name="_panda0_joint4" range="-3.0718 -0.4"/>
|
| 34 |
+
<geom mesh="link4_viz"/>
|
| 35 |
+
<body name="_panda0_link5" pos="-0.0825 0.384 0" quat="0.707107 -0.707107 0 0">
|
| 36 |
+
<joint name="_panda0_joint5" range="-2.8973 2.8973"/>
|
| 37 |
+
<geom mesh="link5_viz"/>
|
| 38 |
+
<body name="_panda0_link6" pos="0 0 0" euler="1.57 0 1.57">
|
| 39 |
+
<joint name="_panda0_joint6" range="-1.6573 2.1127"/>
|
| 40 |
+
<geom mesh="link6_viz"/>
|
| 41 |
+
<body name="_panda0_link7" pos="0.088 0 0" euler="1.57 0 0.7854">
|
| 42 |
+
<joint name="_panda0_joint7" range="-2.8973 2.8973"/>
|
| 43 |
+
<geom mesh="link7_viz"/>
|
| 44 |
+
<geom pos="0 0 0.107" quat="0.92388 0 0 -0.382683" mesh="hand_viz"/>
|
| 45 |
+
<site name="_end_effector" pos="0 0 .210" size="0.01" euler="0 0 -0.785398"/>
|
| 46 |
+
<body name="_panda0_leftfinger" pos="0 0 0.1654" quat="0.92388 0 0 -0.382683">
|
| 47 |
+
<joint name="_panda0_finger_joint1" axis="0 1 0" type="slide" range="0 0.04"/>
|
| 48 |
+
<geom mesh="finger_viz"/>
|
| 49 |
+
</body>
|
| 50 |
+
<body name="_panda0_rightfinger" pos="0 0 0.1654" quat="0.92388 0 0 -0.382683">
|
| 51 |
+
<joint name="_panda0_finger_joint2" axis="0 -1 0" type="slide" range="0 0.04"/>
|
| 52 |
+
<geom quat="0 0 0 1" mesh="finger_viz"/>
|
| 53 |
+
</body>
|
| 54 |
+
</body>
|
| 55 |
+
</body>
|
| 56 |
+
</body>
|
| 57 |
+
</body>
|
| 58 |
+
</body>
|
| 59 |
+
</body>
|
| 60 |
+
</body>
|
| 61 |
+
</body>
|
| 62 |
+
</mujocoinclude>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/assets/teleop_actuator.xml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copied from actuator0.xml -->
|
| 2 |
+
<!-- Added new file to the original source code at
|
| 3 |
+
1) https://github.com/vikashplus/franka
|
| 4 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 5 |
+
|
| 6 |
+
<!--Copyright 2020 Google LLC-->
|
| 7 |
+
|
| 8 |
+
<!--Licensed under the Apache License, Version 2.0 (the "License");-->
|
| 9 |
+
<!--you may not use this file except in compliance with the License.-->
|
| 10 |
+
<!--You may obtain a copy of the License at-->
|
| 11 |
+
|
| 12 |
+
<!--https://www.apache.org/licenses/LICENSE-2.0-->
|
| 13 |
+
|
| 14 |
+
<!--Unless required by applicable law or agreed to in writing, software-->
|
| 15 |
+
<!--distributed under the License is distributed on an "AS IS" BASIS,-->
|
| 16 |
+
<!--WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
|
| 17 |
+
<!--See the License for the specific language governing permissions and-->
|
| 18 |
+
<!--limitations under the License.-->
|
| 19 |
+
<mujocoinclude>
|
| 20 |
+
<actuator>
|
| 21 |
+
<position name="r_gripper_finger_joint" joint="panda0_finger_joint1" class="panda_finger" kp="500" forcerange="-70 70" ctrlrange="0 0.08"/> <!-- velocity=".2" -->
|
| 22 |
+
<position name="l_gripper_finger_joint" joint="panda0_finger_joint2" class="panda_finger" kp="500" forcerange="-70 70" ctrlrange="0 0.08"/> <!-- velocity=".2" -->
|
| 23 |
+
</actuator>
|
| 24 |
+
</mujocoinclude>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/bi-franka_panda.xml
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Modified from the original source code at
|
| 2 |
+
1) https://github.com/vikashplus/franka
|
| 3 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 4 |
+
|
| 5 |
+
<!-- Copyright | Vikash Kumar | vikashplus@gmail.com | Google LLC ==============
|
| 6 |
+
Model :: Bi-Franka Panda
|
| 7 |
+
|
| 8 |
+
Mujoco :: Advanced physics simulation engine
|
| 9 |
+
Source : www.roboti.us
|
| 10 |
+
Version : 2.00
|
| 11 |
+
Released : 1Oct"18
|
| 12 |
+
|
| 13 |
+
Author :: Vikash Kumar
|
| 14 |
+
Contacts : vikashplus@gmail.com
|
| 15 |
+
Last edits : 14Dec"18
|
| 16 |
+
|
| 17 |
+
source:
|
| 18 |
+
1) https://github.com/vikashplus/franka
|
| 19 |
+
2) https://github.com/frankaemika/franka_ros
|
| 20 |
+
3) https://github.com/StanfordASL/PandaRobot.jl
|
| 21 |
+
|
| 22 |
+
Copyright 2018 Vikash Kumar
|
| 23 |
+
Licensed under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
| 24 |
+
================================================================================= -->
|
| 25 |
+
|
| 26 |
+
<mujoco model="bi-franka_panda v200">
|
| 27 |
+
|
| 28 |
+
<include file="assets/basic_scene.xml"/>
|
| 29 |
+
<include file="assets/assets.xml"/>
|
| 30 |
+
<include file="../furniture/studyTable/studyTable_asset.xml"/>
|
| 31 |
+
<include file="../furniture/lightButtons/lightButtons_assets.xml"/>
|
| 32 |
+
|
| 33 |
+
<compiler meshdir=""/>
|
| 34 |
+
|
| 35 |
+
<default>
|
| 36 |
+
<default class='torso'>
|
| 37 |
+
<geom group='2' contype='0' conaffinity='0' rgba='.2 .2 .3 1'/>
|
| 38 |
+
</default>/
|
| 39 |
+
</default>
|
| 40 |
+
|
| 41 |
+
<worldbody>
|
| 42 |
+
|
| 43 |
+
<body name='torso' childclass='torso'>
|
| 44 |
+
<geom name='head' type='ellipsoid' size='.1 .09 .13' pos='0 0 1.835' euler='-.2 0 0'/>
|
| 45 |
+
<geom name='shoulders' type='capsule' size='.09' fromto='.15 0 1.6 -.15 0 1.6'/>
|
| 46 |
+
<geom name='absL' type='capsule' size='.09' fromto='.15 0 1.6 0.05 0 1.05'/>
|
| 47 |
+
<geom name='absR' type='capsule' size='.09' fromto='-.15 0 1.6 -.05 0 1.05'/>
|
| 48 |
+
<geom name='legs' type='capsule' size='.135' fromto='0 0 1.05 0 0 0.05'/>
|
| 49 |
+
|
| 50 |
+
<body name='leftarm' pos='0 0 1.6' euler='0 -1.57 1.57'>
|
| 51 |
+
<include file="assets/chain0.xml"/>
|
| 52 |
+
</body>
|
| 53 |
+
|
| 54 |
+
<body name='rightarm' pos='0 0 1.6' euler='0 1.57 1.57'>
|
| 55 |
+
<include file="assets/chain1.xml"/>
|
| 56 |
+
</body>
|
| 57 |
+
|
| 58 |
+
</body>
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
<!-- Study Table -->
|
| 62 |
+
<body pos='0 0.85 0'>
|
| 63 |
+
<include file="../furniture/studyTable/studyTable_body.xml"/>
|
| 64 |
+
</body>
|
| 65 |
+
|
| 66 |
+
<!-- Buttons -->
|
| 67 |
+
<body pos='-.25 0.625 .76'>
|
| 68 |
+
<include file="../furniture/lightButtons/buttons_body.xml"/>
|
| 69 |
+
</body>
|
| 70 |
+
|
| 71 |
+
<!-- Lights -->
|
| 72 |
+
<body pos='-.25 0.85 1.1'>
|
| 73 |
+
<include file="../furniture/lightButtons/lights_body.xml"/>
|
| 74 |
+
</body>
|
| 75 |
+
|
| 76 |
+
</worldbody>
|
| 77 |
+
|
| 78 |
+
<include file='assets/actuator0.xml'/>
|
| 79 |
+
<include file='assets/actuator1.xml'/>
|
| 80 |
+
|
| 81 |
+
</mujoco>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/franka_panda.xml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Modified from the original source code at
|
| 2 |
+
1) https://github.com/vikashplus/franka
|
| 3 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 4 |
+
|
| 5 |
+
<!-- ORIGINAL LICENSE: ===========Copyright | Vikash Kumar | vikashplus@gmail.com | Google LLC ==============
|
| 6 |
+
Model :: Bi-Franka Panda
|
| 7 |
+
|
| 8 |
+
Mujoco :: Advanced physics simulation engine
|
| 9 |
+
Source : www.roboti.us
|
| 10 |
+
Version : 2.00
|
| 11 |
+
Released : 1Oct"18
|
| 12 |
+
|
| 13 |
+
Author :: Vikash Kumar
|
| 14 |
+
Contacts : vikashplus@gmail.com
|
| 15 |
+
Last edits : 14Dec"18
|
| 16 |
+
|
| 17 |
+
source:
|
| 18 |
+
1) https://github.com/vikashplus/franka
|
| 19 |
+
2) https://github.com/frankaemika/franka_ros
|
| 20 |
+
3) https://github.com/StanfordASL/PandaRobot.jl
|
| 21 |
+
|
| 22 |
+
Copyright 2018 Vikash Kumar
|
| 23 |
+
Licensed under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
| 24 |
+
================================================================================= -->
|
| 25 |
+
|
| 26 |
+
<mujoco model="franka_panda v200">
|
| 27 |
+
|
| 28 |
+
<include file="assets/basic_scene.xml"/>
|
| 29 |
+
<include file="assets/assets.xml"/>
|
| 30 |
+
<compiler meshdir=""/>
|
| 31 |
+
|
| 32 |
+
<worldbody>
|
| 33 |
+
<include file="assets/chain0.xml"/>
|
| 34 |
+
</worldbody>
|
| 35 |
+
|
| 36 |
+
<include file='assets/actuator0.xml'/>
|
| 37 |
+
|
| 38 |
+
</mujoco>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/franka_panda_teleop.xml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Modified from the original source code at
|
| 2 |
+
1) https://github.com/vikashplus/franka
|
| 3 |
+
which was originally written by Vikash Kumar and licensed under the Apache License= -->
|
| 4 |
+
|
| 5 |
+
<!-- ORIGINAL LICENSE: ===========Copyright | Vikash Kumar | vikashplus@gmail.com | Google LLC ==============
|
| 6 |
+
Model :: Bi-Franka Panda
|
| 7 |
+
|
| 8 |
+
Mujoco :: Advanced physics simulation engine
|
| 9 |
+
Source : www.roboti.us
|
| 10 |
+
Version : 2.00
|
| 11 |
+
Released : 1Oct"18
|
| 12 |
+
|
| 13 |
+
Author :: Vikash Kumar
|
| 14 |
+
Contacts : vikashplus@gmail.com
|
| 15 |
+
Last edits : 14Dec"18
|
| 16 |
+
|
| 17 |
+
source:
|
| 18 |
+
1) https://github.com/vikashplus/franka
|
| 19 |
+
2) https://github.com/frankaemika/franka_ros
|
| 20 |
+
3) https://github.com/StanfordASL/PandaRobot.jl
|
| 21 |
+
|
| 22 |
+
Copyright 2018 Vikash Kumar
|
| 23 |
+
Licensed under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
| 24 |
+
================================================================================= -->
|
| 25 |
+
|
| 26 |
+
<mujoco model="franka_panda v200">
|
| 27 |
+
|
| 28 |
+
<include file="assets/basic_scene.xml"/>
|
| 29 |
+
<include file="assets/assets.xml"/>
|
| 30 |
+
<compiler meshdir=""/>
|
| 31 |
+
|
| 32 |
+
<equality>
|
| 33 |
+
<weld body1="vive_controller" body2="panda0_link7" solref="0.01 1" solimp=".25 .25 0.001"/>
|
| 34 |
+
</equality>
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
<worldbody>
|
| 38 |
+
<!-- Mocap -->
|
| 39 |
+
<body name="vive_controller" mocap="true" pos="0 0 1.895" euler="-1.57 0 -.785">
|
| 40 |
+
<geom type="box" group="2" pos='0 0 .142' size="0.02 0.10 0.03" contype="0" conaffinity="0" rgba=".9 .7 .95 .2" euler="0 0 -.785"/>
|
| 41 |
+
</body>
|
| 42 |
+
|
| 43 |
+
<!-- Robot -->
|
| 44 |
+
<body pos='0 0 .775' euler='0 0 1.57'>
|
| 45 |
+
<geom type='cylinder' size='.120 .4' pos='-.04 0 -.4'/>
|
| 46 |
+
<include file="assets/chain0.xml"/>
|
| 47 |
+
<include file="assets/chain0_overlay.xml"/>
|
| 48 |
+
</body>
|
| 49 |
+
|
| 50 |
+
</worldbody>
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
<include file='assets/teleop_actuator.xml'/>
|
| 54 |
+
</mujoco>
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/finger.stl
ADDED
|
Binary file (1.68 kB). View file
|
|
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/hand.stl
ADDED
|
Binary file (10.1 kB). View file
|
|
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link0.stl
ADDED
|
Binary file (10.1 kB). View file
|
|
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link1.stl
ADDED
|
Binary file (15.1 kB). View file
|
|
|
third_party/diffusion_policy/diffusion_policy/env/kitchen/relay_policy_learning/third_party/franka/meshes/collision/link2.stl
ADDED
|
Binary file (15.1 kB). View file
|
|
|