hysts commited on
Commit ·
37b01c5
1
Parent(s): e0dd337
Update README.md
Browse files1 unmodified line2341 unmodified lineImages generated by the [TADNE model](https://huggingface.co/hysts/TADNE).1 unmodified line23456789101112131415161718192021222324252627281 unmodified lineImages generated by the [TADNE model](https://huggingface.co/hysts/TADNE).## Note- `prediction_results/anime-face-detector`- https://github.com/hysts/anime-face-detector- YOLOv3 + HRNetV2- `prediction_results/deepdanbooru`- https://github.com/KichangKim/DeepDanbooru- `model-resnet_custom_v3.h5`- `prediction_results/deepdanbooru/intermediate_features`- Output by the following model- 4096-dim```pythondef create_model() -> tf.keras.Model:path = huggingface_hub.hf_hub_download('hysts/DeepDanbooru','model-resnet_custom_v3.h5',use_auth_token=TOKEN)model = tf.keras.models.load_model(path)model = tf.keras.Model(model.input, model.layers[-4].output)layer = tf.keras.layers.GlobalAveragePooling2D()model = tf.keras.Sequential([model, layer])return model```
README.md+24