项目作者: mynameisvinn

项目描述 :
scene classification for 360 photos
高级语言: Python
项目地址: git://github.com/mynameisvinn/Scene-Classification.git
创建时间: 2016-10-22T15:34:25Z
项目社区:https://github.com/mynameisvinn/Scene-Classification

开源协议:

下载


what is this?

a scene classifier for 360 photos.

205 scenes are recognized including mountains, aquariums, bookstores, soccer fields, etc. exotic settings are included too - castles, chalets, and catacombs. top-1 accuracy is 50.04% and top-5 accuracy is 81.10%.

specs

ml deets

trained on 2.5m images comprising 205 unique scene categories from mit’s csail places. for details, read “places: an image database for deep scene understanding”.

get da docker

building caffe from source is not for the faint of heart so you should do the following:

  1. git clone https://github.com/mynameisvinn/scene_classification
  2. cd scene_classification
  3. docker build -t scene_classification .

run

from command line, do

  1. docker run scene_classification python run_scene.py images/triple.jpg

you should see top five predictions, in order of confidence: water park, ocean, lagoon, beach, coast.

option 2

from command line, do

  1. docker run -it mynameisvinn/scene_classification

then do

  1. $ python run_scene.py images/park.jpg