Team Ai
Apppublic

GoodWin/Deep-Multi-scale

sourceHugging Faceupdated 5y agoView on Hugging Face
0likes
test_options.cpython-38.pyc6 linesDownload Raw Back to __pycache__
1U

2��9_�@s ddlmZGdd�de�ZdS)�)�BaseOptionsc@seZdZdd�ZdS)�TestOptionscCs�t�||�}|jdtddd�|jdtddd�|jdtdd	d�|jd3tddd�|jd
d�|jdtddd�|jdtddd�|jdtddd�d|_|S)Nz4--dataroot�zGpath to images (should have subfolders trainA, trainB, valA, valB, etc))�type�default�helpz--phaseztrain, val, test, etcz--aspect_ratiog�?zaspect ratio of result imagesz
--which_epoch�latestz=which epoch to load? set to latest to use latest cached model�test)�modelz--test_pathz./TestData/TestWholeztest images pathz
--results_dirz./Results/TestWholeResultszsaves results here.z--upscale_factor�z7upscale factor for the whole input image (not for face)F)r�5initializeZadd_argument�str�floatZset_defaults�intZisTrain)�selfZparser�r�;/home/lxm/ExpCodes/GitDFDNet/DFDNet/options/test_options.pyrszTestOptions.initializeN)�__name__�6__module__�__qualname__rrrrrrsrN)Zbase_optionsrrrrrr�<module>s