Giter VIP home page Giter VIP logo

Comments (6)

KichangKim avatar KichangKim commented on July 24, 2024

DeepDanbooru model returns 8k of (0.0~1.0) scores, so you can use this vector as feature vector. But it may be noisy and has too high dimension, so you may need something post-processing like PCA.

from deepdanbooru.

OysterQAQ avatar OysterQAQ commented on July 24, 2024

Yes, I noticed that it seems to output features vector of 7722 dimensions.
Will there be any problems if i use keras vgg16(imagenet) model(Exclude fc layer) to extract the features of anime pictures?
It will output 512 dimensions feature but it seems that the imagenet dataset only contains real photos

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

It doesn't matter what model you use, but I recommend to try DeepDanbooru model (resnet based) first because it is already trained and released so you can freely use it. Also DeepDanbooru is trained by using anime-pictures, unlike popular real-photo based models.

from deepdanbooru.

OysterQAQ avatar OysterQAQ commented on July 24, 2024

Thanks for your answer.
I prefer to use the DeepDanbooru model, but I understand that dimensionality reduction methods such as pca need to load the entire matrix, it is expensive.
Is there some better dimensionality reduction method?
The pre-trained VGG16 model still needs dimensionality reduction, because it is expensive to calculate the similarity of 512-dimensional vectors in tens of millions of pictures.

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

Autoencoder may be the answer I think.
https://www.tensorflow.org/tutorials/generative/autoencoder#first_example_basic_autoencoder

from deepdanbooru.

OysterQAQ avatar OysterQAQ commented on July 24, 2024

Thank you for your help. I will research it, Forgive me I am not good at deep learning

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.