Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification of README.md #103

Closed
ppbrown opened this issue Apr 27, 2024 · 6 comments
Closed

Clarification of README.md #103

ppbrown opened this issue Apr 27, 2024 · 6 comments

Comments

@ppbrown
Copy link

ppbrown commented Apr 27, 2024

Could you please add a bit more details in the readme, with specific directory examples?

It talks about "prepare dataset", but does not make it clear where it should live in relation to the "project"?

If I'm understanding things, maybe it would be clearer if you moved step 1, "prepare dataset", to step 6.

Then step 7 becomes

"deepdanbooru evaluate [your-dataset-directory] ...."

@KichangKim
Copy link
Owner

Hi. Dataset (including sqlite database file) can be located anywhere, you can specify its path in project.json.

Also, if you use pre-trained project (can download it from Releases section) and for just evaluate images, you do not need to prepare your own dataset. It only be needed for training.

@ppbrown
Copy link
Author

ppbrown commented Apr 28, 2024

Maybe I'm misunderstanding use here. Its probably best if I just say want I want to use this for.
I have a set of 1,000 images. I'm hoping to use this program to autogenerate .txt tag files for each file.
So, definitely using my own data set :)

It might be best to have a streamlined guide that handled this case specifically?

@KichangKim
Copy link
Owner

Ah, it is simple.
deepdanbooru evaluate [your_images_folder] --project-path [project_folder] --allow-folder --save-txt
For details, see #90

@ppbrown
Copy link
Author

ppbrown commented Apr 28, 2024

Hmmm.
for the "download-tags" part.. I made a free api key, but when I try to use it with your script...

Seems like it pulls an empty file.

json.decoder.JSONDecodeError: Expecting value: 1line 1 column 1 (char 0)

@KichangKim
Copy link
Owner

If you only want to evaluate, you can skip 1~6. It only need for training. Pre-trained project already has tags.txt.

@KichangKim
Copy link
Owner

download-tags issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants