Skip to content

HRL envs from Data efficient hierarchical reinforcement learning in Julia using Lyceum MuJoCo

Notifications You must be signed in to change notification settings

sash-a/HrlMuJoCoEnvs.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HrlMuJoCoEnvs.jl

HRL envs from Data efficient hierarchical reinforcement learning in Julia using Lyceum MuJoCo

Available environments

  • Ant gather
  • Point gather
  • Ant maze
  • Point maze
  • Ant push
  • Ant fall

Installation

Make sure you check the install instructions for Lyceum MuJoCo

pkg> add https://github.com/sash-a/HrlMuJoCoEnvs.jl/

Example usage

using HrlMuJoCoEnvs
using LyceumMuJoCo

env = HrlMuJoCoEnvs.AntGatherEnv()

for i in 1:100
    step!(env)
    o = getobs(env)
    setaction!(env, rand(8))
    @show getreward(env)
    if isdone(env)
        println("done")
    end
end

Examples of the environments

Ant Gather

Ant Maze

Ant Push

Ant Fall

ps. appologies for some poor coding practise, this is research code.

About

HRL envs from Data efficient hierarchical reinforcement learning in Julia using Lyceum MuJoCo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages