1. 11 Dec, 2023 1 commit
  2. 11 Apr, 2023 1 commit
  3. 07 Mar, 2023 1 commit
    • Isamu Isozaki's avatar
      Added multitoken training for textual inversion. Issue 369 (#661) · 8552fd7e
      Isamu Isozaki authored
      * Added multitoken training for textual inversion
      
      * Updated assertion
      
      * Removed duplicate save code
      
      * Fixed undefined bug
      
      * Fixed save
      
      * Added multitoken clip model +util helper
      
      * Removed code splitting
      
      * Removed class
      
      * Fixed errors
      
      * Fixed errors
      
      * Added loading functionality
      
      * Loading via dict instead
      
      * Fixed bug of invalid index being loaded
      
      * Fixed adding placeholder token only adding 1 token
      
      * Fixed bug when initializing tokens
      
      * Fixed bug when initializing tokens
      
      * Removed flawed logic
      
      * Fixed vector shuffle
      
      * Fixed tokenizer's inconsistent __call__ method
      
      * Fixed tokenizer's inconsistent __call__ method
      
      * Handling list input
      
      * Added exception for adding invalid tokens to token map
      
      * Removed unnecessary files and started working on progressive tokens
      
      * Set at minimum load one token
      
      * Changed to global step
      
      * Added method to load automatic1111 tokens
      
      * Fixed bug in load
      
      * Quality+style fixes
      
      * Update quality/style fixes
      
      * Cast embeddings to fp16 when loading
      
      * Fixed quality
      
      * Started moving things over
      
      * Clearing diffs
      
      * Clearing diffs
      
      * Moved everything
      
      * Requested changes
      8552fd7e
  4. 20 Jan, 2023 1 commit
  5. 09 Dec, 2022 1 commit
    • Haofan Wang's avatar
      Update requirements.txt (#1623) · f1b726e4
      Haofan Wang authored
      * Update requirements.txt
      
      * Update requirements_flax.txt
      
      * Update requirements.txt
      
      * Update requirements_flax.txt
      
      * Update requirements.txt
      
      * Update requirements_flax.txt
      f1b726e4
  6. 06 Dec, 2022 1 commit
  7. 20 Oct, 2022 1 commit
  8. 29 Sep, 2022 1 commit
  9. 27 Sep, 2022 1 commit
  10. 02 Sep, 2022 1 commit
    • Suraj Patil's avatar
      Textual inversion (#266) · d0d3e24e
      Suraj Patil authored
      * add textual inversion script
      
      * make the loop work
      
      * make coarse_loss optional
      
      * save pipeline after training
      
      * add arg pretrained_model_name_or_path
      
      * fix saving
      
      * fix gradient_accumulation_steps
      
      * style
      
      * fix progress bar steps
      
      * scale lr
      
      * add argument to accept style
      
      * remove unused args
      
      * scale lr using num gpus
      
      * load tokenizer using args
      
      * add checks when converting init token to id
      
      * improve commnets and style
      
      * document args
      
      * more cleanup
      
      * fix default adamw arsg
      
      * TextualInversionWrapper -> CLIPTextualInversionWrapper
      
      * fix tokenizer loading
      
      * Use the CLIPTextModel instead of wrapper
      
      * clean dataset
      
      * remove commented code
      
      * fix accessing grads for multi-gpu
      
      * more cleanup
      
      * fix saving on multi-GPU
      
      * init_placeholder_token_embeds
      
      * add seed
      
      * fix flip
      
      * fix multi-gpu
      
      * add utility methods in wrapper
      
      * remove ipynb
      
      * don't use wrapper
      
      * dont pass vae an dunet to accelerate prepare
      
      * bring back accelerator.accumulate
      
      * scale latents
      
      * use only one progress bar for steps
      
      * push_to_hub at the end of training
      
      * remove unused args
      
      * log some important stats
      
      * store args in tensorboard
      
      * pretty comments
      
      * save the trained embeddings
      
      * mobe the script up
      
      * add requirements file
      
      * more cleanup
      
      * fux typo
      
      * begin readme
      
      * style -> learnable_property
      
      * keep vae and unet in eval mode
      
      * address review comments
      
      * address more comments
      
      * removed unused args
      
      * add train command in readme
      
      * update readme
      d0d3e24e
  11. 30 Aug, 2022 1 commit