CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ai-forever

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: ai-forever/sber-swap
Path: blob/main/models/config_sr.py
Views: 792
1
import sys
2
3
class TestOptions(object):
4
name = 'weights'
5
results_dir = './results/'
6
gpu_ids = [0]
7
crop_size = 256
8
dataset_mode = 'test'
9
which_epoch = '10'
10
11
aspect_ratio = 1.0
12
checkpoints_dir = ''
13
14
init_type = 'xavier'
15
init_variance = 0.02
16
isTrain = False
17
is_test = True
18
semantic_nc = 3
19
20
model = 'pix2pix'
21
netG = 'lipspade'
22
nef = 16
23
ngf = 48
24
25
norm_G = 'spectralspadesyncbatch3x3'
26
num_upsampling_layers = 'normal'
27
phase = 'test'
28
use_vae = False
29
z_dim = 256
30
31