Skip to content

mengli11235/DIM-UA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Representation Learning Using an Unbalanced Atlas

This project contains code for the paper State Representation Learning Using an Unbalanced Atlas, based on the code from the benchmark and techniques introduced in the paper Unsupervised State Representation Learning in Atari. Please visit https://github.com/mila-iqia/atari-representation-learning for detailed instructions on the benchmark.

To install the corresponding gym version:

pip install gym==0.12.5 -e '.[atari]'

To run the script:

python run_probe.py

An example of running DIM-UA and setting the environment to Video Pinball, 4 heads and 512 units each, seed 2:

python run_probe.py --env-name VideoPinballNoFrameskip-v4 --n-head 4 --feature-size 512 --qv --seed 2

An example of running ST-DIM and setting the environment to Video Pinball, 512 units, seed 2:

python run_probe.py --env-name VideoPinballNoFrameskip-v4 --n-head 1 --feature-size 512 --seed 2

Running '-UA' described in the paper, and setting the environment to Video Pinball, 4 heads and 512 units each, seed 2:

python run_probe.py --env-name VideoPinballNoFrameskip-v4 --n-head 4 --feature-size 512 --seed 2

Running '+MMD' described in the paper, and setting the environment to Video Pinball, 4 heads and 512 units each, seed 2:

python run_probe.py --env-name VideoPinballNoFrameskip-v4 --n-head 4 --feature-size 512 --mmd --seed 2

A detailed list of parameter setup is in atariari/methods/utils.py

About

This is the repository for the paper 'State Representation Learning Using an Unbalanced Atlas'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages