Comments (15)
@alexfredo I think I got this. I used time of creation as a filename and apparently colon is a forbidden character in the filename on windows. Check it out again please.
from sd-cn-animation.
Yeah I have the same error
from sd-cn-animation.
For now only Automatic1111/wub-ui is supported. But I tried to fix this issue anyway. Please, update the extension and try to run it again. Tell me if it works for you.
from sd-cn-animation.
With new version, got this:
Traceback (most recent call last):
File "e:\.ai\automatic\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "e:\.ai\automatic\venv\lib\site-packages\gradio\blocks.py", line 1299, in process_api
result = await self.call_function(
File "e:\.ai\automatic\venv\lib\site-packages\gradio\blocks.py", line 1036, in call_function
prediction = await anyio.to_thread.run_sync(
File "e:\.ai\automatic\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "e:\.ai\automatic\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "e:\.ai\automatic\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "e:\.ai\automatic\venv\lib\site-packages\gradio\utils.py", line 488, in async_iteration
return next(iterator)
File "e:\.ai\automatic/extensions/sd-cn-animation/scripts\vid2vid.py", line 172, in start_process
processed_frames, _, _, _ = img2img(args_dict)
File "e:\.ai\automatic/extensions/sd-cn-animation/scripts\vid2vid.py", line 445, in img2img
if shared.cmd_opts.enable_console_prompts:
AttributeError: 'Namespace' object has no attribute 'enable_console_prompts'
UPD. The fork has no --enable-console-prompts command line argument implemented, so the extension fails. Maybe, there is a safer way (then IF) to check for the argument, so it wouldn't crash.
from sd-cn-animation.
For me it's works now but the file is not save in the vid2vid folder I have no idea where is the video
from sd-cn-animation.
@ke1ne I just took a closer look at how img2img is implemented in Automatic1111 and vladmandic fork. It seems that this is just a legacy code that I borrowed, and everything should work fine without it. Although there are probably still some surprises like that left. Updated the code ones again.
@alexfredo So it did create 'outputs/sd-cn-animation/vid2vid/' folder but does not saved the video? If so this is quite strange.
from sd-cn-animation.
Yes the folder are created but not the video I have checked the temp folder of my computer there's just the original video in a new folder
from sd-cn-animation.
Thanks! It started to generate, and on some stage I got this:
Traceback (most recent call last):
File "e:\.ai\automatic\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "e:\.ai\automatic\venv\lib\site-packages\gradio\blocks.py", line 1299, in process_api
result = await self.call_function(
File "e:\.ai\automatic\venv\lib\site-packages\gradio\blocks.py", line 1036, in call_function
prediction = await anyio.to_thread.run_sync(
File "e:\.ai\automatic\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "e:\.ai\automatic\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "e:\.ai\automatic\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "e:\.ai\automatic\venv\lib\site-packages\gradio\utils.py", line 488, in async_iteration
return next(iterator)
File "e:\.ai\automatic/extensions/sd-cn-animation/scripts\vid2vid.py", line 172, in start_process
processed_frames, _, _, _ = img2img(args_dict)
File "e:\.ai\automatic/extensions/sd-cn-animation/scripts\vid2vid.py", line 470, in img2img
if opts.samples_log_stdout:
File "E:\.ai\automatic\modules\shared.py", line 506, in __getattr__
return super(Options, self).__getattribute__(item)
AttributeError: 'Options' object has no attribute 'samples_log_stdout'
I think, it's similar case related to non-existing parameters, etc. The samples_log_stdout parameter appears in the scripts/vid2vid.py too, and there is an IF check too.
from sd-cn-animation.
@volotat yes it's works now ! thanks
from sd-cn-animation.
Deleted these lines in SD-CN-Animation\scripts\vid2vid.py, and it started to work:
if opts.samples_log_stdout:
print(generation_info_js)
P.S. I would propose to disable the Generate button while the script actually generates. Or replace it to Stop.
from sd-cn-animation.
@ke1ne Yep. Exactly the same thing. Removed this code also.
Regarding the buttons, I totally agree. My closest plans are to add txt2vid mode, add 'interrupt' button, disable 'generate' while it's running and make all model dependencies to download automatically.
from sd-cn-animation.
@volotat BTW, who is Crimea belongs to?
from sd-cn-animation.
@volotat BTW, who is Crimea belongs to?
"On 16 March 2018, the case Satter v. Department of Justice was closed"
from sd-cn-animation.
@volotat well, can't have a deal with the ruschism supporter. no good wishes
from sd-cn-animation.
@ke1ne Far from it. Just google it. I hope you will understand what I'm trying to say. As I have a lot to say about it, but this is not the best place for it.
from sd-cn-animation.
Related Issues (20)
- An exception occurred while trying to process the frame: unsupported operand type(s) for +: 'int' and 'NoneType' HOT 1
- IS THERE A PLACE TO UPLOAD STRICTLY SD-CN ANIMATION? HOT 2
- ControlNet no longer working HOT 11
- Previous Image Quality severely dropped on fully processed image
- FileNotFoundError HOT 1
- An exception occurred while trying to process the frame: HTTP Error 503: Service Unavailable HOT 1
- SD-CN-Animation base_ui.py error
- No such file or directory: C:\Users\<name>\.cache\torch\hub\checkpoints\models\FloweR\... HOT 2
- [BUG]: it's "skimage" NOT "scikit-image" !!! HOT 1
- Does not work with sdxl
- A Gallery of Sorts? HOT 1
- This error keeps popping after a few renders: 2023-10-24 09:27:13 INFO [httpx] HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK" HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK"
- SD-CN causing "No ControlNetUnit detected in args" ERROR HOT 4
- [BUG] Error when Generating HOT 6
- Output is all messed up
- Notice: extension is incompatible with webui 1.8, pending removel form extension index HOT 5
- No module named 'basicsr' HOT 1
- No module named 'basicsr
- txt2vid doesn't work at all HOT 3
- Text to video not working for me
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 sd-cn-animation.