// describe the src directory structure and how to run the code train.py
src/
├── baselines/ # Contains models for LearningToDefer and LearningToAsk classes
├── datasets/ # Contains datasets classes
├── default_params/ # Contains model definitions
├── losses/ # Contains losses definitions
├── networks/ # Contains networks definitions
├── utils/ # Contains utility functions
train_chx.py # Main script to train the model for chest X-ray
train_synth.py # Main script to train the model for synthetic data
example_fig2.py # Example script to generate figure 2
requirements.txt # List of dependencies
conda env create --file requirements.txt conda activate <env_name> python train_chx.py --args <your_arguments>
python train_synth.py --args <your_arguments>Note: Replace <env_name> with the name of your conda environment and <your_arguments> with the specific arguments you want to pass to the training script.