ychikazawa / DeepSentiBank-Builder

Make the executable file (extract_nfeatures) for DeepSentiBank (https://github.com/generalmilk/DeepSentiBank) in Caffe (https://github.com/BVLC/caffe).
MIT License
4 stars 1 forks source link
caffe docker docker-compose

DeepSentiBank-Builder

License: MIT

Make the executable file (extract_nfeatures) for DeepSentiBank in Caffe.

Requirement

Usage

You can get the executable file (extract_nfeatures) in source folder.

Run DeepSentiBank

Test in docker

You can test creating json in this builder project.

After running the following command, test_image.json file will be output to source/DeepSentibank folder.

Test in your project

Download caffe_sentibank_train_iter_250000 file from HERE.

Then, add extract_nfeatures and caffe_sentibank_train_iter_250000 file to your DeepSentiBank folder, and run python sentiBank.py test_image.jpg.

You can get output json file: test_image.json.

Note

(2020.01.24)

Original extract_nfeatures.cpp in DeepSentiBank contains a bug caused by Caffe updates. (Look this Issue.)

So we use a modified file (source/extract_nfeatures.cpp) instead of the original one.

(2021.07.15)

The source of caffe_sentibank_train_iter_250000 download link is HERE.

If the download link is broken, please contact me as I have a backup.

License

This software is released under the MIT License, see LICENSE.

Copyright (c) 2020 Yuto Chikazawa.