Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no images in deepstack-trainer #16

Open
nyunity opened this issue Sep 22, 2024 · 0 comments
Open

no images in deepstack-trainer #16

nyunity opened this issue Sep 22, 2024 · 0 comments

Comments

@nyunity
Copy link

nyunity commented Sep 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant