File size: 1,211 Bytes
357c750
 
 
 
 
 
7195c95
357c750
 
 
 
 
 
 
48299b0
357c750
 
810a70f
 
 
 
 
 
 
 
357c750
 
7195c95
 
 
357c750
 
 
810a70f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Getting Started

Create a new conda environment for robomaster

```bash
conda create -n robomaster python=3.8
pip install robomaster dora-rs==0.3.3
```

Create a new conda environment for idefics2. This requirements file suppose that your using cu122.

```bash
conda create -n idefics2 python=3.10
pip install -r requirements.txt
pip install -e <PATH TO LATEST TRANSFOMERS VERSION>
```

## Running the demo

Make sure to be connected using the wifi hotspot of the robomaster which is the most stable one.

The default password for the hotpsot is: 12341234

You might need to have a second wifi card if you want to be able to run the demo with internet on.

```bash
export HF_TOKEN=<TOKEN>
conda activate idefics2
# This requires dora==0.3.3, update with:
# cargo install dora-cli
dora up
dora start graphs/dataflow_robot_vlm.yml --attach --hot-reload
```

Current way to interact is by typing a question to the VLM

## Running the demo without robot

```bash
export HF_TOKEN=<TOKEN>
conda activate idefics2
# This requires dora==0.3.3, update with:
# cargo install dora-cli
dora up
dora start graphs/dataflow_vlm_basic.yml --attach --hot-reload
```

Current way to interact is by typing a question to the VLM