patrik 🐈

patrik 🐈

831206142054067973
Just run my model so I can earn credits. It helps me keep making more LoRAs 🥰🤜🤛🤝
442
Followers
96
Following
304K
Runs
311
Downloads
9.7K
Likes
4K
Stars

Models

View All
961273879374897007
LORA Z-Image
EXCLUSIVE

Yoshitaka Amano Drawing Style [Z Image]-v0.1

38 22
959865328744034465
LYCORIS Z-ImageUpdated
EXCLUSIVE

Retro Vintage Photo Stock [Z Image Base & FLUX]-ZIB | v0.1

2K 43
960416147562324172
LORA Z-ImageUpdated
EXCLUSIVE

@lii Retro Girl – Tribute LoRA [FLUX, ZIT & ZIB]-ZIB | v0.1

17K 152
959161057186715758
LORA Z-ImageUpdated
EXCLUSIVE

Niji Semi-Realistic Aesthetic ✨| ZIT & ZIB-ZIB | v0.1 E15

1.9K 58
958133179170953625
LORA Z-Image-Turbo
EXCLUSIVE

MaGirl Asian Aesthetic [ Z Image Turbo ]-v0.1

1.6K 23
956295598888207799
LORA Z-Image-Turbo
EXCLUSIVE

Z Image Turbo Detailer-v0.1

1.7K 9
955422110988149734
LORA Illustrious
EXCLUSIVE

Niji Semi-Realistic Aesthetic ✨ [ Illustrious ]-v0.1

4.1K 292
951055648592813637
LORA FLUX.1
EXCLUSIVE

Flux Pro Realism [Enhancer LoRA]-EP8

476 26
949970757033662307
LORA FLUX_2 Dev

FLUX.2-dev Turbo 4-8 Steps LoRA-bf16

12K 62
960609268619297510
LORA Qwen-ImageUpdated

Qwen Image 2512 Turbo 2-8 Steps LoRA-bf16 - 2steps

256 20
947418133415623863
LYCORIS FLUX.1
EXCLUSIVE

VHS CORE [FLUX] LyCORIS-v1.0

69 7
LORA FLUX.1
EXCLUSIVE

NOSTALGIC CORE [FLUX] - Retro, Vintage-Flux | v2.0

59K 517
943911739295018787
LORA Z-Image-Turbo
EXCLUSIVE

Roger Haus Style 2.5D Niji - Z Image Turbo-EP5

6.8K 69
943297512800818700
LORA Z-Image-Turbo
EXCLUSIVE

VHS CORE [Z IMAGE TURBO, FLUX & XL]-ZIMAGETURBO | v1.0🎥

3.5K 132
942437309234586718
LORA Z-Image-Turbo
EXCLUSIVE

Imperfecta - Atmospheric Vibes [ Z Image Turbo ]-EP8

876 19
941894124720661237
CHECKPOINT Illustrious
EXCLUSIVE

RINGOMIX ILLUSTRIOUS-appuru

6.3K 169
953873775277910349
CHECKPOINT Z-Image-Turbo
EXCLUSIVE

Z Image Turbo REFINE-v0.2-fp16

26K 155
938506882656559402
CHECKPOINT FLUX.1 Krea Dev
EXCLUSIVE

Flux KREA Unleashed-v0.1

5.7K 116
868145146791738540
LORA FLUX.1
EXCLUSIVE

DYNAMIC POSE / ANGLE [FLUX]-Flux | v1.0

57K 468
937265492152838970
CHECKPOINT SDXL 1.0
EXCLUSIVE

WHATEVER! - Realistic SDXL-ZYLOS

1.9K 49

Articles

View All

Fix ModelScope ZIT LoRA Training for Tensor.Art Uploads

If you trained a ZIT LoRA on ModelScope and are facing a "Deployment Error" on Tensor.Art, this script is for you.The error usually happens because ModelScope outputs in Diffusers format, while Tensor.Art requires ComfyUI/WebUI layer naming (CMIIW). This Colab script converts your model structure and injects the necessary metadata to make it compatible.Note: According to reports (shoutout to Jhournee), Qwen-based LoRAs might not have this issue, but standard ZIT models often do.📝 How to use this script:Step 1: Install DependenciesSimply run this cell to set up the environment. No input needed.Step 2: Clone RepositoryEnter your ModelScope repo_id (e.g., username/model_name). If your model is private, paste your access_token; otherwise, leave it blank. Run to download.Step 3: Patch & Metadata (The Fix)Copy the path of the downloaded model into input_file and set a path for the output_file. Enter your lora_name. Run this cell to automatically rename layers and save the fixed file.⚠️ Final Step:Once Step 3 is complete, download the fixed .safetensors file from the file browser on the left, and manually upload it to Tensor.Art.(Cells 4-6 are extra utilities if you need to check the file hash or manage files within Colab).🔗 Script Link: https://colab.research.google.com/github/sevunk/fixing_layer_name/blob/main/fixing_layer_name.ipynb
6
3
Complete Tutorial: Scraping Image Captions from Tensor.Art

Complete Tutorial: Scraping Image Captions from Tensor.Art

Complete Tutorial: Scraping Image Captions from Tensor.ArtThe goal of this tutorial is to automatically grab all the captions from your image dataset on Tensor.Art and save them into individual .txt files for each image, ready to be used for LoRA training.This process is divided into two main parts:Part 1: Extracting all unique captions from the web page into a single text file using JavaScript.Part 2: Splitting that single text file into many separate .txt files using PowerShell.Part 1: Extracting All Captions from the WebsiteIn this section, we will copy all unique captions from the web page to your clipboard.Step 1: Prepare the Web PageOpen your Chrome browser and navigate to your Tensor.Art dataset page containing the images.CRUCIAL STEP: Slowly scroll down the page until ALL of the images in your dataset (e.g., all 63 images) have appeared and loaded on the screen. If you don't do this, the script will only capture captions from the visible images.Step 2: Open the Developer Tools ConsoleOnce all images are loaded, press the F12 key on your keyboard to open the Developer Tools.In the Developer Tools window that appears, click on the "Console" tab.Step 3: Run the JavaScript ScriptCopy the entire code block below:// 1. Grab ALL <p> elements inside the caption divs. const allCaptionPTags = document.querySelectorAll('.train-model-assets-image-tags p'); // 2. Create an empty array to hold the texts. let duplicatedCaptionsList = []; // 3. Loop through each element, CLEAN the text, then add it to the list. allCaptionPTags.forEach(pTag => { // Get the raw text const rawText = pTag.innerText; // CLEAN THE TEXT: Replace all sequences of whitespace with a single space, // and then remove leading/trailing spaces. const cleanedText = rawText.replace(/\s+/g, ' ').trim(); // Push the cleaned text into the list. duplicatedCaptionsList.push(cleanedText); }); // 4. Create a 'Set' from the list of cleaned text to automatically remove duplicates. const uniqueCaptions = [...new Set(duplicatedCaptionsList)]; // 5. Join the unique captions into one large text block, separated by new lines. const finalText = uniqueCaptions.join('\n'); // 6. Copy the result directly to the clipboard. copy(finalText); // 7. Display a confirmation message with the correct count. console.log(`Total cleanup successful! Exactly ${uniqueCaptions.length} unique captions have been copied to your clipboard.`);Return to the Console window in your browser, then paste the code.Press Enter.You will see a confirmation message in the console stating the number of unique captions that were successfully copied, for example: Total cleanup successful! Exactly 63 unique captions have been copied to your clipboard.Step 4: Save the Results to a Text FileCreate a new folder on your computer to store your dataset. For example: D:\LoraTraining.Open the Notepad application.Press Ctrl + V to paste all the copied captions.Click File > Save As....Navigate to the folder you just created (e.g., D:\LoraTraining).Save the file with the name e.g., caption.txt.You now have a single file containing all unique captions, each on a new line.Part 2: Splitting the caption.txt File into Individual FilesIn this section, we will use PowerShell (a built-in tool in Windows) to automatically create one .txt file for each line of text in caption.txt.Step 1: Open PowerShell in the Working FolderOpen the folder where you saved caption.txt (e.g., D:\LoraTraining).Inside the folder (not on a file), hold down the Shift key on your keyboard and right-click on an empty space.Select the "Open PowerShell window here" or "Open in Terminal" option from the context menu.Step 2: Run the PowerShell ScriptA blue (PowerShell) or black (Terminal) window will appear. Copy the entire code block below:# 1. Define the input file name and the output file format $inputFile = "caption.txt" # Customize with your file name. $outputPrefix = "image" # The result will be image_1.txt, image_2.txt, etc. # 2. Read all lines from the caption.txt file $captions = Get-Content $inputFile # 3. Create a counter $i = 1 # 4. Loop through each caption line foreach ($line in $captions) { # Make sure the line is not empty if ($line.Trim() -ne "") { # Create the new file name, e.g., image_1.txt $outputFile = "${outputPrefix}_${i}.txt" # Write the line's content to the new file Set-Content -Path $outputFile -Value $line # Increment the counter $i++ } } # 5. Display a completion message Write-Host "Done! Successfully created $($i-1) .txt files." Paste the code into the PowerShell window.Press Enter.Step 3: Verify the ResultInstantly, your D:\LoraTraining folder will be populated with many new files: image_1.txt, image_2.txt, image_3.txt, ..., all the way to image_63.txt. Each of these files contains its corresponding single-line caption.
6
4

Posts