dora-idefics2 / README.md
haixuantao's picture
Adding more info on the README
810a70f
|
raw
history blame
1.21 kB
# 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