Swifter-AI / SentimentVisionDemo

利用神经网络判断评估给定图像的情感色彩

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Styles Vision Demo

A Demo application using Vision and CoreML frameworks to detect the most likely sentiment of the given image.

SentimentVisionDemo

Model

This demo is based on the "Fine-tuning CNNs for Visual Sentiment Prediction" neural network classifier, which was converted from original Caffe model to CoreML model using coremltools python package.

Requirements

  • Xcode 9
  • iOS 11

Installation

git clone https://github.com/cocoa-ml/SentimentVisionDemo.git
cd SentimentVisionDemo
pod install
open StylesVision.xcworkspace/

Download the CoreMl model and drag the file into your project.

Build the project and run it on a simulator or a device with iOS 11.

Conversion

cd Convert
./download.sh
python convert.py

Author

Vadym Markov, markov.vadym@gmail.com

Credits

From Pixels to Sentiment: Fine-tuning CNNs for Visual Sentiment Prediction

References

About

利用神经网络判断评估给定图像的情感色彩

License:MIT License


Languages

Language:Swift 69.6%Language:Python 20.0%Language:Shell 6.8%Language:Ruby 3.6%