Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/SPADE
/ functions
Functions
197 in github.com/NVlabs/SPADE
⨍
Functions
197
◇
Types & classes
30
↓ 15 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
data/image_folder.py:36
↓ 9 callers
Method
save
(self)
util/html.py:57
↓ 8 callers
Method
actvn
(self, x)
models/networks/architecture.py:67
↓ 7 callers
Function
f
(a,b)
docs/b5m.js:1
↓ 6 callers
Function
find_network_using_name
(target_network_name, filename)
models/networks/__init__.py:15
↓ 5 callers
Method
add_images
(self, ims, txts, links, width=512)
util/html.py:45
↓ 4 callers
Function
isUndefined
(v)
docs/lib.js:205
↓ 4 callers
Function
j
(a)
docs/b5m.js:1
↓ 3 callers
Method
add_header
(self, str)
util/html.py:37
↓ 3 callers
Function
create_network
(cls, opt)
models/networks/__init__.py:40
↓ 3 callers
Method
generate_fake
(self, input_semantics, real_image, compute_kld_loss=False)
models/pix2pix_model.py:187
↓ 3 callers
Function
getElem
(elem)
docs/lib.js:156
↓ 3 callers
Function
get_nonspade_norm_layer
(opt, norm_type='instance')
models/networks/normalization.py:16
↓ 3 callers
Function
get_out_channel
(layer)
models/networks/normalization.py:18
↓ 3 callers
Method
modify_commandline_options
(parser, is_train)
models/networks/base_network.py:15
↓ 3 callers
Function
n
(a,b)
docs/b5m.js:1
↓ 3 callers
Function
p
(a)
docs/b5m.js:1
↓ 3 callers
Method
use_gpu
(self)
models/pix2pix_model.py:250
↓ 2 callers
Method
__init__
(self, requires_grad=False)
models/networks/architecture.py:94
↓ 2 callers
Method
convert_visuals_to_numpy
(self, visuals)
util/visualizer.py:128
↓ 2 callers
Method
discriminate
(self, input_semantics, fake_image, real_image)
models/pix2pix_model.py:205
↓ 2 callers
Method
encode_z
(self, real_image)
models/pix2pix_model.py:182
↓ 2 callers
Function
find_dataset_using_name
(dataset_name)
data/__init__.py:11
↓ 2 callers
Function
find_model_using_name
(model_name)
models/__init__.py:10
↓ 2 callers
Method
get_target_tensor
(self, input, target_is_real)
models/networks/loss.py:39
↓ 2 callers
Function
get_transform
(opt, params, method=Image.BICUBIC, normalize=True, toTensor=True)
data/base_dataset.py:47
↓ 2 callers
Method
get_zero_tensor
(self, input)
models/networks/loss.py:51
↓ 2 callers
Function
is_image_file
(filename)
data/image_folder.py:22
↓ 2 callers
Function
l
(a)
docs/b5m.js:1
↓ 2 callers
Function
link_popup
(src, features)
docs/popup.js:15
↓ 2 callers
Method
loss
(self, input, target_is_real, for_discriminator=True)
models/networks/loss.py:57
↓ 2 callers
Function
m
(b)
docs/b5m.js:1
↓ 2 callers
Function
map
(list, func)
docs/lib.js:139
↓ 2 callers
Function
mkdir
(path)
util/util.py:149
↓ 2 callers
Method
option_file_path
(self, opt, makedir=False)
options/base_options.py:115
↓ 2 callers
Method
parse
(self, save=False)
options/base_options.py:148
↓ 2 callers
Method
paths_match
(self, path1, path2)
data/pix2pix_dataset.py:52
↓ 2 callers
Function
r
(b)
docs/b5m.js:1
↓ 2 callers
Function
s
(a)
docs/b5m.js:1
↓ 2 callers
Function
tile_images
Code borrowed from https://stackoverflow.com/questions/26521365/cleanly-tile-numpy-array-of-images-stored-in-a-flattened-1d-format/26521997
util/util.py:40
↓ 1 callers
Function
__crop
(img, pos, size)
data/base_dataset.py:118
↓ 1 callers
Function
__flip
(img, flip)
data/base_dataset.py:125
↓ 1 callers
Method
__init__
(self, gan_mode, target_real_label=1.0, target_fake_label=0.0, tensor=torch.FloatTensor, opt=
models/networks/loss.py:17
↓ 1 callers
Method
__init__
(self, opt)
models/networks/discriminator.py:74
↓ 1 callers
Method
__init__
(self, opt)
models/networks/generator.py:25
↓ 1 callers
Function
__make_power_2
(img, base, method=Image.BICUBIC)
data/base_dataset.py:89
↓ 1 callers
Function
__resize
(img, w, h, method=Image.BICUBIC)
data/base_dataset.py:85
↓ 1 callers
Function
__scale_shortside
(img, target_width, method=Image.BICUBIC)
data/base_dataset.py:107
↓ 1 callers
Function
__scale_width
(img, target_width, method=Image.BICUBIC)
data/base_dataset.py:98
↓ 1 callers
Method
add_table
(self, border=1)
util/html.py:41
↓ 1 callers
Function
atoi
(text)
util/util.py:154
↓ 1 callers
Method
compute_D_input_nc
(self, opt)
models/networks/discriminator.py:102
↓ 1 callers
Method
compute_discriminator_loss
(self, input_semantics, real_image)
models/pix2pix_model.py:165
↓ 1 callers
Method
compute_generator_loss
(self, input_semantics, real_image)
models/pix2pix_model.py:132
↓ 1 callers
Method
compute_latent_vector_size
(self, opt)
models/networks/generator.py:60
↓ 1 callers
Method
create_optimizers
(self, opt)
models/pix2pix_model.py:62
↓ 1 callers
Method
create_single_discriminator
(self, opt)
models/networks/discriminator.py:38
↓ 1 callers
Function
d
()
docs/b5m.js:1
↓ 1 callers
Method
display_current_results
(self, visuals, epoch, step)
util/visualizer.py:42
↓ 1 callers
Method
divide_pred
(self, pred)
models/pix2pix_model.py:222
↓ 1 callers
Method
downsample
(self, input)
models/networks/discriminator.py:46
↓ 1 callers
Function
filter
(list, func)
docs/lib.js:146
↓ 1 callers
Function
g
(a)
docs/b5m.js:1
↓ 1 callers
Method
gather_options
(self)
options/base_options.py:72
↓ 1 callers
Method
get_edges
(self, t)
models/pix2pix_model.py:237
↓ 1 callers
Method
get_image_dir
(self)
util/html.py:34
↓ 1 callers
Method
get_latest_generated
(self)
trainers/pix2pix_trainer.py:53
↓ 1 callers
Method
get_latest_losses
(self)
trainers/pix2pix_trainer.py:50
↓ 1 callers
Function
get_params
(opt, size)
data/base_dataset.py:25
↓ 1 callers
Method
get_paths
(self, opt)
data/pix2pix_dataset.py:45
↓ 1 callers
Function
hasClass
(elem, className)
docs/lib.js:168
↓ 1 callers
Function
i
(a,b)
docs/b5m.js:1
↓ 1 callers
Method
init_weights
(self, init_type='normal', gain=0.02)
models/networks/base_network.py:28
↓ 1 callers
Method
initialize
(self, opt)
data/base_dataset.py:21
↓ 1 callers
Method
initialize
(self, parser)
options/base_options.py:20
↓ 1 callers
Method
initialize_networks
(self, opt)
models/pix2pix_model.py:90
↓ 1 callers
Function
labelcolormap
(N)
util/util.py:222
↓ 1 callers
Function
listen
(event, elem, func)
docs/lib.js:182
↓ 1 callers
Method
load_options
(self, opt)
options/base_options.py:143
↓ 1 callers
Function
make_dataset_rec
(dir, images)
data/image_folder.py:26
↓ 1 callers
Method
modify_commandline_options
(parser, is_train)
models/networks/discriminator.py:69
↓ 1 callers
Method
needs_displaying
(self)
util/iter_counter.py:73
↓ 1 callers
Method
needs_printing
(self)
util/iter_counter.py:70
↓ 1 callers
Method
needs_saving
(self)
util/iter_counter.py:67
↓ 1 callers
Function
o
(a)
docs/b5m.js:1
↓ 1 callers
Method
plot_current_errors
(self, errors, step)
util/visualizer.py:108
↓ 1 callers
Method
postprocess
(self, input_dict)
data/pix2pix_dataset.py:100
↓ 1 callers
Method
preprocess_input
(self, data)
models/pix2pix_model.py:108
↓ 1 callers
Method
print_current_errors
(self, epoch, i, errors, t)
util/visualizer.py:116
↓ 1 callers
Method
print_network
(self)
models/networks/base_network.py:18
↓ 1 callers
Method
print_options
(self, opt)
options/base_options.py:103
↓ 1 callers
Function
q
(a)
docs/b5m.js:1
↓ 1 callers
Function
raw_popup
(url, target, features)
docs/popup.js:6
↓ 1 callers
Method
record_current_iter
(self)
util/iter_counter.py:62
↓ 1 callers
Method
record_epoch_end
(self)
util/iter_counter.py:52
↓ 1 callers
Method
record_epoch_start
(self, epoch)
util/iter_counter.py:36
↓ 1 callers
Method
record_one_iteration
(self)
util/iter_counter.py:42
↓ 1 callers
Method
reparameterize
(self, mu, logvar)
models/pix2pix_model.py:245
↓ 1 callers
Method
run_discriminator_one_step
(self, data)
trainers/pix2pix_trainer.py:42
↓ 1 callers
Method
run_generator_one_step
(self, data)
trainers/pix2pix_trainer.py:33
next →
1–100 of 197, ranked by callers