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

Any chance for 1.2 as home assistant Addon? #1218

Open
Mikescotland opened this issue Jan 19, 2024 · 5 comments
Open

Any chance for 1.2 as home assistant Addon? #1218

Mikescotland opened this issue Jan 19, 2024 · 5 comments

Comments

@Mikescotland
Copy link

Any chance for 1.2 as home assistant Addon? Currently on 1.1 since last year....

@desheh
Copy link

desheh commented Jan 22, 2024

+1.

There's the one in this repo but it's stuck at 1.1 and seems like the owner of that repo isn't maintaining it.

Would probably be best if you provided it yourselves, assuming that's something you can take on naturally.

@Mikescotland
Copy link
Author

That's fine. I forced myself and finally installed in a docker!

@backslashV
Copy link

I am not sure if this has done it, but I simply updated config.json and Dockerfile from jakowenko's repo to point to v1.2.0, and it seems it's working. The main reason I wanted to move away from v1.1.0 was the huge amount of memory the addon was using, apparently due to memory leaks in that version. However, with v1.2.0, I am seeing an even higher memory usage at a constant 4GB. Before, it was around 2.7GB. @pospielov do you mind sharing some insight in this regard? Is this amount of memory usage normal, or is the way I am creating v1.2.0 of the addon wrong?

@wills106
Copy link

wills106 commented Feb 19, 2024

There was this advise when 1.1.0 came out. I'm using it on a GTX1650 with only 4GB VRAM
#1034 (comment)

I'm running this on Unraid using docker compose with the following:

ADMIN_VERSION=1.1.0
API_VERSION=1.1.0
FE_VERSION=1.1.0
CORE_VERSION=1.0.0-arcface-r100-gpu
POSTGRES_VERSION=1.1.0

I haven't tried updating any of the individual modules to 1.2.0 yet. Also it looks like that addon uses a single container version. So I'm not sure how you would split it like compose.

Edit:
As you only have the single tag to choose from you might be best using:
1.0.0-mobilenet-gpu
or
1.0.0-arcface-r100-gpu
If your system has a GPU?

@backslashV
Copy link

There was this advise when 1.1.0 came out. I'm using it on a GTX1650 with only 4GB VRAM #1034 (comment)

I'm running this on Unraid using docker compose with the following:

ADMIN_VERSION=1.1.0
API_VERSION=1.1.0
FE_VERSION=1.1.0
CORE_VERSION=1.0.0-arcface-r100-gpu
POSTGRES_VERSION=1.1.0

I haven't tried updating any of the individual modules to 1.2.0 yet. Also it looks like that addon uses a single container version. So I'm not sure how you would split it like compose.

Edit: As you only have the single tag to choose from you might be best using: 1.0.0-mobilenet-gpu or 1.0.0-arcface-r100-gpu If your system has a GPU?

Thanks. There is no .env file for the addon. I am not sure where to put those configs. I am running Home Assistant on an Intel NUC with an integrated GPU. I also have a Google Coral attached, but I don't think CompreFace supports it.

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

4 participants