Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 773 Bytes

Readme.md

File metadata and controls

34 lines (24 loc) · 773 Bytes

Deep Danbooru for rust

Multi-labels anime image classification without python.

Usage

let runtime = Arc::new(Environment::builder().build()?);
let mut model = DeepDanbooru::new(&runtime, model.as_ref())?;
model.set_tags(TAGS2021);
let image = Reader::open(image.as_ref()).unwrap().decode().unwrap();
let result = model.predict(&image).unwrap();

Develop

  • Clone with models
# https
git clone --recursive https://github.com/libwaifu/deep-danbooru.git
# git
git clone --recursive [email protected]:libwaifu/deep-danbooru.git

or download manually: deep-danbooru/models

  • Pull latest models
git pull && git submodule update --remote