Comments (18)
You can now use --output-directory directory/path to set the output path.
from comfyui.
I'm astonished to see that such an advanced and revolutionary piece of software just dumps all output files in the same folder with a meaningless ComfyUI_00123.png format.
A1111 is miles ahead here, naming files as output/YYYY-MM-DD/batchnumber_seed.png in a folder with the current date.
Is there some solution, extension or any possible way to emulate the same output format from automatic1111?
from comfyui.
@Schokostoffdioxid My model paths yaml doesn't include an output-directory value. However, I now set the output path and filename using a primitive node as explained here: Change output file names in ComfyUI
Basically, to output files in a folder with current date you add this to your Primitive node:
%date:yyyy-MM-dd%/%date:hhmmss%_%KSampler.seed%
So the file would be saved as output/2023-08-15/083821_109992800202691_00001_.png, which means output/date/time_seed_00001_.png.
from comfyui.
is it also possible to set the output
path?
from comfyui.
@ltdrdata It seems the README says nothing about output paths, and that plugin seems to add other features which are irrelevant in this case.
from comfyui.
Hi, maybe im just dumb but is there no documentation / ability on how to set the output path inside the yaml?
im currently trying the following but this doesn't seem to work...
a111:
base_path: E:\stable-diffusion-ai
output-directory: stable-diff-output\comfyui
Also an ability (like a boolean here) to make automatic folders for different dates would be sick (but probably another PR i imagine)
from comfyui.
In my advanced menu i dont have any of the same stuff there.
ALL i have are "Loaders, conditioning & model_merging" in advanced. Anyone else?
from comfyui.
I'm astonished to see that such an advanced and revolutionary piece of software just dumps all output files in the same folder with a meaningless ComfyUI_00123.png format.
A1111 is miles ahead here, naming files as output/YYYY-MM-DD/batchnumber_seed.png in a folder with the current date.
Is there some solution, extension or any possible way to emulate the same output format from automatic1111?
I've created a node for the purpose of customizing the file and folder names: https://github.com/thedyze/save-image-extended-comfyui
from comfyui.
See also #66, #35, and #18 for alternate suggestions regarding this issue.
from comfyui.
https://github.com/comfyanonymous/ComfyUI/blob/master/extra_model_paths.yaml.example
Update the ui, copy the new ComfyUI/extra_model_paths.yaml.example to ComfyUI/extra_model_paths.yaml and edit it to set the path to your a1111 ui.
from comfyui.
Awesome, will test later. Thank you for adding this
from comfyui.
You can now use --output-directory directory/path to set the output path.
That unfortunately does not work for UNC paths on Windows:
File "C:\Applications\StableDiffusion\ComfyUI\ComfyUI\folder_paths.py", line 214, in get_save_image_path
if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
File "ntpath.py", line 804, in commonpath
ValueError: Paths don't have the same drive
from comfyui.
Where did you try to change please? In the .bat file or in the .yaml file.
from comfyui.
Where did you try to change please? In the .bat file or in the .yaml file.
Batch file...
from comfyui.
Yes, I tried and does not work :/
from comfyui.
I'm astonished to see that such an advanced and revolutionary piece of software just dumps all output files in the same folder with a meaningless ComfyUI_00123.png format.
A1111 is miles ahead here, naming files as output/YYYY-MM-DD/batchnumber_seed.png in a folder with the current date.
Is there some solution, extension or any possible way to emulate the same output format from automatic1111?
Maybe you can find it in the WAS node suite.
from comfyui.
delete
from comfyui.
You can now use --output-directory directory/path to set the output path.
That unfortunately does not work for UNC paths on Windows:
File "C:\Applications\StableDiffusion\ComfyUI\ComfyUI\folder_paths.py", line 214, in get_save_image_path if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir: File "ntpath.py", line 804, in commonpath ValueError: Paths don't have the same drive
just fyi this works fine in Windows
in run_nvidia_gpu.bat just put it here
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --output-directory "G:\projects\project-name\comfy-output"
pause
Works great with network shares mounted as drive letters
from comfyui.
Related Issues (20)
- ERROR WHEN LOADING LORA HOT 2
- SDXL and Pony controlnets not working HOT 1
- search for types should not be (only) unsorted dropdown list
- After the last update black images after few steps on Mac mini M2 pro with Sonoma 14.5 HOT 18
- Crash with image previews in KSampler nodes HOT 7
- Images generated with square brackets ("[]") in prompt can't be reproduced anymore HOT 12
- "--preview-method taesd" cmd line arg does not appear to work properly HOT 2
- 快捷键的更多方式
- Only 1 release since over a year old? HOT 2
- raise ClientConnectorError(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [getaddrinfo failed] HOT 3
- Primitive Node is next to useless
- Hello, how can I submit a workflow via the API interface and obtain the actual link and ID of the workflow?
- Websocket connection will be created over and over again! HOT 1
- NotADirectoryError: [WinError 267] The directory name is invalid HOT 1
- The text box component cannot be loaded HOT 1
- Inaccessible Group Node
- Parallel Execution of Independent Nodes HOT 2
- Cannot handle this data type: (1, 1, 3), <f4 HOT 2
- python crashes in Ksampler after MacOS 14.5 update HOT 18
- After updating to the latest version, an issue occurred where the environment crashes as soon as an image is displayed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui.