• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created about 2 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pure pytorch implementation of DeepDanbooru

This is a pure pytorch implementation of DeepDanbooru neural network: https://github.com/KichangKim/DeepDanbooru/.

There is no code to export weights from an existing model yet, so you are stuck with the only checkpoint that I will upload to releases.

Use example is in test.py: basically just load the checkpoint as usual using model.load_state_dict(), and use model.tags to get textual represntation of model's forward output. test.py loads checkpoint from model-resnet_custom_v3.pt, image from test.jpg, and prints tags to stdout.

I used a modified version of onnx-pytorch librtary to write this. The modification is related to fixing incorrect padding code for conv layers. Because my modification only works for Conv2d and the original code works with all dimensionalities, I won't be releasing the modifications.

More Repositories

1

stable-diffusion-webui

Stable Diffusion web UI
Python
141,824
star
2

stable-diffusion-webui-feature-showcase

Feature showcase for stable-diffusion-webui
920
star
3

stable-diffusion-webui-rembg

Removes backgrounds from pictures. Extension for webui.
Python
835
star
4

stable-diffusion-webui-extensions

Extension index for stable-diffusion-webui
492
star
5

stable-diffusion-webui-pixelization

stable-diffusion-webui-pixelization
Python
470
star
6

stable-diffusion-webui-promptgen

stable-diffusion-webui-promptgen
Python
386
star
7

stable-diffusion-webui-aesthetic-gradients

Aesthetic gradients extension for web ui
Python
384
star
8

stable-diffusion-webui-wildcards

Wildcards
Python
353
star
9

stable-diffusion-webui-tensorrt

Python
282
star
10

stable-diffusion-webui-tokenizer

An extension for stable-diffusion-webui that adds a tab that lets you preview how CLIP model would tokenize your text.
Python
119
star
11

stable-diffusion-webui-nsfw-censor

stable-diffusion-webui-nsfw-censor
Python
85
star
12

4chan-captcha-solver

4chan captcha solver userscript
81
star
13

3ds-shell

3DS Windows Explorer extension
C++
21
star
14

stable-diffusion-webui-old-localizations

CSS
17
star
15

KoikatsuMods

Koikatsu Mods
C#
14
star
16

Autocleaner

C#
11
star
17

GradientHair

Gradient Hair
C#
10
star
18

RecipeIcons

Icons for Rimworld context menus
C#
9
star
19

StartupImpact

Startup Impact
C#
9
star
20

WhiteOnly

White Only
C#
6
star
21

BionicIcons

Bionic Icons
C#
5
star
22

Rimlaser

A mod for Rimworld game
C#
4
star
23

HighQualityTextures

High Quality Textures
C#
4
star
24

Radiology

Radiology
C#
4
star
25

Autolinks

Rimworld mod. Automatically adds hyperlinks to descriptions.
C#
4
star
26

Gunplay

C#
4
star
27

HairDye

Hair Dye
C#
4
star
28

IntoTheBreachLua

Lua proxy library for Into The Breach game
C
4
star
29

tf-palette

Tesnorflow color quantization
Python
2
star
30

randdraw

Draws pictures using random shapes
C++
2
star
31

TraderShips

C#
2
star
32

jslife

Javascript game of life
JavaScript
2
star
33

PeacefulProtests

Rimworld mod: PeacefulProtests
C#
1
star