Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZPdesu/SEAN
/ functions
Functions
252 in github.com/ZPdesu/SEAN
⨍
Functions
252
◇
Types & classes
43
↓ 1 callers
Method
init_screen
(self)
run_UI.py:76
↓ 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:100
↓ 1 callers
Function
labelcolormap
(N)
util/util.py:222
↓ 1 callers
Function
labelcolormap
(N)
util/CelebAMask-HQ/Data_preprocessing/v_mask.py:7
↓ 1 callers
Method
load_average_feature
(self)
run_UI.py:289
↓ 1 callers
Method
load_input_feature
(self)
run_UI.py:336
↓ 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
Method
plot_current_errors
(self, errors, step)
util/visualizer.py:108
↓ 1 callers
Method
preprocess_input
(self, data)
models/pix2pix_model.py:116
↓ 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
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
register_slave
Register an slave device. Args: identifier: an identifier, usually is the device id. Returns: a `SlavePipe` obj
models/networks/sync_batchnorm/comm.py:84
↓ 1 callers
Method
reparameterize
(self, mu, logvar)
models/pix2pix_model.py:261
↓ 1 callers
Method
reset_running_stats
(self)
models/networks/sync_batchnorm/batchnorm_reimpl.py:39
↓ 1 callers
Method
retranslateUi
(self, Form)
ui/ui.py:87
↓ 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
↓ 1 callers
Method
run_master
Main entry for the master device in each forward pass. The messages were first collected from each devices (including the master devi
models/networks/sync_batchnorm/comm.py:102
↓ 1 callers
Method
run_slave
(self, msg)
models/networks/sync_batchnorm/comm.py:49
↓ 1 callers
Method
save
(self, epoch)
models/pix2pix_model.py:92
↓ 1 callers
Method
save_images
(self, webpage, visuals, image_path)
util/visualizer.py:139
↓ 1 callers
Method
save_options
(self, opt)
options/base_options.py:122
↓ 1 callers
Method
save_style_codes
(self, input_semantics, real_image, obj_dic)
models/pix2pix_model.py:203
↓ 1 callers
Method
shortcut
(self, x, seg, style_codes, obj_dic)
models/networks/architecture.py:88
↓ 1 callers
Method
show_reference_image
(self, im_name)
run_UI.py:493
↓ 1 callers
Method
training_epochs
(self)
util/iter_counter.py:33
↓ 1 callers
Function
uint82bin
returns the binary of integer n, count refers to amount of bits
util/util.py:217
↓ 1 callers
Function
uint82bin
returns the binary of integer n, count refers to amount of bits
util/CelebAMask-HQ/Data_preprocessing/v_mask.py:31
↓ 1 callers
Method
update_learning_rate
(self, epoch)
trainers/pix2pix_trainer.py:56
↓ 1 callers
Method
update_options_from_file
(self, parser, opt)
options/base_options.py:135
↓ 1 callers
Method
use_style_codes
(self, input_semantics, real_image, obj_dic)
models/pix2pix_model.py:210
Method
__call__
(self, input, target_is_real, for_discriminator=True)
models/networks/loss.py:84
Method
__call__
(self, gray_image)
util/util.py:267
Method
__getitem__
(self, index)
data/pix2pix_dataset.py:57
Method
__getitem__
(self, index)
data/image_folder.py:87
Method
__getstate__
(self)
models/networks/sync_batchnorm/comm.py:78
Method
__init__
(self, opt)
run_UI.py:33
Method
__init__
(self)
data/base_dataset.py:14
Method
__init__
(self, root, transform=None, return_paths=False, loader=default_loader)
data/image_folder.py:73
Method
__init__
(self)
options/base_options.py:17
Method
__init__
(self, opt)
trainers/pix2pix_trainer.py:17
Method
__init__
(self, Parent)
ui/mouse_event.py:9
Method
__init__
(self, Parent)
ui/mouse_event.py:15
Method
__init__
(self, opt)
models/pix2pix_model.py:17
Method
__init__
(self, gpu_ids)
models/networks/loss.py:103
Method
__init__
(self)
models/networks/base_network.py:11
Method
__init__
(self, opt)
models/networks/discriminator.py:30
Method
__init__
(self, fin, fout, opt, Block_Name=None, use_rgb=True)
models/networks/architecture.py:22
Method
__init__
(self, dim, norm_layer, activation=nn.ReLU(False), kernel_size=3)
models/networks/architecture.py:104
Method
__init__
(self, input_nc, output_nc, ngf=32, n_downsampling=2, norm_layer=nn.InstanceNorm2d)
models/networks/architecture.py:157
Method
__init__
(self, opt)
models/networks/encoder.py:16
Method
__init__
(self, config_text, norm_nc, label_nc)
models/networks/normalization.py:233
Method
__init__
(self, opt)
models/networks/generator.py:25
Method
__init__
(self)
models/networks/sync_batchnorm/comm.py:21
Method
__init__
(self, num_features, eps=1e-5, momentum=0.1)
models/networks/sync_batchnorm/batchnorm_reimpl.py:27
Method
__init__
(self, num_features, eps=1e-5, momentum=0.1, affine=True)
models/networks/sync_batchnorm/batchnorm.py:41
Method
__init__
(self, opt, dataset_size)
util/iter_counter.py:13
Method
__init__
(self, web_dir, title, refresh=0)
util/html.py:13
Method
__init__
(self, opt)
util/visualizer.py:18
Method
__init__
(self, n=35)
util/util.py:263
Method
__len__
(self)
data/pix2pix_dataset.py:105
Method
__len__
(self)
data/image_folder.py:97
Method
__setstate__
(self, state)
models/networks/sync_batchnorm/comm.py:81
Method
_check_input_dim
(self, input)
models/networks/sync_batchnorm/batchnorm.py:249
Method
_check_input_dim
(self, input)
models/networks/sync_batchnorm/batchnorm.py:313
Method
_data_parallel_master
Reduce the sum and square-sum, compute the statistics, and broadcast it.
models/networks/sync_batchnorm/batchnorm.py:92
Function
add_norm_layer
(layer)
models/networks/normalization.py:28
Method
assertTensorClose
(self, x, y)
models/networks/sync_batchnorm/unittest.py:16
Method
cb_event
(self, id, ifchecked)
ui/ui.py:554
Method
change_alpha_value
(self)
run_UI.py:186
Method
change_brush_size
(self)
run_UI.py:181
Method
convert_image
(self, generated)
util/visualizer.py:163
Function
convert_model
Traverse the input module and its child recursively and replace all instance of torch.nn.modules.batchnorm.BatchNorm*N*d to Synchronized
models/networks/sync_batchnorm/batchnorm.py:320
Function
copyconf
(default_opt, **kwargs)
util/util.py:32
Function
create_dataloader
(opt)
data/__init__.py:41
Function
create_model
(opt)
models/__init__.py:39
Function
default_loader
(path)
data/image_folder.py:67
Function
define_D
(opt)
models/networks/__init__.py:55
Function
define_E
(opt)
models/networks/__init__.py:60
Function
define_G
(opt)
models/networks/__init__.py:50
Function
find_class_in_module
(target_cls_name, module)
util/util.py:180
Method
forward
(self, data, mode)
models/pix2pix_model.py:40
Method
forward
(self, x, y)
models/networks/loss.py:109
Method
forward
(self, input)
models/networks/discriminator.py:53
Method
forward
(self, input)
models/networks/discriminator.py:109
Method
forward
(self, x, seg, style_codes, obj_dic=None)
models/networks/architecture.py:68
Method
forward
(self, x)
models/networks/architecture.py:116
← previous
next →
101–200 of 252, ranked by callers