Giter VIP home page Giter VIP logo

Comments (15)

KichangKim avatar KichangKim commented on July 24, 2024

I don't know about spyder. But the entry file of DeepDanbooru is __main__.py
https://github.com/KichangKim/DeepDanbooru/blob/ea22b374d1bf00b61c6c1438b58ff8da99569e54/deepdanbooru/__main__.py

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

image
how can i run this py ,it is error?
please help me

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

If you want evaluate in your python code, see
https://github.com/KichangKim/DeepDanbooru/blob/ea22b374d1bf00b61c6c1438b58ff8da99569e54/deepdanbooru/commands/evaluate_project.py

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

THANKS I WILL TRY IT

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

can i ask that what is the thresold,is this any files
image

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

It is score threshold. DD console application shows tags that its score is higher than threshold. If you want to get all tags with score, set 0.

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

image
here is my path directory
after run the py,yt goes wrong why
image

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

It is score threshold. DD console application shows tags that its score is higher than threshold. If you want to get all tags with score, set 0.

thank you

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

Did you download pre-trained model and extract to project folder? If not, you should make project data and train model yourself.

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

image
how can i solve this problem haha i always stuck

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

Sorry, evaluate_project.py is old code.

See https://github.com/KichangKim/DeepDanbooru/blob/master/deepdanbooru/commands/evaluate.py instead.

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

ok

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

image
CAN I know that the (allow_gpu, compile_model, allow_folder, folder_filters, verbose),what is its parameter,how to call this function thank you

from deepdanbooru.

KichangKim avatar KichangKim commented on July 24, 2024

allow_gpu means that allow TensorFlow uses GPU for its training/evaluating. If you have CUDA compatible GPU, set it to True.
compile_model is flag for https://www.tensorflow.org/api_docs/python/tf/keras/Model#compile

Also this method is simple python method, you can freely call this method from your python code.
I highly recommend that read https://www.tensorflow.org/tutorials first before using DeepDanbooru with your custom code.

from deepdanbooru.

lofangmeng avatar lofangmeng commented on July 24, 2024

thanks
image
i have a new problem now it seems ready to work but still stuck at here

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.