pytti-tools / pytti-notebook

Start here
https://pytti-tools.github.io/pytti-book/intro.html
MIT License
110 stars 26 forks source link

infer image size/ratio from init image if provided #43

Closed dmarx closed 2 years ago

dmarx commented 2 years ago

this is complicated by the current configuration scheme which requires height and width be specified in the config file. Does hydra support optional config options? I guess maybe that's just defaulting to Null?

dmarx commented 2 years ago

Looks like this should already be supported, just need to set the defaults to -1. see pytti.workhorse.load_init_image