PyTorchTOP icon indicating copy to clipboard operation
PyTorchTOP copied to clipboard

Update to current Touchdesigner API planned?

Open auenkind opened this issue 1 year ago • 4 comments

Are there any plans to Update the plugin to work with the current Touchdesigner version?

I tried to do the API update myself but i`m stuck at the point where the foreground CudaArray is copied to myInputTensorForeground whatever i tried it results in a cudaErrorInvalidValue.

My Setup is:

  • Touchdesigner 2022.31030
  • CUDA 11.2

As is see a lot of usecases for this in the future i would sponsor the update commercially.

auenkind avatar Mar 01 '23 13:03 auenkind

Yes, but there's an issue with libtorch versions above 1.7.1 and TouchDesigner.

I'm subscribed to these issues: https://github.com/pytorch/pytorch/pull/67632 https://github.com/pytorch/pytorch/issues/61111

Once they're resolved I'll try updating PyTorch TOP. Until then I recommend sticking with this exact PyTorch version https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.1%2Bcu110.zip Maybe TouchDesigner 31030 will work but I haven't tried.

DBraun avatar Mar 01 '23 18:03 DBraun

Thanks for this Info. I also experienced similar crashes with Version 2022.31030 but was not sure if they originated from my code. I will switch to do background matting in an external application and use NDI to feed the result to Touchdesigner.

auenkind avatar Mar 02 '23 09:03 auenkind

I also recommend https://docs.derivative.ca/Nvidia_Background_TOP

DBraun avatar Mar 02 '23 16:03 DBraun

Thanks, unfortunately that does not work for my use-case as i need full body tracking. My goal is to integrate https://github.com/PeterL1n/RobustVideoMatting

auenkind avatar Mar 03 '23 09:03 auenkind