[lint] Update lint (#16)

* update lint

* update readme

* update ruff lint
This commit is contained in:
Lufang Chen
2025-09-11 13:18:33 +08:00
committed by GitHub
parent a89dce95aa
commit e9332a283d
28 changed files with 2406 additions and 1074 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ This document explains the key configuration parameters that can be modified for
## Quick Start Checklist
1. **Update run.sh**: Set `code_dir` and `config_path` to your actual paths
2. **Configure GPUs**: Set `CUDA_VISIBLE_DEVICES` for your available GPUs
2. **Configure GPUs**: Set `CUDA_VISIBLE_DEVICES` for your available GPUs
3. **Update config paths**: Replace all `/path/to/` placeholders in `config_qact.yml` with actual paths
4. **Configure robot**: Set `dof_config` and `agent_pos_config` for your robot
5. **Set dataset**: Choose appropriate `repo_id` for your dataset
@@ -69,4 +69,4 @@ Keep `agent_pos_config` consistent with `dof_config`.
## Performance Settings (Optional)
- `profile`: Enable PyTorch profiling (true/false)
- `padding_side`: Token padding side (left/right)
- `padding_side`: Token padding side (left/right)
+5 -5
View File
@@ -60,7 +60,7 @@ agent_pos_config:
# Data configuration
data:
use_lerobot: true
# LeRobot dataset configuration
lerobot_config:
repo_id: "lerobot/aloha_mobile_cabinet"
@@ -73,10 +73,10 @@ data:
force_cache_sync: false
download_videos: true
video_backend: null
action_horizon: 32
train_test_split: 0.95
# Action keys for observation and prediction
obs_action_keys:
- follow_left_ee_cartesian_pos
@@ -88,7 +88,7 @@ data:
- head_actions
- height
- car_pose
predict_action_keys:
- follow_left_ee_cartesian_pos
- follow_left_ee_rotation
@@ -99,7 +99,7 @@ data:
- head_actions
- height
- car_pose
# Image resolution configuration for different camera views
resolution:
face_view: 256
+1 -1
View File
@@ -21,4 +21,4 @@ export SCRIPT_ARGS="--config ${config_path}/config_qact.yml --seed $MASTER_PORT"
echo "Running command: $LAUNCHER $SCRIPT $SCRIPT_ARGS"
$LAUNCHER $SCRIPT $SCRIPT_ARGS
$LAUNCHER $SCRIPT $SCRIPT_ARGS