-
Notifications
You must be signed in to change notification settings - Fork 0
/
___DRL-readme___.txt
26 lines (20 loc) · 1007 Bytes
/
___DRL-readme___.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
1. Ñòàâèì âåñü "ðîäèòåëüñêèé" ñîôò, êîòîðûé íàäî ðóêàìè êà÷àòü èç èíåòà:
1.1. (optional) CUDA
1.2. Python 3.7 (64-bit!!!)
1.3. PyTorch >= 0.4.0 - https://pytorch.org/get-started/locally/
* Stable
* Windows
* pip
* Python 3.7
* (CUDA?) None
None:
"C:\Python37\python.exe" -m pip install -U pip https://download.pytorch.org/whl/cpu/torch-1.0.0-cp37-cp37m-win_amd64.whl torchvision
CUDA 10:
"C:\Python37\python.exe" -m pip install -U pip https://download.pytorch.org/whl/cu100/torch-1.0.0-cp37-cp37m-win_amd64.whl torchvision
2. Çàòÿíóòü èç ãèòà esrgan, íàçâàâ ïàïêó èìåííî òàê è ïîëîæèâ å¸ â ðîäèòåëüñêóþ ïàïêó, êîòîðàÿ äîáàâëåíà â PYTHONPATH (å¸ ïîäïàïêè - ïèòîíñêèå package'è). Åñëè íàäî - ñîçäàòü òàêîâóþ è äîáàâèòü â PYTHONPATH.
3.
"C:\Python37\python.exe" -m pip install -U pip numpy opencv-python
4. Test:
"C:\Python37\python.exe" test.py models/RRDB_ESRGAN_x4.pth
"C:\Python37\python.exe" test.py models/RRDB_PSNR_x4.pth
5. Â Âèíäîâûé SendTo äîáàâèòü ÿðëûêè íà upscale_ESRGAN.py è upscale_PSNR.py