You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dataflow_reachy.yml 5.7 kB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. nodes:
  2. - id: camera
  3. path: dora-reachy2-camera
  4. _unstable_deploy:
  5. machine: encoder
  6. inputs:
  7. tick: dora/timer/millis/20
  8. outputs:
  9. - image_left
  10. - image_depth
  11. - depth
  12. env:
  13. IMAGE_WIDTH: 640
  14. IMAGE_HEIGHT: 480
  15. ROBOT_IP: 127.0.0.1
  16. - id: reachy-left-arm
  17. build: pip install -e ../../node-hub/dora-reachy2
  18. path: dora-reachy2-left-arm
  19. _unstable_deploy:
  20. machine: encoder
  21. inputs:
  22. pose: parse_pose/action_l_arm
  23. outputs:
  24. - response_l_arm
  25. env:
  26. ROBOT_IP: 127.0.0.1
  27. - id: reachy-right-arm
  28. build: pip install -e ../../node-hub/dora-reachy2
  29. path: dora-reachy2-right-arm
  30. _unstable_deploy:
  31. machine: encoder
  32. inputs:
  33. pose: parse_pose/action_r_arm
  34. outputs:
  35. - response_r_arm
  36. env:
  37. ROBOT_IP: 127.0.0.1
  38. - id: rav1e-local-image
  39. path: dora-rav1e
  40. build: cargo build -p dora-rav1e --release
  41. _unstable_deploy:
  42. machine: encoder
  43. inputs:
  44. image_depth: camera/image_depth
  45. image_left: camera/image_left
  46. outputs:
  47. - image_left
  48. - image_depth
  49. env:
  50. RAV1E_SPEED: 10
  51. - id: rav1e-local-depth
  52. path: dora-rav1e
  53. build: cargo build -p dora-rav1e --release
  54. _unstable_deploy:
  55. machine: encoder
  56. inputs:
  57. depth: camera/depth
  58. outputs:
  59. - depth
  60. env:
  61. RAV1E_SPEED: 7
  62. - id: dav1d-remote
  63. path: dora-dav1d
  64. build: cargo build -p dora-dav1d --release
  65. _unstable_deploy:
  66. machine: gpu
  67. inputs:
  68. image_depth: rav1e-local-image/image_depth
  69. image_left: rav1e-local-image/image_left
  70. depth: rav1e-local-depth/depth
  71. outputs:
  72. - image_left
  73. - image_depth
  74. - depth
  75. - id: dora-microphone
  76. build: pip install -e ../../node-hub/dora-microphone
  77. path: dora-microphone
  78. _unstable_deploy:
  79. machine: macbook
  80. inputs:
  81. tick: dora/timer/millis/2000
  82. outputs:
  83. - audio
  84. - id: dora-vad
  85. build: pip install -e ../../node-hub/dora-vad
  86. _unstable_deploy:
  87. machine: macbook
  88. path: dora-vad
  89. inputs:
  90. audio: dora-microphone/audio
  91. outputs:
  92. - audio
  93. - id: dora-distil-whisper
  94. build: pip install -e ../../node-hub/dora-distil-whisper
  95. _unstable_deploy:
  96. machine: gpu
  97. path: dora-distil-whisper
  98. inputs:
  99. input: dora-vad/audio
  100. outputs:
  101. - text
  102. env:
  103. TARGET_LANGUAGE: english
  104. - id: parse_whisper
  105. path: parse_whisper.py
  106. _unstable_deploy:
  107. machine: gpu
  108. inputs:
  109. text: dora-distil-whisper/text
  110. arrived: parse_point/arrived
  111. outputs:
  112. - bbox
  113. - action
  114. - points
  115. - text
  116. - action_release_left
  117. - action_release_right
  118. env:
  119. IMAGE_RESIZE_RATIO: "1.0"
  120. - id: dora-qwenvl
  121. build: pip install -e ../../node-hub/dora-qwen2-5-vl
  122. path: dora-qwen2-5-vl
  123. _unstable_deploy:
  124. machine: gpu
  125. inputs:
  126. image_left: dav1d-remote/image_left
  127. image_depth: dav1d-remote/image_depth
  128. text: parse_whisper/text
  129. outputs:
  130. - text
  131. env:
  132. DEFAULT_QUESTION: Output the bounding box of the suitcase.
  133. IMAGE_RESIZE_RATIO: "1.0"
  134. - id: parse_bbox
  135. path: parse_bbox.py
  136. _unstable_deploy:
  137. machine: gpu
  138. inputs:
  139. text: dora-qwenvl/text
  140. points: parse_whisper/points
  141. outputs:
  142. - bbox_track
  143. - bbox_grab
  144. env:
  145. IMAGE_RESIZE_RATIO: "1.0"
  146. - id: sam2
  147. build: pip install -e ../../node-hub/dora-sam2
  148. path: dora-sam2
  149. _unstable_deploy:
  150. machine: gpu
  151. inputs:
  152. image_depth: dav1d-remote/image_depth
  153. boxes2d: parse_bbox/bbox_grab
  154. outputs:
  155. - masks
  156. - id: tracker
  157. build: pip install -e ../../node-hub/dora-cotracker
  158. path: dora-cotracker
  159. _unstable_deploy:
  160. machine: gpu
  161. inputs:
  162. image: dav1d-remote/image_left
  163. boxes2d: parse_bbox/bbox_track
  164. outputs:
  165. - tracked_image
  166. - points
  167. env:
  168. INTERACTIVE_MODE: false
  169. - id: box_coordinates
  170. build: pip install -e ../../node-hub/dora-object-to-pose
  171. path: dora-object-to-pose
  172. _unstable_deploy:
  173. machine: gpu
  174. inputs:
  175. depth: dav1d-remote/depth
  176. masks: sam2/masks
  177. outputs:
  178. - pose
  179. - id: parse_pose
  180. path: parse_pose.py
  181. _unstable_deploy:
  182. machine: gpu
  183. inputs:
  184. pose: box_coordinates/pose
  185. response_r_arm: reachy-right-arm/response_r_arm
  186. response_l_arm: reachy-left-arm/response_l_arm
  187. release_left: parse_whisper/action_release_left
  188. release_right: parse_whisper/action_release_right
  189. outputs:
  190. - action_r_arm
  191. - action_l_arm
  192. env:
  193. IMAGE_RESIZE_RATIO: "1.0"
  194. - id: parse_point
  195. path: parse_point.py
  196. _unstable_deploy:
  197. machine: gpu
  198. inputs:
  199. points: tracker/points
  200. outputs:
  201. - action
  202. - arrived
  203. env:
  204. IMAGE_RESIZE_RATIO: "1.0"
  205. - id: reachy-mobile-base
  206. build: pip install -e ../../node-hub/dora-reachy2
  207. path: dora-reachy2-mobile-base
  208. _unstable_deploy:
  209. machine: encoder
  210. inputs:
  211. action_base: parse_point/action
  212. action_whisper: parse_whisper/action
  213. outputs:
  214. - response_base
  215. env:
  216. ROBOT_IP: 127.0.0.1
  217. - id: plot
  218. build: pip install -e ../../node-hub/dora-rerun
  219. path: dora-rerun
  220. _unstable_deploy:
  221. machine: macbook
  222. inputs:
  223. image: dav1d-remote/image_left
  224. torso/image: dav1d-remote/image_depth
  225. torso/depth: dav1d-remote/depth
  226. torso/boxes2d: parse_bbox/bbox
  227. original_text: dora-distil-whisper/text
  228. parsed_text: parse_whisper/text
  229. qwenvl_text: dora-qwenvl/text
  230. env:
  231. RERUN_MEMORY_LIMIT: 5%
  232. CAMERA_PITCH: 2.47