C++ TouchDesigner plugin running U^2-Net at 30 FPS.
I exported U^2-Net as a traced pytorch module and ran it at over 30 FPS inside a custom TouchDesigner plugin with the libtorch CUDA backend. The input resolution is 320x320 RGBA 8-bit, and the output is 320x320 Mono 32-bit float.
Real-time segmentation in #TouchDesigner 30 fps with https://t.co/kRzt9vgxjw pic.twitter.com/ZLkE3JdMB2
— David Braun (@DoItRealTime) July 30, 2020