![]() |
|
Using Stable Diffision models for Colorization - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: Using Stable Diffision models for Colorization (/thread-4287.html) |
RE: Using Stable Diffision models for Colorization - Dan64 - 07.06.2026 (03.06.2026, 08:50)didris Wrote: Hi, Dan Hi didris, In the case it could be useful I added a GUI to DiTServerRPC see post: #1.425 Dan RE: Using Stable Diffision models for Colorization - didris - 07.06.2026 Hi, Dan great job, I will test it and write the results. RE: Using Stable Diffision models for Colorization - didris - 08.06.2026 Quote:Hi didris, Hi, Dan The installation was not easy, but I managed to get it working in the end. I think the problem was related to tkinter_embedrequirements.txtOverall, the software works now, and I successfully encoded five videos with durations of 10–15 minutes. Speed is 5 sec/frame with RTX5090. During testing, I noticed three issues:
I would also like to mention that with the first version I never had problems with frame colorization itself, apart from occasional inconsistencies where the same objects received different colors. Congratulations on the great work, and thank you for making this available. RE: Using Stable Diffision models for Colorization - safshe - 08.06.2026 Getting below error in GUI --- STARTING BATCH --- ⚠️ Error getting video info: CompletedProcess(args=['F:/AI_Works/DiTServerRPC/.venv/Lib/site-packages/vapoursynth/vspipe.exe', '--info', 'F:/AI_Works/DiTServerRPC/GUI/scripts\\vs_info.vpy', '-a', 'VideoPath=F:/AI_Works/DiTServerRPC/GUI/samples\\sample_bw.mp4'], returncode=1, stdout='', stderr="Failed to initialize VSScript. VSScript reported error: Python executable and library path couldn't be determined despite automatic configuration. Run `vapoursynth config` to set it for this Python installation and then try again.\n") >>> STARTING TASK: EXTRACT ℹ️ Starting extraction with script: "F:/AI_Works/DiTServerRPC/GUI/scripts\extract_refs_edge.vpy" [EXTRACT] Failed to initialize VSScript. VSScript reported error: Python executable and library path couldn't be determined despite automatic configuration. Run `vapoursynth config` to set it for this Python installation and then try again. ⚠️ Error getting video info: CompletedProcess(args=['F:/AI_Works/DiTServerRPC/.venv/Lib/site-packages/vapoursynth/vspipe.exe', '--info', 'F:/AI_Works/DiTServerRPC/GUI/scripts\\vs_info.vpy', '-a', 'VideoPath=F:/AI_Works/DiTServerRPC/GUI/samples\\sample_bw.mp4'], returncode=1, stdout='', stderr="Failed to initialize VSScript. VSScript reported error: Python executable and library path couldn't be determined despite automatic configuration. Run `vapoursynth config` to set it for this Python installation and then try again.\n") >>> STARTING TASK: COLORIZE ℹ️ No images to colorize. >>> STARTING TASK: ENCODE ⚠️ Error getting video info: CompletedProcess(args=['F:/AI_Works/DiTServerRPC/.venv/Lib/site-packages/vapoursynth/vspipe.exe', '--info', 'F:/AI_Works/DiTServerRPC/GUI/scripts\\vs_info.vpy', '-a', 'VideoPath=F:/AI_Works/DiTServerRPC/GUI/samples\\sample_bw.mp4'], returncode=1, stdout='', stderr="Failed to initialize VSScript. VSScript reported error: Python executable and library path couldn't be determined despite automatic configuration. Run `vapoursynth config` to set it for this Python installation and then try again.\n") ℹ️ Starting encoding with script: "encode_cmnet2.vpy" ---------------------------------------------------------------- [ENCODE] "F:/AI_Works/DiTServerRPC/.venv/Lib/site-packages/vapoursynth/vspipe.exe" "F:/AI_Works/DiTServerRPC/GUI/scripts\encode_cmnet2.vpy" - -a "VideoPath=F:/AI_Works/DiTServerRPC/GUI/samples\sample_bw.mp4" -a "RefDir=F:/AI_Works/DiTServerRPC/GUI/samples\ref_qwen" -a "RenderSpeed=auto" -a "MemoryFrames=20" --outputindex 0 -c y4m | "F:/AI_Works/DiTServerRPC/GUI/tools/x265/x265.exe" --preset fast --input - --fps 24000/1001 --output-depth 10 --y4m --profile main10 --crf 20.00 --output "F:/AI_Works/DiTServerRPC/GUI/samples\sample_bw_cmnet2_dt-color.h265" ---------------------------------------------------------------- [COMPLETED] Encoding: F:/AI_Works/DiTServerRPC/GUI/samples\sample_bw.mp4 @ 24000/1001 fps [COMPLETED] All tasks completed successfully. [COMPLETED] All tasks completed. RE: Using Stable Diffision models for Colorization - Selur - 09.06.2026 Did you "Run `vapoursynth config` to set it for this Python installation and then try again." like the message suggested? RE: Using Stable Diffision models for Colorization - safshe - 09.06.2026 I tried to set it but it shows "no configuration needed" RE: Using Stable Diffision models for Colorization - safshe - 09.06.2026 (09.06.2026, 04:52)Selur Wrote: Did you "Run `vapoursynth config` to set it for this Python installation and then try again." like the message suggested? F:\AI_Works\DiTServerRPC>.\.venv\Scripts\activate (.venv) F:\AI_Works\DiTServerRPC>vapoursynth config No configuration needed! (.venv) F:\AI_Works\DiTServerRPC> RE: Using Stable Diffision models for Colorization - Dan64 - 09.06.2026 Try to set the windows user environment variable VSSCRIPT_PATH to F:\AI_Works\DiTServerRPC\.venv\Lib\site-packages\vapoursynth\vsscript.dllWhat script are you using to run the GUI ? Dan (08.06.2026, 18:51)didris Wrote: Hi, Dan First all the GUI is very simple and is not a Hybrid replacement, it support only the colorization task, so if you need audio you need to mux it with mkvmerge. To open the video stream I'm using LSmashSource I don't know the kind of support of MOV file, but if the problem is only this you can convert the MOV to MKV with mkvmerge. Regarding the missing colorization, this is very strange. Did you check the folder "ref_qwen" ? this folder contains the colored images, while the B&W images are stored in "ref_tht10", please check them. Dan RE: Using Stable Diffision models for Colorization - Selur - 09.06.2026 LSMashSource => better use bs.VideoSource or lsmas.LWLibavSource RE: Using Stable Diffision models for Colorization - safshe - 09.06.2026 (09.06.2026, 14:06)Dan64 Wrote: Try to set the windows user environment variable VSSCRIPT_PATH to I did the above VSSCRIPT_PATH solution but still same error. I run gui by F:\AI_Works\DiTServerRPC>.\.venv\Scripts\activate (.venv) F:\AI_Works\DiTServerRPC>python GUI\CMNET2_colorize_client_GUI.py |