Coder Social home page Coder Social logo

Comments (2)

asadullahnaeem avatar asadullahnaeem commented on June 13, 2024

Had the same error. Shortening the save path length solved this issue..

from sadtalker.

AppStolz avatar AppStolz commented on June 13, 2024

Traceback (letzter Aufruf zuletzt): Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\gradio\routes.py ", Zeile 488, in run_predict Output = waiting app.get_blocks().process_api( Datei "D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib \site-packages\gradio\blocks.py“, Zeile 1431, in process_api result = waiting self.call_function( Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4 .6.1\python\lib\site-packages\gradio\blocks.py“, Zeile 1103, in Call_Function Prediction = Wait Anyio.to_Thread.run_sync( Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5 \sd-webui-aki-v4.6.1\python\lib\site-packages\anyio\to_thread.py“, Zeile 31, in run_sync return waiting get_asynclib().run_sync_in_worker_thread( Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd- webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\anyio_backends_asyncio.py“, Zeile 937, in run_sync_in_worker_thread returnwaite zukünftige Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd- webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\anyio_backends_asyncio.py“, Zeile 867, in run result = context.run(func, *args) Datei „D :\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\gradio\utils.py“, Zeile 707, in Wrapper- Antwort = f( *args, **kwargs) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\modules\call_queue.py“, Zeile 13, in f res = func(*args, **kwargs) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1/extensions/SadTalker\src\gradio_demo.py“, Zeile 139, im Test return_path = self.animate_from_coeff.generate(data, save_dir, pic_path, crop_info, Enhancer='gfpgan' if use_enhancer else None, preprocess=preprocess, img_size=size) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui -aki-v4.5\sd-webui-aki-v4.6.1/extensions/SadTalker\src\facerender\animate.py“, Zeile 205, in generic imageio.mimsave(path, result, fps=float(25)) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\imageio\v2.py“, Zeile 484, in Mimwrite- Rückgabe file.write(ims, is_batch=True, **kwargs) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages \imageio\core\legacy_plugin_wrapper.py“, Zeile 253, in write write.append_data(image, metadata) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\imageio\core\format.py“, Zeile 590, in append_data return self._append_data(im, total_meta) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\imageio\plugins \ffmpeg.py“, Zeile 600, in _append_data self._write_gen.send(im) Datei „D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\ lib\site-packages\imageio_ffmpeg_io.py“, Zeile 637, in write_frames löst IOError(msg) OSError aus: [Errno 32] Broken Pipe

FFMPEG-BEFEHL: D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\imageio_ffmpeg\binaries\ffmpeg-win64-v4.2.2. exe -y -f rawvideo -vcodec rawvideo -s 256x256 -pix_fmt rgb24 -r 25.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -v warning D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd -Webui-aki-v4.6.1 \ Ergebnisse \ 19AF39A2-909C-4A83-B20B-AABB730512C8 \ TEMP_TMPTMZGPVNO ## HTTPS ___ YSHARMA-OPENAI-TTS-NEW.SPACE _. 5DE596A65C53C8EE5E90B3DE24B_TMPZMM3QPHS-0-100.MP4

FFMPEG STDERR-AUSGABE:

Troubleshooting Steps:

  1. Check ffmpeg Installation:

    • Ensure that ffmpeg is correctly installed and can be used by imageio.
    • You can check this by running the ffmpeg command in your command prompt:
      D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\python\lib\site-packages\imageio_ffmpeg\binaries\ffmpeg-win64-v4.2.2.exe
      
    • If ffmpeg isn't working correctly, consider reinstalling it or using a newer version.
  2. Temporary Files:

    • The path to the temporary file used by imageio appears to be very long and contains special characters (#, ___, HTTPS, etc.). This might cause issues.
    • Try shortening the path or removing special characters.
  3. Image Size and Format:

    • Check if the image size and pixel format you're using are supported by ffmpeg. The error log indicates that the pixel format rgb24 followed by yuv420p is being used, which should generally work, but it might be helpful to try other formats.
  4. Logs:

    • It would be beneficial to see the STDERR output from ffmpeg. Unfortunately, it's not included in your excerpt. This output could provide further clues about the issue.
  5. Gradio and Imageio Version:

    • Ensure you are using the latest version of Gradio and imageio. An update might fix the issue.
  6. Disk Space:

    • Ensure there is sufficient disk space on your system, especially in the target directory (D:\BaiduNetdiskDownload\QiuYeStableDiffusion\sd-webui-aki-v4.5\sd-webui-aki-v4.6.1\ Ergebnisse \ 19AF39A2-909C-4A83-B20B-AABB730512C8).

from sadtalker.

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.