adalkiran / distributed-inference

A project to demonstrate an approach to designing cross-language and distributed pipeline in deep learning/machine learning domain, using WebRTC and Redis Streams.
Apache License 2.0
61 stars 5 forks source link

Issue running single-host-cpu profile on docker Windows #1

Closed jericko-ag closed 1 month ago

jericko-ag commented 2 months ago

Currently getting this error in inference: I checked the container and it uses 3.12.x for libprotoc (which should be fine as shown in the message?) image Updating the container to 3.20 via: pip install protobuf==3.20

just opened a whole new can of worms:

image

Did a dirty hack of downgrading the container again: pip install numpy==1.23.4

This time it shows:

image

On the UI, it start after clicking 'create peer connection', but then disconnects after 15 second-ish:

image

.env remains default except for this change: ` image

`

All these issues aside, have you by any chance, implemented an inference that uses RT-DETR?

adalkiran commented 2 months ago

Hi, thanks for your detailed report. I remember that I've intentionally downgraded one or more library versions to make it work during development. Some changes might be made on dependencies since a long time, so maybe it needs upgrading some dependency versions.

I need a few days to try to reproduce your issue on Windows machine.

About RT-DETR, no, I haven't tried it.

jericko-ag commented 2 months ago

Thanks @adalkiran!

adalkiran commented 1 month ago

Hi @jericko-ag , sorry for late update. I checked out the problem, and found that there are some problems with inference (Python) and mediabridge (Go) sides.

I'll be working on this issue, I'm sure I'll find better method to fix.

Thanks for your patience!

adalkiran commented 1 month ago

@jericko-ag , could you please pull the latest version and try again?