創造AI競賽平台
Kaggle 成功創造了AI的平台奇蹟,後繼有許多仿效者,為了建立台灣的AI平台,嘗試安裝 EvalAI。過程中許多波折,終於成功架設。
參考文章~ https://www.itdaan.com/tw/76b03aaef0a2dc42f858f73b4711dea7
參考文章~ https://evalai.readthedocs.io/en/stable/setup.html
環境安裝
=============
安裝 Postgres
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
跑 PgAdmin 新增 evalai 資料庫
確定 node, npm 有安裝(我的電腦已安裝)
C:\node -v
C:\npm -v
全域安裝
npm install -g gulp
npm install -g bower
實際安裝 (分為前端與後端)
=============
下載安裝程式:
git clone https://github.com/Cloud-CV/EvalAI.git evalai
啟用虛擬環境、安裝python套件
C:\>cd evalai
C:\evalai>virtualenv venv
C:\evalai>venv\Scripts\activate
(venv) C:\evalai>pip install -r requirements/dev.txt
更改DB連結字串
Change Postgresql credentials(帳號/密碼) in settings/dev.py
執行migrations
(venv) C:\evalai>python manage.py migrate --settings=settings.dev
建立模擬資料(Seed the database with some fake data to work with.)
(venv) C:\evalai>python manage.py seed --settings=settings.dev
This command also creates a superuser(admin), a host user and a participant user with following credentials :
SUPERUSER- username: admin password: password
HOST USER- username: host password: password
PARTICIPANT USER- username: participant password: password
啟用後台
(venv) C:\evalai>python manage.py migrate --settings=settings.dev用另一個 cmd 執行後台
C:\evalai>npm install
C:\evalai>bower install
C:\evalai>gulp dev:runserver

留言
張貼留言