modelscope / modelscope/DiffSynth-Studio

服了 连个路径都搞不明白

Open
#1,121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.1k
Forks
1.3k
Avg merge
13h 12m
Merged PRs (30d)
45

Description

from diffsynth import ModelManager
from modelscope import snapshot_download

这两个东西是不是一伙的!!!既然是一伙的为什么设置了modelscope环境变量目录,ModelManager找不到?
还抛这样的错TypeError: object of type 'NoneType' has no len()就是个路径找不到抛这样错谁看的懂。
两者关联起来吧,AI智能连这点路径都不智能搞个毛

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ModelManager and snapshot_download entry points shown in the report, then trace how the ModelScope environment directory is read and how a missing path reaches the NoneType len error. Done should include consistent path handling between the two entry points and a clearer failure when the path is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.