Learn how to train SRGAN on Custom dataset
Open anaconda prompt and cd to the folder where you have your environment.yml file
conda env create -f environment.yml
conda activate srganenv_gpu
Now Install Pytorch as per your resources
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch
conda install pytorch-cpu==1.1.0 torchvision-cpu==0.3.0 cpuonly -c pytorch
!python main.py --LR_path custom_dataset_cars/hr_train_LR --GT_path custom_dataset_cars/hr_train_HR
!python main.py --mode test_only --LR_path test_data/cars --generator_path ./model/srgan_custom.pt