Skip to content

Instantly share code, notes, and snippets.

View vizsumit's full-sized avatar
:octocat:
coding

Sumit Saxena vizsumit

:octocat:
coding
View GitHub Profile
@vizsumit
vizsumit / LoraConfig.json
Last active August 16, 2024 06:59
settings for Kohya_ss LoRA Training
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
@vizsumit
vizsumit / filename-to-txt.bat
Created May 10, 2023 05:21
This script generates .txt caption files from .jpg file names
@echo off
for %%i in (*.jpg) do (
set filename=%%i
set caption_filename=%%~ni.txt
set caption=%%~ni
setlocal EnableDelayedExpansion
for /f "tokens=1 delims=()" %%a in ("!caption!") do (