Giter VIP home page Giter VIP logo

Comments (3)

KichangKim avatar KichangKim commented on July 24, 2024 1

Json files in images folder are used for debugging purpose. It does not need to training. (also tags-xxx.txt are used for debugging too.)

Essential files are these:
Image files in images folder, database sqlite file, tags.txt.
Training data is loaded from images folder and database sqlite file, then model's output dimension is
calculated by using tags.txt.

So if you want to merge multiple databases into single one, you should modify both database.sqlite and tags.txt.

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024 1

If the output dimension increase, memory usage will be high and you need more memory and training time.

The best case is that tags.txt has only tags which you want to estimate. In ex, if you want to tag only characters, tags.txt have to contain only that character tags.

If the tag is not present in tags.txt, it will be simply ignored and do not affect training performance.

from deepdanbooru.

libid0nes avatar libid0nes commented on July 24, 2024

Thank you for your detailed answer, I have new questions.

What happens if the tag that is specified in the database record is not present in the tags file.txt?

Speaking of dimension, I'm training a model for tagging on a specific anime universe (naruto), the total number of images will be no more than 200k. And the number of tags in them, about 60 for characters and 1000-3000 for General tags.

That is, in fact, in a project for 200k images can contain 1000-3500 unique tags, while in the file: tags.txt, unique tags will be more than 100k. Will this not affect the training or performance?

It might be better if I write a script that generates tags.txt only from those tags that are in the database? Or am I worrying for nothing?

from deepdanbooru.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.