-
Notifications
You must be signed in to change notification settings - Fork 5
/
qwenvl2_robot_inference.yml
125 lines (117 loc) · 3.11 KB
/
qwenvl2_robot_inference.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
nodes:
- id: arm # Run on car
# build: wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/robot # cargo install --git https://github.com/lyon-dora/chongyou-car
path: dora-gen72
_unstable_deploy:
machine: ec7
inputs:
movec:
source: arm-interpolation/movec
queue_size: 1
movej: arm-interpolation/movej
claw: arm-interpolation/claw
save: arm-interpolation/save
go_to: arm-interpolation/go_to
env:
ROBOT_IP: 192.168.1.18
MIN_Z: "-0.04"
- id: arm-interpolation
path: arm_interpolation.py
inputs:
keyboard: dora-qwenvl/tick
text: key-interpolation/text
outputs:
- movec
- movej
- claw
- save
- go_to
- prompt
- id: keyboard-listener # Run on car
# build: pip install dora-keyboard
path: dora-keyboard
inputs:
tick: dora/timer/millis/10
outputs:
- char
env:
DISPLAY: :1
- id: key-interpolation
path: key_interpolation.py
inputs:
keyboard: keyboard-listener/char
outputs:
- text
- id: mickrobot_chassis # Run on car
# build: wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/robot # cargo install --git https://github.com/lyon-dora/chongyou-car
path: robot
_unstable_deploy:
machine: ec7
inputs:
text: dora-qwenvl/tick
- id: camera1 # Run on car
_unstable_deploy:
machine: ec7
# build: pip install opencv-video-capture
path: opencv-video-capture
inputs:
tick: dora/timer/millis/200
outputs:
- image
env:
CAPTURE_PATH: 0
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: BOTH
- id: camera2 # Run on car
_unstable_deploy:
machine: ec7
# build: pip install opencv-video-capture
path: opencv-video-capture
inputs:
tick: dora/timer/millis/200
outputs:
- image
env:
CAPTURE_PATH: 2
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
- id: plot
# build: |
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/rerun
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/dora-rerun
path: dora-rerun
inputs:
image_1:
source: camera1/image
queue_size: 1
image_2:
source: camera2/image
queue_size: 1
textlog_vlm: dora-qwenvl/tick
text_prompt: arm-interpolation/prompt
env:
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
RERUN_MEMORY_LIMIT: 25%
- id: dora-qwenvl
build: pip install dora-qwenvl
path: dora-qwenvl
inputs:
image_1:
source: camera1/image
queue_size: 1
image_2:
source: camera2/image
queue_size: 1
tick: dora/timer/millis/200
text: arm-interpolation/prompt
outputs:
- text
- tick
env:
DEFAULT_QUESTION: Respond with arm left, arm right, arm up, arm down, open, close, or go home to grab the bottle
USE_MODELSCOPE_HUB: True
ADAPTER_PATH: /home/peter/Documents/work/LLaMA-Factory/saves/qwen2_vl-2b/lora-gosim-full/sft