Skip to content

Commit

Permalink
Introduction and Installation instructions docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guyandtheworld committed Jun 29, 2018
1 parent e567071 commit 7d63929
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 6 deletions.
13 changes: 8 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
import os
import sys
import sphinx_rtd_theme
from recommonmark.parser import CommonMarkParser


sys.path.insert(0, os.path.abspath('../'))
Expand Down Expand Up @@ -44,6 +44,7 @@
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -52,8 +53,8 @@
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ['.rst', '.md']
# source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'
Expand All @@ -73,14 +74,16 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

source_parsers = {
'.md': CommonMarkParser,
}

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = 'alabaster'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
37 changes: 37 additions & 0 deletions docs/configure-host.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Configuring the CLI.

## Configure the Host URL

Before you can start using the EvalAI-CLI to do operations, you have to configure the host URL of the EvalAI instance that you want to connect to.

In the rest of this docs, we would be using `http://evalapi.cloudcv.org/` URL which is where the backend for the EvalAI server is hosted.

We need to configure our CLI to work with this backend.

`evalai configure -sh http://evalapi.cloudcv.org/`

Now, the CLI is ready to communicate with the backend. If you want to reconfigure the CLI with a different instance of EvalAI, you can use the same command.

## Token Authentication

Now, you have to get your own unique token to connect to your own account for performing the different operations.

Step 1: Go to your account in the EvalAI web app and go to you profile.

Step 2: Click the `Get Authentication Token` button in your profile.

Step 3: Click `Download as JSON` to download the token in a file.

Step 4: In the terminal, go to you home directory.

`cd ~`

Step 5: Create a dedicated folder for EvalAI's configurations.

`mkdir .evalai`

Step 5: Copy the `token.json` into the newly created `.evalai` folder.

`mv Downloads/token.json ~/.evalai`

Now you're all set and ready to go!
4 changes: 3 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Welcome to EvalAI CLI's documentation!
:maxdepth: 2
:caption: Contents:


introduction
installation
configure-host

Indices and tables
==================
Expand Down
15 changes: 15 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Installation


## Install Python pip

Have the latest version of pip and preferably Python-3 installed.

`sudo apt-get install python-pip`


## EvalAI CLI installation

Install EvalAI CLI from pip.

`pip install evalai`
13 changes: 13 additions & 0 deletions docs/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Welcome


## What is [EvalAI](https://github.com/Cloud-CV/EvalAI)?

EvalAI is an open source web application that helps researchers, students and data-scientists to create, collaborate and participate in various AI challenges organized round the globe.

In recent years, it has become increasingly difficult to compare an algorithm solving a given task with other existing approaches. These comparisons suffer from minor differences in algorithm implementation, use of non-standard dataset splits and different evaluation metrics. By providing a central leaderboard and submission interface, we make it easier for researchers to reproduce the results mentioned in the paper and perform reliable & accurate quantitative analysis. By providing swift and robust backends based on map-reduce frameworks that speed up evaluation on the fly, EvalAI aims to make it easier for researchers to reproduce results from technical papers and perform reliable and accurate analyses.


## What is the [EvalAI-CLI](https://github.com/Cloud-CV/EvalAI-CLI)?

EvalAI CLI was designed to extend the functionality of the EvalAI web app to the command line. EvalAI CLI offers you most of the core features of the EvalAI web app on your termial, enabling you to keep the efficiency of working on a terminal, from make a submission to viewing the results of a competition without ever leaving the terminal. EvalAI CLI is cross-platform supported and is available of PyPI.

0 comments on commit 7d63929

Please sign in to comment.