**Note:** viewing jupyter-notebooks on git may lack some features (not showing output or choosing options from [ipywidget](https://ipywidgets.readthedocs.io/en/stable/examples/Using%20Interact.html))
### System

### CNN
#### Coco API
@@ -24,32 +27,94 @@ cd cocoapi/PythonAPI
python setup.py install
```
TODO: coco preprocessing code
#### Retraining
Tensorflow pretrained image classification models available at [https://github.com/tensorflow/models/tree/master/research/slim](https://github.com/tensorflow/models/tree/master/research/slim)
The pretrained model is retrained onto the 80 categories from coco.
##### Singlelabel Model [PDF](https://arxiv.org/pdf/1512.03385.pdf)
##### Singlelabel Model (InceptionV3) [PDF](https://arxiv.org/pdf/1512.03385.pdf
* How to retrain Singlelabel:
TODO
For training with default hyperparameters you need to pass a directory with all the images.
The directory has to contain subdirectories which each are named after one of the labels and contain only images with that label.
The image directory contains all the training images without them being in subdirectories.
Additionally you have to open the the retrain.py and change the path of IMAGE_LABELS_DIR and ALL_LABELS_FILE.
IMAGE_LABELS_DIR is a directory which contains a text file for every image in image_dir describing all labels on that image.
ALL_LABELS_FILE is a text file that contains all the labels.
***Results:**
[Trained model (default)](/models/multilabel_default/)
[Trained model (+Hyperparameters)](/models/multilabel_hp/)
@@ -112,6 +177,12 @@ See [example notebook](/lucid/Visualization - singlelabel.ipynb)
TODO:
[Demo Notebook]()
## Additional material
TODO: Forschungsplan
TODO: Spezifiktaionsvortrag
TODO: Abschlussvortrag
## References
Vinyals, O., Toshev, A., Bengio, S., & Erhan, D. (2015). **Show and tell: A neural image caption generator**. In *Proceedings of the IEEE conference on computer vision and pattern recognition* (pp. 3156-3164).