You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code for TADRED: TAsk-DRiven Experimental Design in imaging
TADRED identifies the most informative channel-subset whilst simultaneously training a network to execute the task given the subset.
TADRED is a novel method for TAsk-DRiven experimental design in imaging. TADRED couples feature scoring and task execution in consecutive networks. The scoring and subsampling procedure enables efficient identification of subsets of complementarily informative channels jointly with training a high-performing network for the task. TADRED also gradually reduces the full set of samples stepwise to obtain the subsamples, which improves optimization.
Citation
Please consider citing our paper:
@article{
title={Experimental Design for Multi-Channel Imaging via Task-Driven Feature Selection},
author={Stefano B. Blumberg and Paddy J. Slator and Daniel C. Alexander},
journal={In: International Conference on Learning Representations (ICLR)},
year={2024}
}
First create an environment and enter it, we use Python v3.10.4. We provide two examples either using Pyenv or Conda:
Pyenv
# Pyenv documentation is [link](https://github.com/pyenv), where <INSTALL_DIR> is the directory the virtual environment is installed in.
python3.10 -m venv <INSTALL_DIR>/TADRED_env # Use compatible Python version e.g. 3.10.4.<INSTALL_DIR>/TADRED_env/bin/activate
Conda
# Conda documentation is [link](https://docs.conda.io/en/latest/), where <INSTALL_DIR> is the directory the virtual environment is installed in.
conda create -n tadred python=3.10.4
conda activate tadred
Installation Part 2: Packages and Code
Code requires: pytorch, numpy, pyyaml, hydra.
Code is tested using PyTorch v2.0.0, cuda 11.7 on the GPU.
We provide examples of installing packages, using pip,