temporalvideo usage changes

#7

Hi,

This is an updated version of the temporalvideo.py file that does the following things:

  • Add argparser for easier basic usage
  • Add dynamic lookup of controlnet models in case the names or commit ids of available models are different
  • Ensure all image inputs are scaled to the same resolution - the optical flow maps were hard coded to 512x512 and would produce images that didn't line up with non square input images.
  • Write out controlnet images to help debug resolution related errors. It's also interesting to see the output of the preprocessors for hed and openpose.

Hopefully you find this helpful. Thanks so much for your work on this topic, it's pretty awesome!

Jase

Thanks for this! Merged :D

CiaraRowles changed pull request status to merged

not a problem at all! Thanks.

Sign up or log in to comment