Giter Site home page Giter Site logo

Comments (15)

volotat avatar volotat commented on August 23, 2024 1

@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.

alexfredo avatar alexfredo commented on August 23, 2024

Yeah I have the same error

from sd-cn-animation.

volotat avatar volotat commented on August 23, 2024

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.

ke1ne avatar ke1ne commented on August 23, 2024

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.

alexfredo avatar alexfredo commented on August 23, 2024

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.

volotat avatar volotat commented on August 23, 2024

@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.

alexfredo avatar alexfredo commented on August 23, 2024

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.

ke1ne avatar ke1ne commented on August 23, 2024

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.

alexfredo avatar alexfredo commented on August 23, 2024

@volotat yes it's works now ! thanks

from sd-cn-animation.

ke1ne avatar ke1ne commented on August 23, 2024

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.

volotat avatar volotat commented on August 23, 2024

@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.

ke1ne avatar ke1ne commented on August 23, 2024

@volotat BTW, who is Crimea belongs to?

from sd-cn-animation.

volotat avatar volotat commented on August 23, 2024

@volotat BTW, who is Crimea belongs to?

"On 16 March 2018, the case Satter v. Department of Justice was closed"

from sd-cn-animation.

ke1ne avatar ke1ne commented on August 23, 2024

@volotat well, can't have a deal with the ruschism supporter. no good wishes

from sd-cn-animation.

volotat avatar volotat commented on August 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.