SRdarts is an implementation of DARTS on Super-Resolution Task, we use DARTS as the method baseline.
Our code is built on EDSR and Meta-SR-Pytorch.
Clone the repository into your place and let's get started!
git clone https://github.com/GeniusGaryant/SRdarts.git
cd SRdarts
We use DIV2K dataset as our train/valid dataset during the search.
For the test dataset, we use widely-used benchmark datasets as follows:
-
Python 3.6
-
PyTorch 1.1 from a nightly release. Installation instructions can be found in PyTorch.
-
torchvision
-
cuda9.0
-
numpy
-
scikit-image
-
imageio
-
matplotlib
-
tb-nightly
-
future
# first, make sure that your conda is setup properly with the right environment
# for that, check that `which conda`, `which pip` and `which python` points to the
# right path. From a clean conda env, this is what you need to do
conda create -n srdarts python=3.6
source activate srdarts
# install torchvision and pytorch1.1
pip install numpy torchvision_nightly
pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html
conda install scikit-image
conda install imageio
# install tb-nightly for tensorboard part
pip install tb-nightly
pip install future
Any pull requests or issues are welcome. The repository is still updating.
For academic use, this project is licensed under the 2-clause BSD License - see the LICENSE file for details. For commercial use, please contact the authors.