Upscale

The Upscale node increases the input format by a factor of two using a pre-trained machine learning network. For example, an input image at 1920x1080 upscales to a 3840x2160 output image.

Inputs and Controls

Connection Type

Connection Name

Function

Input

Source

The image to which the upscaling is applied.

Control (UI)

Knob (Scripting)

Default Value

Function

Upscale Tab

Local GPU

gpuName

N/A

Displays the GPU used for rendering when Use GPU if available is enabled. Local GPU displays Not available when:

Use CPU is selected as the default blink device in the Preferences.

no suitable GPU was found on your system.

it was not possible to create a context for processing on the selected GPU, such as when there is not enough free memory available on the GPU.

You can select a different GPU, if available, by navigating to the Preferences and selecting an alternative from the default blink device dropdown.

Selecting a different GPU requires you to restart Nuke before the change takes effect.

Use GPU if available

useGPUIfAvailable

enabled

When enabled, rendering occurs on the Local GPU specified, if available, rather than the CPU.

Note:  Enabling this option with no local GPU allows the script to run on the GPU whenever the script is opened on a machine that does have a GPU available.
You should also select this if you wish to render from the command line with the --gpu option.

See Nuke 13 Release Notes for more information on the GPUs Nuke supports.

Tile Size

tileSize

None

Controls how the input image is upscaled:

None - the full image is processed at once, which can use a large amount of GPU memory depending on the image size.

1024, 2048, 4096 - the image is processed in tiles of the selected size. These options allow you to process large images on machines with limited GPU memory.