Skip to content

Links17/GTC-LLaVA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTC-LLaVA

GTC Demo

说明

使用local_llm+llava形式,传输图片解析,返回tasklist 给设备,并且推送MQTT消息(topic:“llava-result”)

├── Dockerfile
├── README.md
├── ai_llm_v2.py
├── main.py
├── mqtt_client.py
└── utils
    ├── audio_array.py
    └── com_util.py

使用方法

  1. 修改mqtt url,port 改为node-red mqtt-broker
  2. 构建docker 镜像
docker build -f Dockerfile . -t hi_combo
  1. 启动
docker run -d --runtime nvidia  --network host  -v /etc/enctune.conf:/etc/enctune.conf   -v /etc/nv_tegra_release:/etc/nv_tegra_release  -v /mnt/ssd/workspace/jetson-containers/data:/data  --name hi_combo  --device /dev/snd --device /dev/bus/usb hi_combo:latest
  1. 测试
curl --location 'http://127.0.0.1:8888/gtc/scene_detection' \
--header 'Content-Type: application/json' \
--data '{
    "sceneId":3,
    "image":"base64 image"
    }'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published