Advertisement
magneto903

upsampler_config

Nov 6th, 2023 (edited)
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.04 KB | None | 0 0
  1. {
  2.     "decoder": {
  3.         "unet_sources": [
  4.             {
  5.                 "unet_numbers": [1],
  6.                 "default_cond_scale": [1.7],
  7.                 "load_model_from": {
  8.                     "load_type": "url",
  9.                     "path": "https://huggingface.co/laion/DALLE2-PyTorch/resolve/main/decoder/v1.0.2/latest.pth",
  10.                     "cache_dir": "./models",
  11.                     "filename_override": "new_decoder.pth"
  12.                 }
  13.             },
  14.             {
  15.                 "unet_numbers": [2],
  16.                 "load_model_from": {
  17.                     "load_type": "url",
  18.                     "path": "https://huggingface.co/Veldrovive/upsamplers/resolve/main/working/latest.pth",
  19.                     "cache_dir": "./models",
  20.                     "filename_override": "second_decoder.pth"
  21.                 },
  22.                 "load_config_from": {
  23.                     "load_type": "url",
  24.                     "path": "https://huggingface.co/Veldrovive/upsamplers/raw/main/working/decoder_config.json",
  25.                     "checksum_file_path":  "https://huggingface.co/Veldrovive/upsamplers/raw/main/working/decoder_config.json",
  26.                     "cache_dir": "./models",
  27.                     "filename_override": "second_decoder_config.json"
  28.                 }
  29.             }
  30.         ]
  31.     },
  32.     "prior": {
  33.         "load_model_from": {
  34.             "load_type": "url",
  35.             "path": "https://huggingface.co/laion/DALLE2-PyTorch/resolve/main/prior/best.pth",
  36.             "cache_dir": "./models",
  37.             "filename_override": "prior.pth"
  38.         },
  39.         "load_config_from": {
  40.             "load_type": "url",
  41.             "path": "https://huggingface.co/laion/DALLE2-PyTorch/raw/main/prior/prior_config.json",
  42.             "checksum_file_path": "https://huggingface.co/laion/DALLE2-PyTorch/raw/main/prior/prior_config.json",
  43.             "cache_dir": "./models"
  44.         }
  45.     },
  46.     "clip": {
  47.         "make": "openai",
  48.         "model": "ViT-L/14"
  49.     },
  50.  
  51.     "devices": "cuda:0",
  52.     "strict_loading": false
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement