torinmb / mediapipe-touchdesigner

GPU Accelerated MediaPipe Plugin for TouchDesigner
MIT License
637 stars 31 forks source link

Mediapipe tox is empty #50

Closed joansc closed 11 months ago

joansc commented 11 months ago

Hello, Im trying your project for the first time (laptop windows 11 rtx 2070 with td version 2022.33910) and I cant get it to work. Followed all the steps (spout,...) and still it seems that the mediapipe tox is empty and dont know why... tried re-init, reimporting the tox, among other things without luck. Here some screenshots.

Thanks in advance,

Joan

mediapipe_bug Screenshot 2023-11-01 100632

domisjustanumber commented 11 months ago

Thanks for the screen grab. I suspect this might not be working as you have something else running on the network port being used for the websocket communications.

If you change the port in the MediaPipe component from 9980 to something else (9981) that should fix it.

We also released a new version yesterday that eliminates the need for this port and has a bunch of other improvements https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.3.1

k0seng commented 11 months ago

Hi, I also just started and have the same issue, when opening a project file with an existing media pipe tox. When I zoom into the instance I don't see any operators, so maybe there's a problem with the loading process? Deleting the instance and importing the mediapipe tox again does the trick for me.

torinmb commented 11 months ago

Hey @joansc the only time I've seen this happen is if you open the .toe file from within the release.zip file without extracting the contents of the .zip file first. Can you double check you extracted the .zip?

BrunoMariaTomas commented 11 months ago

Hey @torinmb I have the same problem, I've extracted everything for sure from the .zip file (macBook Pro 2020 M1, TD 2022. 35320 )

torinmb commented 11 months ago
Screenshot 2023-11-02 at 1 19 13 PM

Hey @joansc and @BrunoMariaTomas please make sure that you are downloading the release.zip. I'm able to reproduce the same error by opening the source.zip

BrunoMariaTomas commented 11 months ago

@torinmb I'm sorry but it’s still not working...

torinmb commented 11 months ago

@BrunoMariaTomas Since you're on a different OS I want to make sure we're exploring this as a separate issue. Can you share screen shots of your network and if there are any red Xs can you click on them and include them in the screen shot. Also what version of the plugin are you running the latest version of the MP plugin 0.3.2?

torinmb commented 11 months ago

Ok we found it!! We'll release an fix soon, but for now you can fix your network by doing the following: 1) Navigate to the MediaPipe component the Common tab 2) Change the external tox path to ./toxes/MediaPipe.tox 3) Click Re-Init Network

Screenshot 2023-11-02 at 2 11 23 PM
torinmb commented 11 months ago

I just pushed a quick fix in and added a new release.zip that fixes the issue. You can download the latest here: https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.3.2

It's still the same version number, but notice the release.zip was just updated

BrunoMariaTomas commented 11 months ago

@torinmb i've just installed an older version of the plugin and now it works!

torinmb commented 11 months ago

Can you test the latest since it has a fix?

joansc commented 11 months ago

Hello all, wow thanks for the fast response and debugging. I confirm that with the latest release it works straight out of the box. Thanks and congrats for this amazing tool!