calvinh99 / mangastyle

The place to find the latest trending mangastyle art on twitter.
0 stars 0 forks source link

Change style field to int and add a trainingdata = T/F field #10

Closed calvinh99 closed 2 years ago

calvinh99 commented 2 years ago

For MediaAttachment data field 'style'.

Currently it is VARCHAR and can represent classes like "manga", etc.

But, names always change, so replace with ints.

0 : manga, manga-color, etc. the name can change 1 : hentai, nsfw, etc. the name can change 2 : other, misc, photos, notart, etc. the name can change

calvinh99 commented 2 years ago

Also add a confidence field that is a float btwn 0 and 1.

Basically the proba to be that style predict by the model. This way we can filter and relabel ones with low confidence first.

calvinh99 commented 2 years ago

Changed media_style field to style SmallIntegerField and added training_data BooleanField.