Skip to content

UTS-nlPUG/pref-ctrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Pref-CTRL

📦 Requirements

  • Python >= 3.11
  • 2 GPUs with 24GB memory each
  • 1.5 TB disk space

🚀 Getting Started

  • Set up the environment:
python3.11 -m venv venv
source venv/bin/activate
  • Export PYTHONPATH:
export PYTHONPATH="$PYTHONPATH:$(pwd)"
  • Generate dataset files using the following:
python scripts/precompute_shp_data.py
python scripts/precompute_rewards.py
  • Specify config parameters in experiments/config.yaml.

  • Login to W&B using the following:

wandb login
  • Run training:
python scripts/trainer.py

🔬 Testing

  • Specify config parameters in experiments/config.yaml.

  • Run testing:

python scripts/test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%