Vecwise Engine

Geting started

  • Install Miniconda first
    • conda create --name vec_engine python=3.6
    • conda activate vec_engine
    • conda install faiss-gpu cuda90 -c pytorch # For CUDA9.0
    • conda install flask
    • pip install flask-restful

Create Database

  • Install MySQL

    • sudo apt-get update
    • sudo apt-get install mariadb-server
  • Create user and database:

    • create user vecwise;
    • create database vecdata;
    • grant all privileges on vecdata.* to 'vecwise'@'%';
    • flush privileges;
  • Create table:

    • python # enter python3 interaction environment
    • from engine import db
    • db.create_all()
Languages
Go 57.8%
Python 21.2%
C++ 19.6%
Shell 0.5%
Groovy 0.3%
Other 0.5%