Houdini 20.5 Nodes TOP nodes

Preprocess OIDN TOP node

Processes training and validation datasets for OIDN model training.

On this page
Since 20.5

Overview

This node is a wrapper around the OIDN preprocessing script used to preprocess training and validation datasets compliant with the OIDN dataset naming scheme.

Installation:

The OIDN scripts require an additional installation of torch (PyTorch) to hython.

Firstly, we intitialize the hython environment by navigating to the Houdini installation directory.

Linux

cd /opt/hfsx.x.x

Mac

cd /Applications/Houdini/Houdinix.x.x/Frameworks/Houdini.framework/Resources

Windows

cd "C:\\Program Files\\Side Effects Software\\Houdini x.x.x"

Then we source the houdini_setup script, followed by an installation of torch to hython.

source houdini_setup
hython -m pip install torch

Parameters

Input Features

The set of input features of the dataset to preprocess for training. The following image features are supported:

hdr

color (high dynamic range) with file extension .hdr.exr

ldr

color (low dynamic range) with file extension .ldr.exr

sh1

color (normalized L1 spherical harmonics) with file extensions .sh1x.exr, .sh1y.exr, and .sh1z.exr

alb

albedo with file extension .alb.exr

nrm

shading normal with file extension .nrm.exr

All input features are assumed to be noisy, including the auxilliary features (e.g. albedo, normal). The auxiliary feature images are optional inputs which usually improve denoising quality and preserve more details.

Clean auxilliary features

This parameter should be enabled when the auxiliary images are noise-free, in which case the reference auxiliary features are used in training instead of the various noisy auxiliary images.

Filter

The filter to train. The filters are:

RT

Generic ray tracing denoising filter suitable for denoising images rendered with Monte Carlo ray tracing methods like unidirectional and bidirectional path tracing.

RTLightmap

Variant of RT filter optimized for denoising HDR and normalized directional lightmaps and does not support LDR images.

The choice of filter determines the HDR/LDR transfer function to be used

Output Directory

The directory to output preprocessed results.

Training Dataset

The name of the training dataset folder.

Validation Dataset

The name of the validation dataset folder.

Data Directory

The directory of the training and validation data.

Device

The device (e.g. CPU, GPU) to use for training computations. The options are: cpu, cuda, and mps.

Device ID

The specified device to use if there are multiple devices of the same kind available (e.g. multiple GPUs).

Device Count

The number of devices to use for data-parallel execution for faster performance.

Advanced

These are advanced parameters that provide finer control over the behavior of the preprocessing.

Transfer Function

The HDR/LDR transfer function to be used.

Deterministic

Make computations deterministic, resulting in slower performance.

See also

TOP nodes