Skip to content

andrepugni/LearningToAsk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// describe the src directory structure and how to run the code train.py

Directory Structure

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

How to Run the Code

1. Create conda environment:

    conda env create --file requirements.txt

2. Activate the environment:

    conda activate <env_name>

3. Run the training script:

    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.

About

To Ask or not To Ask?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages