Skip to content

no images in deepstack-trainer #16

@nyunity

Description

@nyunity

Hi,

maybe my question or problem isn't a problem, maybe I do not understand the function correctly.

I set up homeassistant, frigate, doubletake, deepstack and deepstrack-trainer. Everything is running in Docker and works like expected.

So, in dobuletake there are "matches" and I can train the images. The same I was expected from deepstack-trainer. The images I am able to train, which where detected of frigate. But I do not get images in deepstack-tainer, I have to upload each detected image by myself?

My composer.yaml:

service:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:latest
container_name: homeassistant
volumes:
- "/home/papa/docker/homeassistant/data:/config"
- "/etc/localtime:/etc/localtime:ro"
- "/run/dbus:/run/dbus:ro"
restart: unless-stopped
ports:
- "8123:8123/tcp"
privileged: true
network_mode: bridge

frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: "128mb"
    devices:
      - "/dev/bus/usb:/dev/bus/usb"
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
      - "/home/papa/docker/frigate/config:/config"
      - "/home/papa/docker/frigate/storage:/media/frigate"
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 10000000000
    ports:
      - "8971:8971"
      - "5000:5000"
      - "8554:8554"
      - "8555:8555/tcp"
      - "8555:8555/udp"
    network_mode: bridge

double-take:
container_name: double-take
image: skrashevich/double-take:latest
privileged: true
restart: unless-stopped
volumes:
- "/home/papa/docker/double-take:/.storage"
ports:
- "3050:3000"
network_mode: bridge`

deepstack:
    image: deepquestai/deepstack:arm64-2022.01.1
    restart: unless-stopped
    container_name: deepstack
    privileged: true
    ports:
     - "5001:5000"
    environment:
      - TZ=Europe/Berlin
      - VISION-FACE=True
      - VISION-DETECTION=True
      - VISION-SCENE=True
    volumes:
      - "/home/papa/docker/deepstack:/datastore"
    network_mode: bridge`

deepstack_trainer:
    image: techblog/deepstack-trainer:latest
    container_name: deepstack_trainer
    privileged: true
    restart: always
    environment:
      - DEEPSTACK_HOST_ADDRESS=http://192.168.2.92:5001
      - DEEPSTACK_API_KEY=
      - MIN_CONFIDANCE=0.70
    ports:
      - "8080:8080"
    volumes:
      - "/home/papa/docker/deepstack-trainer/db:/opt/trainer/db"
      - "/home/papa/docker/deepstack-trainer/uploads:/opt/trainer/photos/Up>
    network_mode: bridge

So, I made port 5001:500 of deepstack because of frigate. I am able to go to http://192.168.2.92:5001 and see the page of deepstack:

"DeepStack Activated
Your DeepStack Installation is Activated."

Made I something wrong or do I have to upload the detected images of frigate by myself? Thought there is a possibility like mqtt or something else.

Regards,

Erik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions