본문 바로가기
기타 정보

BasicSR Project 사용하기

by 귤이두번 2022. 2. 12.

GitHub

https://github.com/xinntao/BasicSR/blob/master/INSTALL.md

 

GitHub - xinntao/BasicSR: Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Curren

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also ...

github.com

 

다운로드

git clone https://github.com/xinntao/BasicSR

 

확인할 것

1. Requirements 설치

cd BasicSR
pip install -r requirements.txt

 

2. Git clone한 후 C++ extensions compile하기

BASICSR_EXT=True pip install basicsr

 

3. datasets폴더에 symbolic link 만들기 (바로 가기 기능)

# ln -s [data location] [link name]

# Go to datasets/REDS/ folder and make symbolic link for REDS
ln -s Dataset/REDS/train/train_sharp/ train_sharp
ln -s Dataset/REDS/train/train_sharp_bicubic/X4/ train_sharp_bicubic

 

4. 학습을 위한 yml파일 작성: 위치 options/train/

 

5. wandb 등록

wandb init

 

댓글