Diffusion GANというコードを使ってつくりました

https://github.com/Zhendong-Wang/Diffusion-GAN

つかいかた 試してないので動かなかったらごめんなさい

  • 環境をととのえる
    • 最近のNVIDIA製GPUがついたパソコンにLinuxを入れることをおすすめします
    • PytorchをCUDAありでインストールしてください
    • Gitもインストールしてください
      • sudo apt install git
  • Diffusion-GANをgithubからローカルにcloneしてください
  • diffusion-projected-ganというフォルダを開いてください
  • ここの"Files and versions"から"best_model.pkl"をクリックしてダウンロードし、diffusion-projected-ganの中に保存してください
  • 以下のコマンドで画像を生成します
    • python gen_images.py --outdir=out --seeds=0-10 --network=./best_model.pkl
    • パッケージがインストールされていないというエラーが出たら適宜インストールしてください
  • outフォルダに生成された画像が入っています

商用利用などはご遠慮ください

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.