Extraltodeus / noise_latent_perlinpinpin

This allows to create latent spaces filled with perlin-based noise that can actually be used by the samplers.
30 stars 7 forks source link

Reuse code for 16 (or other) channel versions #11

Closed blepping closed 1 month ago

blepping commented 1 month ago

there's no need to create a completely separate duplicate version of all the Perlin generation code for a different number of channels.

this small pull just does a slight refactor to pass the number of channels as a function argument. the 16 channel version just subclasses the normal 4 channel one and passes 16 for the number of channels to use.

Extraltodeus commented 1 month ago

Thank you!