The animation almost finishes but pauses on the last frame of the UI
まだ誰も着手していません。
評価
調査の方向性
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 の本文から書いたものです。
説明
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Stability-AI/stability-sdk のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
Stability-AI/stability-sdk#319 ·
-
Teste 01オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Stability-AI/stability-sdk#317 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
Stability-AI/stability-sdk#297 · コメント 2 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Stability-AI/stability-sdk#294 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Stability-AI/stability-sdk#284 ·
Stability-AI/stability-sdk の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dice-group/owlapy#290 ·
-
Bug: search_page and find_elements results never reach the LLM (only the one-line summary does)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
browser-use/browser-use#5947 ·
メンテナーはふだん 1 日以内に返信
-
area/config comp/agent P3 provider/minimax type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
NousResearch/hermes-agent#128830 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NVIDIA/SkillSpector#689 ·
メンテナーはふだん 3 日以内に返信
-
coverage-gap good-first-pattern help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
GoogleCloudPlatform/k8s-aibom#114 ·
メンテナーはふだん 1 日以内に返信