v0.11.0 - Feature Parity!
This release includes fixes for the only remaining places where pytti-tools and pytti 5 beta still differed in behavior. Namely:
show_palette
- Previously would throw errors, workaround was to keep this disabled. Palette now displays correctly without errors.Limited Palette::init_image
- Limited Palette wasn't properly loadinginit_image
. Fixed! details below.
Details on the Limited Palette::init_image
fix
Observed behavior was that Limited Palette generations with an init image would initialize to a black+white image, then the init_image
would populate after a few frames generated. Cause was a bug that was introduced with the addition of gradient accumulation. Fixed by restructuring conditional statement in training code that was causing full bypass of update procedure if no Embedder object (i.e. CLIP model) passed to trainer. Etiology of this bug suggests there was probably also some difference in how motion transformations impacted animations for Limited Palette, and also accounts for difference in speed reported by users (since pytti-core was skipping the 201 update steps hard-coded into the PixelImage.encode_image(smart_encode=True)
behavior).