1. 14 5月, 2023 1 次提交
  2. 08 5月, 2023 1 次提交
    • A
      directory hiding for extra networks: dirs starting with . will hide their... · 083dc3c7
      AUTOMATIC 提交于
      directory hiding for extra networks: dirs starting with . will hide their cards on extra network tabs unless specifically searched for
      create HTML for extra network pages only on demand
      allow directories starting with . to still list their models for lora, checkpoints, etc
      keep "search" filter for extra networks when user refreshes the page
      083dc3c7
  3. 04 5月, 2023 1 次提交
  4. 22 3月, 2023 1 次提交
    • A
      Move `load_file_from_url` · 00bd271f
      ArrowM 提交于
      Why?
      one of the internal calls of `load_file_from_url` import cv2, which locks the cv2 site-package, which extensions may (and in our case, is) breaking the installation of some libraries. The base project should be limiting its import of unnecessary libraries when possible during the installation phase.
      00bd271f
  5. 07 3月, 2023 1 次提交
  6. 25 2月, 2023 1 次提交
  7. 04 2月, 2023 1 次提交
    • S
      Update modelloader.py · 65244788
      spezialspezial 提交于
      os.path.getmtime(filename) throws exception later in codepath when meeting broken symlink. For now catch it here early but more checks could be added for robustness.
      65244788
  8. 10 1月, 2023 1 次提交
  9. 03 1月, 2023 1 次提交
  10. 03 12月, 2022 1 次提交
  11. 20 11月, 2022 1 次提交
  12. 30 10月, 2022 1 次提交
  13. 02 10月, 2022 1 次提交
  14. 01 10月, 2022 1 次提交
    • D
      Optimize model loader · e82ea202
      d8ahazard 提交于
      Child classes only get populated to __subclassess__ when they are imported. We don't actually need to import any of them to webui any more, so clean up webUI imports and make sure loader imports children.
      
      Also, fix command line paths not actually being passed to the scalers.
      e82ea202
  15. 30 9月, 2022 6 次提交
    • D
      Logging.... · 5d52231b
      d8ahazard 提交于
      Cleanup. Sorry.
      5d52231b
    • D
      Fix recursive model loading · ca87c09c
      d8ahazard 提交于
      Ensure we find checkpoints within subdirectories.
      ca87c09c
    • A
      remove unwanted formatting/functionality from the PR · d1f09854
      AUTOMATIC 提交于
      d1f09854
    • A
      undo upscaler model filename tampering · aec811c5
      AUTOMATIC 提交于
      aec811c5
    • D
      Fixes, cleanup. · 435fd211
      d8ahazard 提交于
      435fd211
    • D
      Holy $hit. · 0dce0df1
      d8ahazard 提交于
      Yep.
      
      Fix gfpgan_model_arch requirement(s).
      Add Upscaler base class, move from images.
      Add a lot of methods to Upscaler.
      Re-work all the child upscalers to be proper classes.
      Add BSRGAN scaler.
      Add ldsr_model_arch class, removing the dependency for another repo that just uses regular latent-diffusion stuff.
      Add one universal method that will always find and load new upscaler models without having to add new "setup_model" calls. Still need to add command line params, but that could probably be automated.
      Add a "self.scale" property to all Upscalers so the scalers themselves can do "things" in response to the requested upscaling size.
      Ensure LDSR doesn't get stuck in a longer loop of "upscale/downscale/upscale" as we try to reach the target upscale size.
      Add typehints for IDE sanity.
      PEP-8 improvements.
      Moar.
      0dce0df1
  16. 28 9月, 2022 2 次提交
    • D
      Remove debugging message · 31ad536c
      d8ahazard 提交于
      31ad536c
    • D
      Use model loader with stable-diffusion too. · 11875f58
      d8ahazard 提交于
      Hook the model loader into the SD_models file.
      Add default url/download if checkpoint is not found.
      Add matching stablediffusion-models-path argument.
      Add message that --ckpt-dir will be removed in the future, but have it pipe to stablediffusion-models-path for now.
      Update help strings for models-path args so they're more or less uniform.
      Move sd_model "setup" call to webUI with the others.
      Ensure "cleanup_models" method moves existing models to the new locations, including SD, and that we aren't deleting folders that still have stuff in them.
      11875f58
  17. 26 9月, 2022 2 次提交