官方的代码 https://github.com/Cloud-CV/EvalAI 我一直没法成功import yaml配置举办比赛(create a challenge on EvalAI 使用https://github.com/Cloud-CV/EvalAI-Starters)。

直到使用第三方的fork: https://github.com/live-wire/EvalAI

下面是介绍的简单使用流程:

A question we’re often asked is: Doesn’t Kaggle already do this? The central differences are:

  • Custom Evaluation Protocols and Phases: We have designed versatile backend framework that can support user-defined evaluation metrics, various evaluation phases, private and public leaderboard.

  • Faster Evaluation: The backend evaluation pipeline is engineered so that submissions can be evaluated parallelly using multiple cores on multiple machines via mapreduce frameworks offering a significant performance boost over similar web AI-challenge platforms.

  • Portability: Since the platform is open-source, users have the freedom to host challenges on their own private servers rather than having to explicitly depend on Cloud Services such as AWS, Azure, etc.

  • Easy Hosting: Hosting a challenge is streamlined. One can create the challenge on EvalAI using the intuitive UI (work-in-progress) or using zip configuration file.

  • Centralized Leaderboard: Challenge Organizers whether host their challenge on EvalAI or forked version of EvalAI, they can send the results to main EvalAI server. This helps to build a centralized platform to keep track of different challenges.

Goal

Our ultimate goal is to build a centralized platform to host, participate and collaborate in AI challenges organized around the globe and we hope to help in benchmarking progress in AI.

Performance comparison

Some background: Last year, the Visual Question Answering Challenge (VQA) 2016 was hosted on some other platform, and on average evaluation would take ~10 minutes. EvalAI hosted this year's VQA Challenge 2017. This year, the dataset for the VQA Challenge 2017 is twice as large. Despite this, we’ve found that our parallelized backend only takes ~130 seconds to evaluate on the whole test set VQA 2.0 dataset.

Installation Instructions

Setting up EvalAI on your local machine is really easy. You can setup EvalAI using two methods:

Using Docker

You can also use Docker Compose to run all the components of EvalAI together. The steps are:

  1. Get the source code on to your machine via git.

    git clone https://github.com/Cloud-CV/EvalAI.git evalai && cd evalai

    Use your postgres username and password for fields USER and PASSWORD in settings/dev.py file.

  2. Build and run the Docker containers. This might take a while. You should be able to access EvalAI at localhost:8888.

    docker-compose up --build
    

Using Virtual Environment

  1. Install python 2.7.10 or above, git, postgresql version >= 10.1, have ElasticMQ installed (Amazon SQS is used in production) and virtualenv, in your computer, if you don't have it already. If you are having trouble with postgresql on Windows check this link postgresqlhelp.

  2. Get the source code on your machine via git.

    git clone https://github.com/Cloud-CV/EvalAI.git evalai

  3. Create a python virtual environment and install python dependencies.

    cd evalai
    virtualenv venv
    source venv/bin/activate  # run this command everytime before working on project
    pip install -r requirements/dev.txt

  4. Create an empty postgres database.

    sudo -i -u (username)
    createdb evalai
    
  5. Change Postgresql credentials in settings/dev.py and run migrations

    Use your postgres username and password for fields USER and PASSWORD in dev.py file. After changing credentials, run migrations using the following command:

    python manage.py migrate --settings=settings.dev
    
  6. Seed the database with some fake data to work with.

    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

  7. That's it. Now you can run development server at http://127.0.0.1:8000 (for serving backend)

    python manage.py runserver --settings=settings.dev
    
  8. Please make sure that node(>=7.x.x), npm(>=5.x.x) and bower(>=1.8.x) are installed globally on your machine.

    Install npm and bower dependencies by running

    npm install
    bower install
    

    If you running npm install behind a proxy server, use

    npm config set proxy http://proxy:port
    
  9. Now to connect to dev server at http://127.0.0.1:8888 (for serving frontend)

    gulp dev:runserver
    
  10. That's it, Open web browser and hit the url http://127.0.0.1:8888.

  11. (Optional) If you want to see the whole game into play, then install the ElasticMQ Queue service and start the worker in a new terminal window using the following command that consumes the submissions done for every challenge:

    python scripts/workers/submission_worker.py
    

注意:为了是新加的账户直接login并加入team,我修改了:
  575  vi accounts/permissions.py

from allauth.account.models import EmailAddress
from rest_framework import permissionsclass HasVerifiedEmail(permissions.BasePermission):"""Permission class for if the user has verified the email or not"""message = "Please verify your email first!"def has_permission(self, request, view):if request.user.is_anonymous:return Trueelse:print("*******************email verify removed!!!!")return Trueif EmailAddress.objects.filter(user=request.user, verified=True).exists():return Trueelse:return False

使用docker运行:
  578  docker-compose up --build
然后就是漫长的等待。各种安装依赖,安装linux docker的东西。。。

最后访问localhost:8888即可。

转载于:https://www.cnblogs.com/bonelee/p/10043970.html

EvalAI使用——类似kaggle的开源平台,不过没有kernel fork功能,比较蛋疼相关推荐

  1. DMLC深盟分布式深度机器学习开源平台解析

     DMLC深盟分布式深度机器学习开源平台解析 width="22" height="16" src="http://hits.sinajs.cn/ ...

  2. Thingsboard开源平台(一)2.软件安装

    Thingsboard开源平台(一)--软件安装 在Windows平台安装ThingsBoard 前言 1.安装 java8(OpenJDK) 2.下载ThingsBoard安装包 3.配置Thing ...

  3. 边缘计算简介以及几款边缘计算开源平台

    边缘计算中的边缘(edge)指的是网络边缘上的计算和存储资源,这里的网络边缘与数据中心相对,无论是从地理距离还是网络距离上来看都更贴近用户.作为一种新的计算范式,边缘计算将计算任务部署于接近数据产生源 ...

  4. ducter运维平台_专访运维管理开源平台负责人刁文波:Ducter能帮你!

    专访运维管理开源平台负责人刁文波:Ducter能帮你! 发表于2015-02-11 14:11| | 来源CSDN [编者按]广大的运维朋友肯定常常会在工作中遇到各种和产品发布与管理有关的问题,对于解 ...

  5. 开源系列:AI对抗攻防算法开源平台,哪家强?

    原创:谭婧 人工智能算法攻与防,始于一个有趣的"捣乱",在谷歌实验室里. "捣乱",纯粹是人为的,自己给自己添乱. 得到的实验室结论是:对输入样本(一张图片)故 ...

  6. 详细的AI学习路线 能为学者节省n年搜索时间(n=1)(本文由知名开源平台,AI 技术平台以及领域专家:Datawhale,ApacheCN,AI 有道和黄海广博士联合整理贡献)

    https://blog.csdn.net/qq_19582165/article/details/102439498 本文由知名开源平台,AI 技术平台以及领域专家:Datawhale,Apache ...

  7. 如何让人工智能更智能?你需要一个开源平台

    如何让人工智能更智能?你需要一个开源平台 2020年6月19日,奥斯纳布吕克州下萨克森:Melanie Ploppa老师在教室中为小学生们上课.由于新冠隔离法规的限制,目前各学校必须采取特殊的卫生管理 ...

  8. OPNFV董事邓辉:网络功能虚拟化开源平台OPNFV介绍

    2016年6月1-2日,"2016全球SDNFV技术大会"在北京盛大召开.作为连续举办三届的SDN/NFV技术与产业盛会,本届大会着眼于SDN/NFV的实践应用与部署,从SDN/N ...

  9. 华为终于放出方舟编译器源代码!开源平台同步亮相,网友:硬核项目

    乾明 边策 发自 凹非寺  量子位 报道 | 公众号 QbitAI 华为方舟编译器终于正式开源,源代码放出,兑现了在8月开源的承诺. 代码不在GitHub,而是在自家开源平台上.这也意味着,华为开源平 ...

最新文章

  1. Shell脚本逐行处理文本文件技巧
  2. nvm:Mac下的 node 版本管理工具
  3. Visual Studio 2005常用插件搜罗
  4. 构造数独 算法及代码实现
  5. (Java集合框架)集合框架概述和Collection常用功能及遍历
  6. 河南关于领取软考2021年上半年合格证书的通知
  7. css3中clip属性
  8. flex java_Flex与Java通信 (一)
  9. 【C++grammar】结构化绑定
  10. 为什么要学习Python?怎么学?
  11. 基于JAVA+SpringBoot+Vue+Mybatis+MYSQL的汽车销售管理系统
  12. Android开发笔记(一百七十五)利用Room简化数据库操作
  13. 使用SQL Server数据工具和Visual Studio Online进行连续部署
  14. 南邮ctf mysql_南邮ctf知识点汇总 - Crypto篇
  15. sqlserve 热备用状态更新_什么是核心交换机的链路聚合、冗余、堆叠、热备份
  16. jzoj5424【NOIP2017提高A组集训10.25】凤凰院凶真
  17. 性能常识 [踩坑总结] nf_conntrack: table full, dropping packet [新]
  18. html火焰字效果,ps怎样制作燃烧的火焰字 巧用图层样式给字体增加火焰特效教程...
  19. 2018-2-13-win10-uwp-smms图床
  20. 一线城市与三线城市的IT生活——从《机器灵 砍菜刀》说开去

热门文章

  1. 计算机考试创建数据库,2013年计算机二级access创建数据库
  2. matlab哈明窗带阻,数字信号处理实验1,2,3,4
  3. c++连连看游戏_用Python玩连连看是什么效果?
  4. android 多个dialog 交替显示,Android如何在一个AlertDialog中一个接一个地显示两个ListViews...
  5. Linux命令学习之nslookup
  6. Java开发面试题,Spring面试题整理(1)
  7. 【高级Java架构师系统学习】java问答社区系统
  8. 【深度学习】Swin-Unet图像分割网络解析(文末提供剪枝仓库)
  9. python【蓝桥杯vip练习题库】BASIC-16分解质因数(数论 质数分解)
  10. Python程序设计题解【蓝桥杯官网题库】 DAY15-算法训练