Code Monkey home page Code Monkey logo

Comments (4)

solderzzc avatar solderzzc commented on June 16, 2024 1
  1. I use user account instead of root.
  2. It seems a setup guideline with sharpai-cli is not running correctly, in this case, you can rm -rf ~/.sharpai then re-run the cli command again
  3. Home-assistant integration process is:
    1. Copy sharpai addon to home-assistant. https://github.com/SharpAI/DeepCamera/blob/master/src/home-assistant-py/Dockerfile#L2
    2. create a shared path with docker-compose so addon can send file path to detector directly instead of file upload https://github.com/SharpAI/DeepCamera/blob/master/src/home-assistant-py/sharpai/image_processing.py#L287

from deepcamera.

solderzzc avatar solderzzc commented on June 16, 2024

Hi, @apicht

I've submitted a bugfix, please upgrade and run command again:

pip3 install sharpai-hub --upgrade
sharpai-cli yolov7_reid start

Let me know if any issues.

I'll look into the API of HA for add-on, it's a good idea.

from deepcamera.

solderzzc avatar solderzzc commented on June 16, 2024

Make sure sharpai-hub is upgraded to 0.1.42:

Installing collected packages: sharpai-hub
  Found existing installation: sharpai-hub 0.1.41
    Uninstalling sharpai-hub-0.1.41:
      Successfully uninstalled sharpai-hub-0.1.41
Successfully installed sharpai-hub-0.1.42

from deepcamera.

apicht avatar apicht commented on June 16, 2024

Thanks, it now gets past that error. I have a new issue (filesystem-related) but it appears to be specific to my environment. Also, after glancing at the compose file, it appears yolov7_reid is going to run its own instance of homeassistant which probably isn't going to work in this environment. I may need to fork and tinker to get this running.

# sharpai-cli yolov7_reid start
The latest docker-compose.yml has downloaded
You haven't configured labelstudio service, SharpAI CLI will help you go through:                
- 1. Pulling latest docker images from docker-hub, time may vary depending on you network situation...
Pulling latest docker images from docker hub...
WARNING: The TIMEZONE_OFFSET variable is not set. Defaulting to a blank string.
Pulling redis          ... done
Pulling etcd           ... done
Pulling labelstudio    ... done
Pulling minio          ... done
Pulling milvus         ... done
Pulling detector       ... done
Pulling home-assistant ... done
- 2. Starting Labelstudio service..WARNING: The TIMEZONE_OFFSET variable is not set. Defaulting to a blank string.
Creating network "yolov7_reid_default" with the default driver
Creating labelstudio ... error
.
ERROR: for labelstudio  Cannot start service labelstudio: error while creating mount source path '/root/.sharpai/yolov7_reid/volumes/labelstudio-data': mkdir /root/.sharpai: read-only file system

ERROR: for labelstudio  Cannot start service labelstudio: error while creating mount source path '/root/.sharpai/yolov7_reid/volumes/labelstudio-data': mkdir /root/.sharpai: read-only file system
ERROR: Encountered errors while bringing up the project.
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

from deepcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.