Skip to main content

Interface: NTCTrainerOptions

Indexable​

[key: string]: unknown

Properties​

baseResolution?​

optional baseResolution?: number


batchSize?​

optional batchSize?: number


channelActivations?​

optional channelActivations?: string[]


cosineAnnealingScale?​

optional cosineAnnealingScale?: number


dualGrid?​

optional dualGrid?: boolean


gradientPrecision?​

optional gradientPrecision?: "fixed" | "float" | "auto"

Auto uses float accumulation when its shader compiles, otherwise legacy fixed-point.


gridChannels?​

optional gridChannels?: number


hiddenActivation?​

optional hiddenActivation?: string


hiddenSizes?​

optional hiddenSizes?: number[]


iterations?​

optional iterations?: number


learningRate?​

optional learningRate?: number


levels?​

optional levels?: number


maxGradientNorm?​

optional maxGradientNorm?: number


mipFilter?​

optional mipFilter?: "source" | "lanczos"

Preserve supplied mips by default, or rebuild square sources with Lanczos-3.


mipsPerLevel?​

optional mipsPerLevel?: number


name?​

optional name?: string


outputChannels?​

optional outputChannels?: number


positionalEncoding?​

optional positionalEncoding?: boolean


quantization?​

optional quantization?: ResolvedNTCQuantizationConfig


retrainAfterQuantize?​

optional retrainAfterQuantize?: number


seed?​

optional seed?: number


textureResolution?​

optional textureResolution?: number


uvTransform?​

optional uvTransform?: any


weightsLearningRate?​

optional weightsLearningRate?: number

Optional separate MLP rate, decayed proportionally with the latent rate.