animation API errors
还没有人认领这个 Issue。
评估
调研方向
The failure is reported at src/stability_sdk/animation.py:217-219 in cv2_to_pil; start by reproducing the animation request with the listed model versions and inspecting the returned frame data before conversion. Done means identifying why no frames are available and documenting or fixing the resulting error path, with a regression check for the affected API response.
由索引模型根据 Issue 内容生成。
描述
I'm using the animation API and getting
TypeError: 'NoneType' object is not subscriptable
here:
https://github.com/Stability-AI/stability-sdk/blob/main/src/stability_sdk/animation.py#L217-L219
def cv2_to_pil(cv2_img: np.ndarray) -> Image.Image:
"""Convert a cv2 BGR ndarray to a PIL Image"""
return Image.fromarray(cv2_img[:, :, ::-1])
I guess this is just a symptom that the animation API isn't returning any frames.
I've tried with various model versions:
# "model": "stable-diffusion-v1-5",
# "model": "stable-diffusion-512-v2-1", # have to force this
"model": "stable-diffusion-xl-1024-v0-9", # have to force this
# "model": "stable-diffusion-xl-1024-v1-0", # have to force this
wondering if the API is currently having downtime or how else I could debug this?
- 主要语言
- Jupyter Notebook
- 星标
- 2.4k
- 派生
- 338
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Stability-AI/stability-sdk 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 45/100
Stability-AI/stability-sdk#319 ·
-
Teste 01未关闭
难度 5/5 一周以上 新手友好度 15/100
Stability-AI/stability-sdk#317 ·
-
难度 3/5 1-2 天 新手友好度 30/100
Stability-AI/stability-sdk#297 · 2 条评论 · 1 个 reaction ·
-
难度 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
-
area/sessions comp/tui needs-repro P2 sweeper:risk-session-state type/bug
难度 2/5 1-3 小时 新手友好度 74/100
NousResearch/hermes-agent#127449 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
rohitg00/agentmemory#1435 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
higress-group/higress#4839 ·
维护者通常 1 天内回复
-
.NET triage
难度 2/5 1-3 小时 新手友好度 74/100
microsoft/agent-framework#8811 ·
维护者通常 1 天内回复
-
org:external package:deepagents priority:backlog topic:models topic:multimodal type:feature
难度 2/5 1-3 小时 新手友好度 62/100
langchain-ai/deepagents#6599 ·
维护者通常 1 天内回复