Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jericko-ag opened this issue Aug 17, 2024 · 4 comments
Closed

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

jericko-ag opened this issue Aug 17, 2024 · 4 comments

Comments

@jericko-ag
Copy link

jericko-ag commented Aug 17, 2024

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
Copy link
Owner

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
Copy link
Author

Thanks @adalkiran!

@adalkiran
Copy link
Owner

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.

  • Inference side: YOLOX's used version seems deprecated, because there are big changes in its dependencies. They've published newer version, but it can't be downloaded from PyPI, we need to download it from github.
    Then, there's another issue with the latest version, one dependency version of YOLOX's new version must be downgraded (error while installing yolox Megvii-BaseDetection/YOLOX#1781 (comment))
    So, I need to do these fixes in Dockerfile

  • Mediabridge side: After my latest commit (a long time ago), it seems browsers started to prioritize IPv6 addresses for local addresses. But the browser and the mediabridge can't match on a candidate pair.
    I've solved this issue with a trick, but the end user must wait until all other candidates have failed. I've achieved to process frames successfully, but with these tricks, this is unacceptable to wait so long time to start.

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

Thanks for your patience!

adalkiran added a commit that referenced this issue Sep 18, 2024
@adalkiran
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants