Closed namion closed 2 years ago
I'm interested in getting feedback on this. On the one hand, the dream_log.txt format is much easier for a human to read. On the other, the dream_web_log.txt format is perfect for Python to read the prompts back in and run them again. In theory, you could accidentally delete all your images, and then just run the logfile through dream.py to automatically reproduce them.
Just to share some related ideas I have in mind, the first is to number each of the output lines in the command-line script. This would let you refer back to the prompts that generated each image and apply variations to their switches using some yet-to-be-defined syntax. Under this proposal, the outputs would look like:
Outputs:
[5] outputs/img-samples/000030.4201642339.png: "scarlet ohara" -s50 -W512 -H512 -C7.5 -Ak_lms -S4201642339
[6] outputs/img-samples/000031.2540801490.png: "scarlet ohara" -s50 -W512 -H512 -C7.5 -Ak_lms -S2540801490
I imagine this won't be controversial. More controversial is using JSON format (the punctuation-heavy format in dream_web_log.txt) for the DREAM prompt that's stored in the PNG metadata. The prompt is currently stored there in dream_log.txt format. Of course, one could do both.
Your proposal for the dream_log sounds great. Creating variations based on the [#] sounds simple and easy and would be a nice feature to have. My vote obviously goes to having a more human friendly format for dream_web_log. But I certainly defer to those of you that are doing all of the coding work as to which one is the best to have and work with. In it's current form, the dream_web_log is more than usable, just a bit tedious to read. Interested in what others think about this.
This is worth a longer discussion, so I'm moving it out of Issues and into the Discussion forum.
Would anyone else prefer this?
I hate to nitpick because I appreciate the addition of the logging feature, but the dream_web_log.txt entries have a lot of filler punctuation that make it hard to read & copy.
I much prefer this (dream_log.txt):
over this (dream_web_log.txt):
If this were to change, it would make it much easier to run web log entries in the CLI if desired.
Thanks for listening. If this is a bad idea please feel free to close the issue. 😃