TheFoundryVisionmongers / nuke-ML-server

A Nuke client plug-in which connects to a Python server to allow Machine Learning inference in Nuke.
Apache License 2.0
134 stars 36 forks source link

Add support for complex types: color, 2D, 3D coordinates, matrix #20

Open ldmoser opened 3 years ago

ldmoser commented 3 years ago

Hi! Is there a plan to add support for other kinds of native Nuke knobs? I listed a few in the title just as example. I wonder if it could check for the attribute "shape" and if it's a tuple than perhaps map to the appropriate knob? That way it would be compatible with pytorch or numpy tensors for example. Just an idea. Also along these lines, it would be great to, instead of use the data type as the only input, perhaps there could be a way to specify metadata about each input, which could distinguish between RGB vs 3D position types, as well as provide min/max values for a float input. I think all that could go a long way to create intuitive interfaces for ML models embedded in Nuke.