Skip to content

Commit

Permalink
Update validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Mar 1, 2024
1 parent a2450b1 commit 89babc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ huggingface-hub==0.20.1
# for loading Diffusers' SDXL
invisible-watermark==0.2.0
lion-pytorch==0.0.6
lycoris_lora==2.0.2
lycoris_lora==2.1.0.post3
# for BLIP captioning
# requests==2.28.2
# timm==0.6.12
Expand Down
2 changes: 1 addition & 1 deletion setup/validate_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Add the project directory to the beginning of the Python search path
sys.path.insert(0, project_directory)

from library.custom_logging import setup_logging
from kohya_gui.custom_logging import setup_logging

# Set up logging
log = setup_logging()
Expand Down
6 changes: 3 additions & 3 deletions tools/lycoris_locon_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def get_args():
def main():
args = ARGS
if args.is_sdxl:
base = load_models_from_sdxl_checkpoint(None, args.base_model, args.device)
db = load_models_from_sdxl_checkpoint(None, args.db_model, args.device)
base = load_models_from_sdxl_checkpoint(None, args.base_model, "cpu")
db = load_models_from_sdxl_checkpoint(None, args.db_model, "cpu")
else:
base = load_models_from_stable_diffusion_checkpoint(args.is_v2, args.base_model)
db = load_models_from_stable_diffusion_checkpoint(args.is_v2, args.db_model)
Expand Down Expand Up @@ -187,4 +187,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 89babc1

Please sign in to comment.