conda env create -f environment.yml
conda activate costar
# For compatibility with saved data
conda install -c conda-forge pandas==1.5.3
# Setup wandb for logging experiments
wandb login
Download the pre-generated data and extract in the project root directory:
tar xzvf all_needed_data.tar.gz
To add customized datasets, follow instructions specified here.
No further setup needed. All data will be generated on the fly.
No further setup needed. The pre-generated data will be loaded. To re-run the simulation process (can be slow), use:
PYTHONPATH=. python runnables/train_enc_dec.py -m +dataset/mimic3_syn_age="0-3_all" +backbone=crn_noncausal_troff +'backbone/crn_noncausal_troff_hparams/mimic3_synthetic="all"' dataset.data_gen_n_jobs=8 exp.gen_data_only=True exp.seed=17,43,44,91,95 exp.tags=230814_mimicsyn_all_data
PYTHONPATH=. python runnables/train_enc_dec.py -m +dataset/mimic3_syn_age="0-3_all_srctest" +backbone=crn_noncausal_troff +'backbone/crn_noncausal_troff_hparams/mimic3_synthetic="all"' dataset.data_gen_n_jobs=8 exp.gen_data_only=True exp.seed=17,43,44,91,95 exp.tags=230910_mimicsyn_all_data
No further setup needed. All data will be generated on the fly.
We list the detailed commands of running experiments and metrics to report in the following script files.
See scripts_release/costar.sh
for details.
See scripts_release/baselines.sh
for details.