Open apicht opened 2 years ago
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.
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
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.
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
root
. rm -rf ~/.sharpai
then re-run the cli command again
Is your feature request related to a problem? Please describe. Unable to run on this platform:
Your platform is not supported
Describe the solution you'd like
Describe alternatives you've considered Only current alternative is to run on something else.
Additional context Current kernel info: