MCPcopy Create free account

hub / github.com/alex-damian/pulse / functions

Functions48 in github.com/alex-damian/pulse

↓ 12 callersMethod__init__
(self, input_size, output_size, gain=2**(0.5), use_wscale=False, lrmul=1, bias=True)
stylegan.py:16
↓ 3 callersFunctionopen_url
Download the given URL and return a binary-mode file object to access the data.
drive.py:30
↓ 2 callersMethodstep
(self, closure=None)
SphericalOptimizer.py:20
↓ 1 callersFunctionalign_face
:param filepath: str :return: list of PIL Images
shape_predictor.py:49
↓ 1 callersMethodbicubic_kernel
This equation is exactly copied from the website below: https://clouard.users.greyc.fr/Pantheon/experiments/rescaling/index-en.html#b
bicubic.py:7
↓ 1 callersMethodforward
(self, x)
stylegan.py:34
↓ 1 callersFunctionget_landmark
get landmark with dlib :return: np.array shape=(68, 2)
shape_predictor.py:32
↓ 1 callersFunctionis_url
Determine whether the given object is a valid URL string.
drive.py:14
↓ 1 callersFunctionupscale2d
(x, factor=2, gain=1)
stylegan.py:175
Method__getitem__
(self, idx)
run.py:19
Method__init__
(self, ref_im, loss_str, eps)
loss.py:5
Method__init__
(self, root_dir, duplicates)
run.py:11
Method__init__
(self, factor=4, cuda=True, padding='reflect')
bicubic.py:20
Method__init__
(self, optimizer, params, **kwargs)
SphericalOptimizer.py:13
Method__init__
(self, input_channels, output_channels, kernel_size, gain=2**(0.5), use_wscale=False, lrmul=1, bias=True,
stylegan.py:44
Method__init__
(self, channels)
stylegan.py:106
Method__init__
(self, latent_size, channels, use_wscale)
stylegan.py:125
Method__init__
(self, epsilon=1e-8)
stylegan.py:140
Method__init__
(self, kernel=[1, 2, 1], normalize=True, flip=False, stride=1)
stylegan.py:149
Method__init__
(self, factor=2, gain=1)
stylegan.py:189
Method__init__
(self, nonlinearity='lrelu', use_wscale=True)
stylegan.py:200
Method__init__
(self, avg_latent, max_layer=8, threshold=0.7)
stylegan.py:238
Method__init__
(self, channels, dlatent_size, use_wscale, use_noise, use_pixel_norm, use_instance_norm, use_styles, activatio
stylegan.py:254
Method__init__
(self, nf, dlatent_size, const_input_layer, gain, use_wscale, use_noise, use_pixel_norm, use_instance_norm, us
stylegan.py:286
Method__init__
(self, in_channels, out_channels, blur_filter, dlatent_size, gain, use_wscale, use_noise, use_pixel_norm, use_
stylegan.py:319
Method__init__
(self, # Disentangled latent (W) dimensionality. dlatent_size=512,
stylegan.py:344
Method__init__
(self, cache_dir, verbose=True)
PULSE.py:14
Method__len__
(self)
run.py:16
Method_loss_geocross
(self, latent, **kwargs)
loss.py:29
Method_loss_l1
(self, gen_im_lr, ref_im, **kwargs)
loss.py:25
Method_loss_l2
(self, gen_im_lr, ref_im, **kwargs)
loss.py:22
Methodflatcat
(self, l)
loss.py:18
Methodforward
(self, latent, gen_im)
loss.py:41
Methodforward
(self, x, nhwc=False, clip_round=False, byte_output=False)
bicubic.py:37
Methodforward
(self, x)
stylegan.py:69
Methodforward
(self, x, noise=None)
stylegan.py:111
Methodforward
(self, x, latent)
stylegan.py:131
Methodforward
(self, x)
stylegan.py:144
Methodforward
(self, x)
stylegan.py:162
Methodforward
(self, x)
stylegan.py:195
Methodforward
(self, x)
stylegan.py:232
Methodforward
(self, x)
stylegan.py:244
Methodforward
(self, x, dlatents_in_slice=None, noise_in_slice=None)
stylegan.py:274
Methodforward
(self, dlatents_in_range, noise_in_range)
stylegan.py:304
Methodforward
(self, x, dlatents_in_range, noise_in_range)
stylegan.py:335
Methodforward
(self, dlatents_in, noise_in)
stylegan.py:400
Methodforward
(self, ref_im, seed, loss_str, eps, noise_type
PULSE.py:49
Methodnf
(stage)
stylegan.py:372