You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be super helpful to have a post-processing option, such as a text field where the user adds the location of a Python script that will be run after processing. This script has access to the settings.txt data as a JSON, and from this script, other scripts can be called.
I am sure many users do a lot of post-processing that gets tedious quickly. I am new to Deforum and I already have like 20 scripts to do things like labels, resizing, adj colors, RIFE and scaling tweaks, etc. I have already implemented this for labeling videos, which is especially useful in the R&D phase of a project. I simply pickle the *args to a file and in the subprocess I call right before return in run_deforum.py I unpickle the file to a JSON, extract the ID, and label the video with relevant info. It has saved me a lot of time! My version is hacky and minimal, but an official version would probably be able to include a lot more useful information.
It also allows users to contribute some great scripts, especially such things as for archiving, renaming, optimizing, converting, logging, etc., etc. My next task is to log all args, files, configs, etc into a database so I can easily search by ID and pull up the 872 different variables that were used to create that specific image 5 weeks ago.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be super helpful to have a post-processing option, such as a text field where the user adds the location of a Python script that will be run after processing. This script has access to the settings.txt data as a JSON, and from this script, other scripts can be called.
I am sure many users do a lot of post-processing that gets tedious quickly. I am new to Deforum and I already have like 20 scripts to do things like labels, resizing, adj colors, RIFE and scaling tweaks, etc. I have already implemented this for labeling videos, which is especially useful in the R&D phase of a project. I simply pickle the
*args
to a file and in the subprocess I call right beforereturn
inrun_deforum.py
I unpickle the file to a JSON, extract the ID, and label the video with relevant info. It has saved me a lot of time! My version is hacky and minimal, but an official version would probably be able to include a lot more useful information.It also allows users to contribute some great scripts, especially such things as for archiving, renaming, optimizing, converting, logging, etc., etc. My next task is to log all args, files, configs, etc into a database so I can easily search by ID and pull up the 872 different variables that were used to create that specific image 5 weeks ago.
Beta Was this translation helpful? Give feedback.
All reactions