(SRGAN) Super Resolution Generative Adversarial Network code 돌려보기3
본 포스트의 SRGAN code는 다음 git-hub 에서 가져와 실행해보았음을 명시합니다.
https://github.com/brade31919/SRGAN-tensorflow
brade31919/SRGAN-tensorflow
Tensorflow implementation of the SRGAN algorithm for single image super-resolution - brade31919/SRGAN-tensorflow
github.com
지금까지 준비가 되었다면,
SRGAN 폴더를 열어보자
대강 이런 모습일 것이다.
왜 대강이냐면, 많은 부분을 고치고 실험하고 폴더와 파일이 늘어났기 때문이다.
따라서 사람마다 다를 수 있다.
번외로, python code를 보기 위하여 필자는 atom이라는 프로그램을 사용하고 있다.
A hackable text editor for the 21st Century
At GitHub, we’re building the text editor we’ve always wanted: hackable to the core, but approachable on the first day without ever touching a config file. We can’t wait to see what you build with it.
atom.io
그냥 에디터 므로 실행하거나 그럴 때는 anaconda prompt에서 해야한다.
따라서 anaconda prompt를 열어보자,
그 다음 SRGAN이 있는 폴더 안으로 들어간다.
다시 윈도우 SRGAN 폴더에서 "train_SRGAN.sh"를 atom으로 열어보자.
위와 같이 나와있는데, 여기 몇 군데를 수정할 필요가 있다.
수정사항
a. 3,4번째 줄: 자기가 원하는 파일명을 만들어서 고친다. (4번째 줄의 뒷 부분 /log는 놔둔다)
b 부터는 이후에 작성하도록 하겠음..
yjmj1102@gmail.com