Giter Club home page Giter Club logo

easypromptanime's People

Contributors

zuntan03 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

easypromptanime's Issues

[Bug]: ローカル版エディタで「使えないLoRAを使えるように変換」をキャンセルしても、変換がスタートしてエラーになる

コミット:e10348f

ローカル版エディタのメニューから「使えないLoRAを使えるように変換」を実行し、ファイル選択ダイアログボックスでキャンセルをクリックしても変換がスタートしてしまい、ファイルが選択されていないためエラーになります。

SRC_PATH: "F:\EasyPromptAnime"
MERGED_PATH: "F:\EasyPromptAnime-merged.safetensors"
DEST_PATH: "F:\EasyPromptAnime\animatediff-cli-prompt-travel\data\lora\EasyPromptAnime.safetensors"
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
loading SD model: F:\EasyPromptAnime\animatediff-cli-prompt-travel\data\models\sd\xxmix9realistic_v40.safetensors
UNet2DConditionModel: 64, 8, 768, False, False
loading u-net:
loading vae:
loading text encoder:
loading: F:\EasyPromptAnime
Traceback (most recent call last):
File "F:\EasyPromptAnime\sd-scripts\networks\merge_lora.py", line 357, in
merge(args)
File "F:\EasyPromptAnime\sd-scripts\networks\merge_lora.py", line 246, in merge
merge_to_sd_model(text_encoder, unet, args.models, args.ratios, merge_dtype)
File "F:\EasyPromptAnime\sd-scripts\networks\merge_lora.py", line 65, in merge_to_sd_model
lora_sd, _ = load_state_dict(model, merge_dtype)
File "F:\EasyPromptAnime\sd-scripts\networks\merge_lora.py", line 17, in load_state_dict
sd = torch.load(file_name, map_location="cpu")
File "F:\EasyPromptAnime\sd-scripts\venv\lib\site-packages\torch\serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "F:\EasyPromptAnime\sd-scripts\venv\lib\site-packages\torch\serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "F:\EasyPromptAnime\sd-scripts\venv\lib\site-packages\torch\serialization.py", line 252, in init
super().init(open(name, mode))
PermissionError: [Errno 13] Permission denied: 'F:\EasyPromptAnime'
続行するには何かキーを押してください . . .

[BUG]ローカル版エディタで保存した生成設定ファイルを Generate*.bat に読み込むとエラーが発生する

コミット:a23c466

  1. EasyPromptAnimeEditor.batを実行してローカル版エディタを起動する。
  2. ファイル名前を付けて保存で生成設定ファイルを保存する。
  3. 保存した生成設定ファイルをGenerate.batにドラッグ&ドロップする。
  4. 以下のエラーが発生して生成に失敗する。
  • ローカル版エディタ内のアニメ生成ボタン等からは正常に生成できます。
  • ファイル保存時の文字コードとバッチファイル読み取り時の文字コード間でミスマッチが起きているように思われます。

13:09:19 INFO     diffuser_ver='0.23.0'                                                                       cli.py:100
         INFO     Using generation config: temp\test1.json                                                    cli.py:313
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ G:\EasyPromptAnime\animatediff-cli-prompt-travel\src\animatediff\cli.py:314 in generate          │
│                                                                                                  │
│    311 │                                                                                         │
│    312 │   config_path = config_path.absolute()                                                  │
│    313 │   logger.info(f"Using generation config: {path_from_cwd(config_path)}")                 │
│ ❱  314 │   model_config: ModelConfig = get_model_config(config_path)                             │
│    315 │                                                                                         │
│    316 │   is_sdxl = is_sdxl_checkpoint(data_dir.joinpath(model_config.path))                    │
│    317                                                                                           │
│                                                                                                  │
│ G:\EasyPromptAnime\animatediff-cli-prompt-travel\src\animatediff\settings.py:142 in              │
│ get_model_config                                                                                 │
│                                                                                                  │
│   139                                                                                            │
│   140                                                                                            │
│   141 def get_model_config(config_path: Path) -> ModelConfig:                                    │
│ ❱ 142 │   settings = ModelConfig(json_config_path=config_path)                                   │
│   143 │   return settings                                                                        │
│   144                                                                                            │
│                                                                                                  │
│ in pydantic.env_settings.BaseSettings.__init__:41                                                │
│                                                                                                  │
│ in pydantic.env_settings.BaseSettings._build_values:76                                           │
│                                                                                                  │
│ G:\EasyPromptAnime\animatediff-cli-prompt-travel\src\animatediff\settings.py:43 in __call__      │
│                                                                                                  │
│    40 │   │   for idx, path in enumerate(self.json_config_path):                                 │
│    41 │   │   │   if path.exists() and path.is_file():  # check if the path exists and is a fi   │
│    42 │   │   │   │   logger.debug(f"{classname}: loading config #{idx+1} from {path}")          │
│ ❱  43 │   │   │   │   merged_config.update(json.loads(path.read_text(encoding=encoding)))        │
│    44 │   │   │   │   logger.debug(f"{classname}: config state #{idx+1}: {merged_config}")       │
│    45 │   │   │   else:                                                                          │
│    46 │   │   │   │   raise FileNotFoundError(f"{classname}: config #{idx+1} at {path} not fou   │
│                                                                                                  │
│ C:\Users\Edifel\AppData\Local\Programs\Python\Python310\lib\json\__init__.py:335 in loads        │
│                                                                                                  │
│   332 │   """                                                                                    │
│   333 │   if isinstance(s, str):                                                                 │
│   334 │   │   if s.startswith('\ufeff'):                                                         │
│ ❱ 335 │   │   │   raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",         │
│   336 │   │   │   │   │   │   │   │     s, 0)                                                    │
│   337 │   else:                                                                                  │
│   338 │   │   if not isinstance(s, (bytes, bytearray)):                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
[ERROR EXIT]

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.