Code Monkey home page Code Monkey logo

open-solution-mapping-challenge's Introduction

open-solution-mapping-challenge

Open solution to the CrowdAI Mapping Challenge

Goal

Deliver open source, ready-to-use and extendable solution to this competition. This solution should - by itself - establish solid benchmark, as well as provide good base for your custom ideas and experiments.

Usage: Fast Track

  1. clone this repository: git clone https://github.com/neptune-ml/open-solution-mapping-challenge.git
  2. install requirements
  3. register to Neptune (if you wish to use it) login via:
$ neptune login
  1. download/upload competition data and change data-related paths in the configuration file neptune.yaml
  2. Prepare the data:
$ neptune experiment run main.py -- prepare_metadata \
--train_data \
--valid_data \
--test_data
  1. Put your competition API key in the configuration file
  2. run experiment (for example via neptune):
$ neptune login
$ neptune experiment run \
main.py -- train_evaluate_predict --pipeline_name unet --chunk_size 5000
  1. check your leaderboard score!

Usage: Detailed

  1. clone this repository: git clone https://github.com/minerva-ml/open-solution-talking-data.git
  2. install PyTorch and torchvision
  3. install requirements: pip3 install -r requirements.txt
  4. register to Neptune (if you wish to use it) login via:
$ neptune login
  1. open Neptune and create new project called: Mapping Challenge with project key: MC
  2. download the data from the competition site
  3. upload the data to neptune (if you want to run computation in the cloud) via:
$ neptune data upload YOUR/DATA/FOLDER
  1. change paths in the neptune.yaml .
  data_dir:               /path/to/data
  meta_dir:               /path/to/data
  masks_overlayed_dir:    /path/to/masks_overlayed
  experiment_dir:         /path/to/work/dir
  1. run experiment:

    • local machine with neptune
    $ neptune login
    $ neptune experiment run \
    main.py -- train_evaluate_predict --pipeline_name unet --chunk_size 5000
    • cloud via neptune
    $ neptune login
    $ neptune experiment send --config neptune.yaml \
    --worker gcp-large \
    --environment pytorch-0.2.0-gpu-py3 \
    main.py -- train_evaluate_predict --pipeline_name solution_1 --chunk_size 5000
    • local pure python
    $ python main.py train_evaluate_predict --pipeline_name unet --chunk_size 5000

User support

There are several ways to seek help:

  1. crowdai discussion is our primary way of communication.
  2. You can submit an issue directly in this repo.

Contributing

  1. Check CONTRIBUTING for more information.
  2. Check issues and project to check if there is something you would like to contribute to.

open-solution-mapping-challenge's People

Contributors

apyskir avatar jakubczakon avatar kamil-kaczmarek avatar spmohanty avatar taraspiotr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.