Oink
Nodes

Inference

Inference: applies a .ocat model from a Train node to every frame (tiled, cached).

raw .md

Inference: applies a .ocat model from a Train node to every frame (tiled, cached). tile_size and overlap set the tiles (they blend over the overlap); mix blends the result with the input. Export writes TorchScript (Nuke CatFileCreator makes a .cat from it) or ONNX (Flame, Nuke 16+).

NodeInference
Type idOC_N_aiinference
MenuAI › Inference
Nuke classnone: saved in .nk files as an Oink node
Codeopencomp_core/nodes/ai/aitrain.py

Inference properties

Inputs and outputs

PortNameType
input 0Sourceimage
output 0Imageimage

Knobs

Panel tab Aiinference, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
checkpointmodel filefile.ocat checkpoint written by a Train node
mixmixfloat10 to 1
tile_sizetilefloat102464 to 8192 (integer)Tile size (px); tiles blend over the overlap
overlapoverlapfloat640 to 512 (integer)

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
generationGenerationint0-2147483648 to 2147483647

Nuke equivalent

No Nuke class. In a .nk file this node is written as an Oink node that Nuke will not recognise.

On this page