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

How to update the newest model through git clone? #16

Closed
kld123509945 opened this issue Feb 6, 2020 · 1 comment
Closed

How to update the newest model through git clone? #16

kld123509945 opened this issue Feb 6, 2020 · 1 comment

Comments

@kld123509945
Copy link

kld123509945 commented Feb 6, 2020

Hi @KichangKim, I've tried the following code to load the newest model on colab:

!git clone https://github.com/KichangKim/DeepDanbooru.git
!pip install -e DeepDanbooru
!pip install tensorflow -U
%env TF_CPP_MIN_LOG_LEVEL=2

!python -m deepdanbooru evaluate test --project-path model --allow-folder

While I notice that the evaluating result is quite different from the demo site:
http://kanotype.iptime.org:8003/deepdanbooru/
The demo site provides far more accurate results than the above codes, while I notice that the web demo might have used the newest pre-trained model.
So would you kindly help me to fix the above code to reproduce the result from the web demo? Many thanks!

@kld123509945
Copy link
Author

kld123509945 commented Feb 6, 2020

Oh I have noticed that I should add your following codes before I evaluate the result

!wget https://github.com/KichangKim/DeepDanbooru/releases/download/v3-20200101-sgd-e30/deepdanbooru-v3-20200101-sgd-e30.zip -O model.zip
!unzip model.zip -d model

to download the selected model. My fault, thanks!

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

1 participant