Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

quantumish/descry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

descry

About

SegFormer with custom head trained on the People Clothing Segmentation dataset.

Usage

This model requires a working CUDA installation. It also uses poetry to manage its dependencies, which can be installed by following the instructions here. The training script also uses the Weights & Biases library, and so you will need to make an account to us the training script as-is (although it does not require much modification to remove the W&B dependency).

Run poetry shell and then poetry install in the project directory before proceeding.

Data Setup

  1. Download the Kaggle dataset referenced in the About section to your machine.
  2. Run the preprocess.py script, making sure to update the path inside of it to the path to your dataset.

Training

  1. Run wandb login.
  2. Replace entity="quantumish" to your username and replace the path once more inside main.py.
  3. Run main.py.

Documentation

pdoc is included as a dev dependency. Run pdoc descry to generate documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages