Giter VIP home page Giter VIP logo

Comments (8)

solderzzc avatar solderzzc commented on May 25, 2024 1

@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.

solderzzc avatar solderzzc commented on May 25, 2024

It seems you are using Apple M2/M1 chip.

from deepcamera.

anu1097 avatar anu1097 commented on May 25, 2024

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.

anu1097 avatar anu1097 commented on May 25, 2024

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.

anu1097 avatar anu1097 commented on May 25, 2024

What is docker-novnc for ?

from deepcamera.

anu1097 avatar anu1097 commented on May 25, 2024

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.

solderzzc avatar solderzzc commented on May 25, 2024

@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.

anu1097 avatar anu1097 commented on May 25, 2024

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)

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.