Comments (8)
@anu1097
I'm not sure if Mac's M1/M2 share the same architecture as embedding system.
Can you try to build the docker images with the dockerfile created for Raspberry Pi which has ARM processor?
You need go to folder:
src/yolov7_reid
then:
docker compose build -f docker-compose-arm64.yml
docker compose up -f docker-compose-arm64.yml
from deepcamera.
It seems you are using Apple M2/M1 chip.
from deepcamera.
How to circumvent this ?
I tried checking out the code locally and tried running from the docker file in docker folder.
shareai/shinobi:arm64v8_latest, shareai/embedding:arm64v8_latest and
shareai/face_detector:arm64v8_latest didn't even start, no logs either ?
tried running from individual source folder as well.
For camera. Some file is missing in source code ./nvr_releases/2018.03.15.14.50.tar.gz
from deepcamera.
So I managed to run this dockerfile via this command -
docker compose -f docker-compose-arm64.yml up
One issue though, detector image although its running I see nothing on localhost:3000, or ports 8000, 9000 or 5901.
I also tried an alternative way tried to run the detector file locally commented out the part from docker compose file.
Now I see it waiting for milvus to run. However Milvus is running.
Here are the logs -
2023-06-27 16:09:58 [2023/06/27 10:39:58.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:01 [2023/06/27 10:40:01.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:04 [2023/06/27 10:40:04.176 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:04 [2023/06/27 10:40:04.310 +00:00] [INFO] [datanode/data_node.go:817] [DataNode.GetCompactionState]
2023-06-27 16:10:04 [2023/06/27 10:40:04.310 +00:00] [DEBUG] [datanode/data_node.go:843] ["Compaction results"] [results="[]"]
2023-06-27 16:10:07 [2023/06/27 10:40:07.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:10 [2023/06/27 10:40:10.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:13 [2023/06/27 10:40:13.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:14 [2023/06/27 10:40:14.310 +00:00] [INFO] [datanode/data_node.go:817] [DataNode.GetCompactionState]
2023-06-27 16:10:14 [2023/06/27 10:40:14.310 +00:00] [DEBUG] [datanode/data_node.go:843] ["Compaction results"] [results="[]"]
2023-06-27 16:10:16 [2023/06/27 10:40:16.176 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:19 [2023/06/27 10:40:19.175 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:22 [2023/06/27 10:40:22.176 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
2023-06-27 16:10:24 [2023/06/27 10:40:24.307 +00:00] [INFO] [datanode/data_node.go:817] [DataNode.GetCompactionState]
2023-06-27 16:10:24 [2023/06/27 10:40:24.307 +00:00] [DEBUG] [datanode/data_node.go:843] ["Compaction results"] [results="[]"]
2023-06-27 16:10:25 [2023/06/27 10:40:25.176 +00:00] [INFO] [indexcoord/index_builder.go:163] ["index builder task schedule"] ["task num"=0]
I'm interested to check out how the flask application works.
And I'm still trying to understand how all these various applications are being used. I got some idea, would appreciate some docs.
I get that redis and etcd are assisting various services to easily share data, and various services are label-studio for uploading data/images to help in creating classifiers. Minio is for Object Storage and Milvus is for easily storing Vector images, HomeAssistant for managing Video Camera feed. But still fail to see where is detector's code being called from ?
Could use a little help in starting. Thanks
from deepcamera.
What is docker-novnc for ?
from deepcamera.
I finally was able to get localhost:3000 working, I had to set Label Studio url, token manually in .env file, but I'm not sure of 1 thing, where to see the video after its processed.
And how to use label-studio. It allows you pass any video url. So I was testing with 1.
Could use a little help, I'm trying to see how I can use detector.py's flask api
from deepcamera.
@anu1097
docker-novnc is used for providing a desktop environment for the runtime, the yolov7 detector is running in docker, you can access the docker desktop with http://localhost:8000/
The video preview is provided by home-assistant, Home-Assistant is hosted at http://localhost:8123/
Labelstudio is hosted at http://localhost:8080/ for saving image and further model training.
from deepcamera.
So all those links are working, but how do I connect them. I have IP webcam working on one of my devices.
I get that I can add rtsp link from that to homeassistant, but how do I use docker-novnc ?
I saw 1 gif in Readme, but didn't get much from it.
from deepcamera.
Related Issues (20)
- Any existing application to maximize privacy?
- Your platform dose not support yet, AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD HOT 1
- Support for AMD64 Family HOT 4
- Telegram bot error "invalid token" with jetson nano jetpack 4.6-b110 HOT 4
- Create end 2 end data collection and training pipeline
- local variable 'person_count' referenced before assignment HOT 5
- Your secret keys are public HOT 1
- Face images are grey on the browser interface. Looks like API server is presenting image without jpg extension. HOT 13
- NameError: global name 'm' is not defined HOT 6
- Cannot see given setting on the 8080 port over shinobi page on web browser HOT 29
- Timestamp on the received screenshot of detected person/activity
- Create telegram bot integration for yolov7_reid
- Port Yolov7_REID to Jetson Nano
- Port yolov7_reid to Raspberry Pi 4
- Create abstract layer
- Alert when a camera stream is down HOT 1
- Support Telegram Group chat
- Support HA OS on ODROID N2+ (aarch64 support) HOT 4
- Support x64 for local_deepcamera HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepcamera.