No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nicole_or_kiko
.gitignore
.python-version
README.md
python_requirements.txt

README.md

Nicole or Kiko

for demo of campus festival

Requirements

  • Python 3.6.2
  • pyenv-virtualenv

Setup pyenv-virtualenv

pyenv virtualenv 3.6.2 nicole-or-kiko

Install requirements

pip install -r python_requirements.txt
  • Install newest lime
    • Install unicode compatible version "lime" from source
pyenv shell nicole-or-kiko # if you are in working directory
git clone https://github.com/marcotcr/lime.git
cd lime
python setup.py install

Crawl and scrap from Instagram

python manage.py scrap_instagram 2525nicole2 --media-metadata
python manage.py scrap_instagram i_am_kiko --media-metadata

Make Linear SVM Classifier

python manage.py make_classifier

Run server

python manage.py runserver
# and then access http://localhost:8000/home