Skip to content

logo-wizard/logo-wizard-ml-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo Wizard ML Scripts

This repository contains scripts that were used for data processing, model training, as well as for implementation into a web service.

Colorization

colorizer folder contains scripts for image colorization inference. It uses pretrained iColoriT model, you can find it here. Also there is an example of how to use this model.

Text eraser

eraser folder contains scripts for text erasing. It uses two pretrained model: DBNet++ for text detection and LaMa for object deletion. You can use them separately or in tandem, achieving auto text erasing. Also there is an example of how to use this model.

DBNet++ model is loaded automatically using mmocr framework.

mmocr installation

pip install -r requirements.txt
mim install mmengine
mim install 'mmcv>=2.0.0rc1'
mim install 'mmdet>=3.0.0rc0'

git clone https://github.com/open-mmlab/mmocr.git
cd mmocr
pip install -e .

LaMa model weights can be found here.

Logo stylization

styler folder contains scripts for applying different styles to an image. It uses ControlNet with the Canny algorithm for edge detection.

ControlNet with Stable Diffusion model is loaded automatically using diffusers framework.

Data processing

data_processing folder contains scripts for captioning collected dataset and for processing survey results. You can find more information in the corresponding notebooks.

LoRa fine-tuning

lora folder contains sripts for Stable Diffusion fine-tuning using LoRa method. It contains two different implementations with LoRa and LoHa (LoRA with Hadamard Product representation). You can find more information in the corresponding notebooks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published