conda create -n InvEnNet
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=10.2 -c pytorch
conda install tqdm tensorboard
python train.py -c ./config/default.json
Download datasets (DICM, LIME, MEF, NPE, VV) and move them into ../datasets/
- Download the pretrained model from Google Drive and move it into
./saved/models/InvEnNet_default/
- Then run the following command:
python test.py --resume ./saved/models/InvEnNet_default/checkpoint-epoch400.pth
- Check
./saved/test
for enhanced images
Run
python train.py -c ./config/default.json