UJP - DiffBIR 画像鮮明ツール

I hope this helps.

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

  • カテゴリ ハウツー の最新配信
  • RSS
  • RDF
  • ATOM

ブログ - DiffBIR 画像鮮明ツール

DiffBIR 画像鮮明ツール

カテゴリ : 
ハウツー
ブロガー : 
ujpblog 2023/10/20 15:46
 メモ.

生成拡散事前分布を用いたブラインド画像復元

https://github.com/XPixelGroup/DiffBIR

macOS用インストール

https://github.com/XPixelGroup/DiffBIR/blob/main/assets/docs/installation_xOS.md

Python 3.9が必要.

 インストールしてみたけどうまくいかない途中状態.
pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu


$ pip install -r requirements.txt🆑
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu116 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0)
ERROR: No matching distribution found for torch==1.13.1+cu116

[notice] A new release of pip is available: 23.2.1 -> 23.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
$
 Pythonが古い模様.

$ python3.10 -m pip install --upgrade pip🆑
Requirement already satisfied: pip in /usr/local/lib/python3.10/site-packages (23.2.1)
Collecting pip
  Obtaining dependency information for pip from https://files.pythonhosted.org/packages/e0/63
/b428aaca15fcd98c39b07ca7149e24bc14205ad0f1c80ba2b01835aedde1/pip-23.3-py3-none-any.whl.metadata
  Downloading pip-23.3-py3-none-any.whl.metadata (3.5 kB)
Downloading pip-23.3-py3-none-any.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 1.6 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.2.1
    Uninstalling pip-23.2.1:
      Successfully uninstalled pip-23.2.1
Successfully installed pip-23.3
$

$ pip install -r requirements.txt🆑
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu116 (from 
versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0)
ERROR: No matching distribution found for torch==1.13.1+cu116
WARNING: There was an error checking the latest version of pip.
$
 PyTorchが見つからない模様.1.13.1+cu116というバージョンを指定してインストール.

$ pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116🆑
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Requirement already satisfied: torch in /usr/local/lib/python3.10/site-packages (2.2.0.dev20231019)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/site-packages (0.17.0.dev20231019)
Collecting torchaudio

ー略ー

Installing collected packages: torch, torchvision, torchaudio
  Attempting uninstall: torch
    Found existing installation: torch 2.2.0.dev20231019
    Uninstalling torch-2.2.0.dev20231019:
      Successfully uninstalled torch-2.2.0.dev20231019
  Attempting uninstall: torchvision
    Found existing installation: torchvision 0.17.0.dev20231019
    Uninstalling torchvision-0.17.0.dev20231019:
      Successfully uninstalled torchvision-0.17.0.dev20231019
Successfully installed torch-2.1.0 torchaudio-2.1.0 torchvision-0.16.0
WARNING: There was an error checking the latest version of pip.
$
 んー.これでもエラーが治らない...

トラックバック


広告スペース
Google