Skip to content

ychikazawa/DeepSentiBank-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepSentiBank-Builder

License: MIT

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

Requirement

Usage

  • Run docker-compose build.
  • Run docker-compose up -d.

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.

  • Run docker-compose exec builder sh test.sh.

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.