Code Monkey home page Code Monkey logo

sevn-model's Introduction

SEVN Model

In this repository you'll find the code used to train the multi-modal agents on SEVN. These agents can take in images, scene-text, and gps to navigate to goal addresses. This repository was forked from this PPO repository.

Installation

To get install all the software for the SEVN-model, simply run this script:

# Create a conda environment for the dependencies (if the sevn environment already exists, don't recreate it)
conda create -n sevn

# Install the SEVN repository and dependencies 
git clone [email protected]:mweiss17/SEVN.git
cd SEVN
pip install -e .
cd ..

# Install the SEVN-model repository and dependencies
git clone [email protected]:mweiss17/SEVN-model.git
cd SEVN-model
pip install -e .
cd ..

# Install the OpenAI Baselines for Atari preprocessing repository and depenencies
git clone https://github.com/openai/baselines.git
cd baselines
pip install -e .
cd ../SEVN-model

Now, let's verify that the install was correct by (briefly) training a model

python main.py --env-name "SEVN-Train-AllObs-Shaped-v1" \
               --custom-gym SEVN_gym \
               --algo ppo \
               --use-gae \
               --lr 5e-4 \
               --clip-param 0.1 \
               --value-loss-coef 0.5 \
               --num-processes 1 \
               --num-steps 256 \
               --num-mini-batch 4 \
               --log-interval 1 \
               --use-linear-lr-decay \
               --entropy-coef 0.01 \
               --comet mweiss17/navi-corl-2019/UcVgpp0wPaprHG4w8MFVMgq7j \
               --seed 0 \
               --num-env-steps 10000000

sevn-model's People

Contributors

ikostrikov2 avatar mweiss17 avatar timmeinhardt avatar simonchamorro avatar roggirg avatar fgolemo avatar erikwijmans avatar maximecb avatar willwhitney avatar haruishi43 avatar nadavbh12 avatar yobibyte avatar ranahanocka avatar bearpaw avatar rwightman avatar linusericsson avatar mabirck avatar alok avatar dineshj1 avatar florianklemt avatar ranamihir avatar ntt123 avatar prolearner avatar

Watchers

James Cloos avatar

Forkers

nicholaspalomo

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.