Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The animation almost finishes but pauses on the last frame of the UI

オープン
#236 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
ai, desktop

調査の方向性

Start in stability_sdk/utils.py at create_video_from_frames and trace its caller in stability_sdk/animation_ui.py, especially render and postprocess_video. Reproduce the Windows animation flow and inspect the subprocess command that fails with WinError 2. Done means the video is created and returned to the UI without either FileNotFoundError.

索引モデルが issue の本文から書いたものです。

説明

bug

Then there is this in the terminal.

Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 3 more times
17%|█████████████▋ | 12/72 [00:55<05:15, 5.25s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
56%|█████████████████████████████████████████████▌ | 40/72 [02:49<01:54, 3.59s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
58%|███████████████████████████████████████████████▊ | 42/72 [03:00<02:11, 4.37s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
69%|████████████████████████████████████████████████████████▉ | 50/72 [03:36<01:32, 4.20s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
71%|██████████████████████████████████████████████████████████ | 51/72 [03:42<01:40, 4.79s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
86%|██████████████████████████████████████████████████████████████████████▌ | 62/72 [04:27<00:36, 3.69s/it]Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 5 more times
Received classifier obfuscation. Exceeded nsfw threshold
adjusting request, will retry 4 more times
100%|██████████████████████████████████████████████████████████████████████████████████| 72/72 [05:09<00:00, 4.30s/it]
Traceback (most recent call last):
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\routes.py", line 414, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1323, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1067, in call_function
prediction = await utils.async_iteration(iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\utils.py", line 339, in async_iteration
return await iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\utils.py", line 332, in anext
return await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\utils.py", line 315, in run_sync_iterator_async
return next(iterator)
^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\animation_ui.py", line 670, in render
create_video_from_frames(outdir, output_video, fps=args.fps, reverse=args.reverse)
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\utils.py", line 240, in create_video_from_frames
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1509, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\animation_ui.py", line 372, in postprocess_video
create_video_from_frames(outdir, output_video, fps=fps, reverse=reverse)
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\utils.py", line 240, in create_video_from_frames
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1509, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\routes.py", line 414, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1326, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1251, in postprocess_data
prediction_value = postprocess_update_dict(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 434, in postprocess_update_dict
prediction_value["value"] = block.postprocess(prediction_value["value"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\components.py", line 2156, in postprocess
processed_files = (self._format_video(y), None)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\components.py", line 2215, in _format_video
video = self.make_temp_copy_if_needed(video)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\components.py", line 250, in make_temp_copy_if_needed
temp_dir = self.hash_file(file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\components.py", line 222, in hash_file
with open(file_path, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.\My amazing animation\My amazing animation (1).mp4'

主要言語
Jupyter Notebook
スター
2.4k
フォーク
338
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Stability-AI/stability-sdk のほかの issue

Stability-AI/stability-sdk の issue をすべて見る

似ている issue

AI Infra & Agents の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。