Make the executable file (extract_nfeatures) for DeepSentiBank in Caffe.
- Docker
- docker-compose
- Run
docker-compose build. - Run
docker-compose up -d.
You can get the executable file (extract_nfeatures) in source folder.
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.
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.
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.
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.
This software is released under the MIT License, see LICENSE.
Copyright (c) 2020 Yuto Chikazawa.