Skip to content

jenjsun/calibratable-style-consistency

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of Learning Calibratable Policies using Programmatic Style-Consistency (arXiv)

Code

This is a fork of the original repo from https://github.com/ezhan94/calibratable-style-consistency.

Code is written in Python 3.7.4 and PyTorch v.1.0.1.

Usage

Train models with:

$ python run_single.py -d <device id> --config_dir <config folder name>

Not specifying a device will use CPU by default. See JSONs in configs\ to see examples of config files.

Test Run

$ python run_single.py --config_dir test --test_code should run without errors.

Scripts

$ python scripts/check_dynamics_loss.py -f <config folder name> will compute and visualize the dynamics model error, where applicable.

$ python scripts/compute_stylecon_ctvae.py -f <config folder name> will compute the style-consistency.

$ python scripts/visualize_samples_ctvae.py -f <config folder name> will sample and save trajectories for each label class.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%