Downloads · 30 days
0
svnfs/bokeh
bokeh is a image classification model from svnfs. Use it when you need a label for an image. It is set up for keras. The card lists the license as mit.
Bokeh model is based on a densenet like architecture trained on Unsplash images at 300x200 resolution. It classifies whether an photo is capture with bokeh producing a shallow depth of field
Downloads · 30 days
0
Access
Public
Updated Nov 14, 2022
Repo size
212 KB
Likes
0
Public
Click a slice to open those files.
.h5212 KB · 99%
From the Hugging Face model README
Bokeh model is based on a densenet like architecture trained on Unsplash images at 300x200 resolution. It classifies whether an photo is capture with bokeh producing a shallow depth of field
Bokeh model is based on a DenseNet architecture. The model is trained with a mini-batch size of 32 samples with Adam optimizer and a learning rate $0.0001$. It has 3.632 trainable parameters, 8 convolution filters are used for the network's input, with $7\times7$ kernel size.
The bokeh model is pretrained on depth-of-field dataset, a dataset consisted of 1200 images and 2 classes manually annotated.
@article{sniafas2021,
title={DoF: An image dataset for depth of field classification},
author={Niafas, Stavros},
doi= {10.13140/RG.2.2.17217.89443},
url= {https://www.researchgate.net/publication/355917312_Photography_Style_Analysis_using_Machine_Learning}
year={2021}
}