nimanzrii / comfyui-popup_preview Goto Github PK
View Code? Open in Web Editor NEWpopup preview for comfyui
popup preview for comfyui
I can't seem to install this at all, I've retried several times. Both by installing missing nodes, and manually installing from this repo.
When restarting Comfy, I get this in my import custom nodes section:
(IMPORT FAILED): C:\AI\ComfyUI\custom_nodes\comfyui-popup_preview
And in "Install missing nodes", I get this:
I have tried to uninstall and reinstall from there, it's just not starting with Comfy.
The files are downloaded fine.
I have tried running the setup.bat as well.
Any suggestions?
Hi Nima, I have a issue.
The "ConfyUI-Photoshop" node plugin works ok, but the "comfyui-popup_preview" node plugin isn't working at all.
Context: I used the "extra_model_paths.yaml" (in the ConfyUI folder) to establish the "base_path" to the Automatic1111 folder, so I can use the same folders for the checkpoints, controlnets, lora, etc, in Automatic1111 and ConfyUI.
I think this causes a problem in the Popup Preview plugin.
This is the error I get from the image:
Python not exist on: C:\IA\Stable diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview\window\venv\Scripts\python.exe and this is popup window path C:\IA\Stable diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview\window\popup_window.py
I would like to continue sharing folders with A111 and ConfyUI.
How could it be solved?
(Running on Windows10)
Commit 89d6a97 seems to break any other custom nodes that use folder_paths
in their initialization (rgthree-comfy, ComfyUI_Comfyroll_CustomNodes, ComfyUI_tinyterraNodes, etc.).
If I had to guess, it's probably this new line:
+ os.chdir(os.path.join(node_path, "window"))
Which is likely changing the operating directory following nodes are using. Probably safer to avoid changing the directory, and just checking/invoking from the current path.
Hello
I'm having the following error message when I use Popup preview
Error occurred when executing PreviewPopup:
Input image must have 3 channels and a 3-dimensional shape, but got torch.Size([2, 512, 512, 3])
The rest of the worklow is fine.
Trying to run PreviewPopup for the first time and the workflow keeps failing as soon as it hits this node. It's a fresh install of the node and ComfyUI is up to date. Error is as follows;
`Error occurred when executing PreviewPopup:
[WinError 2] The system cannot find the file specified
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\execution.py", line 154, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\execution.py", line 84, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\execution.py", line 77, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview\popup.py", line 50, in execute
save_image(image, subpath)
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview\popup.py", line 30, in save_image
execute_after_save()
File "C:\Users\Trism\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview\popup.py", line 15, in execute_after_save
subprocess.Popen([Python_patch, 'popup_window.py'])
File "subprocess.py", line 971, in init
File "subprocess.py", line 1440, in _execute_child`
possible problem with the preview requiremts Requirement on wsl ```
already satisfied: opencv-python==4.8.1.78 in /home/impactframes/micromamba/envs/comfy/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (4.8.1.78)
ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306
can you modify to use a wsl alternative for pywin32?
Thank you very much for your work on photoshop and this repository !!!
Q:I found a problem, when I used the preview window for the first time there was no problem, but I closed the preview window and started it again, it would not work and kept crashing, I had to restart comfyui to solve this problem. My English is terrible, sorry about that :)
OS:win10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.