Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cold-Winter/BachGAN
/ functions
Functions
415 in github.com/Cold-Winter/BachGAN
⨍
Functions
415
◇
Types & classes
58
↓ 25 callers
Function
get_transform
(opt, params, method=Image.BICUBIC, normalize=True, toTensor=True)
data/base_dataset.py:47
↓ 17 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
data/image_folder.py:36
↓ 13 callers
Function
get_params
(opt, size)
data/base_dataset.py:25
↓ 13 callers
Method
save
(self)
util/html.py:57
↓ 8 callers
Method
actvn
(self, x)
models/networks/architecture.py:73
↓ 7 callers
Method
discriminate
(self, input_semantics, fake_image, real_image)
models/pix2pix_model.py:431
↓ 7 callers
Function
f
(a,b)
docs/b5m.js:1
↓ 7 callers
Method
paths_match
(self, path1, path2)
data/pix2pix_dataset.py:104
↓ 6 callers
Function
find_network_using_name
(target_network_name, filename)
models/networks/__init__.py:15
↓ 6 callers
Method
generate_fake
(self, input_semantics, real_image, compute_kld_loss=False)
models/pix2pix_model.py:398
↓ 5 callers
Function
_unsqueeze_ft
add new dimensions at the front and the tail
models/networks/sync_batchnorm/batchnorm.py:42
↓ 5 callers
Method
add_images
(self, ims, txts, links, width=512)
util/html.py:45
↓ 5 callers
Method
encode_z
(self, real_image)
models/pix2pix_model.py:393
↓ 4 callers
Method
__init__
Build pretrained InceptionV3 Parameters ---------- output_blocks : list of int Indices of blocks to return featur
pytorch-fid/inception.py:31
↓ 4 callers
Method
actvn
(self, x)
models/networks/architecture.py:146
↓ 4 callers
Function
isUndefined
(v)
docs/lib.js:205
↓ 4 callers
Function
j
(a)
docs/b5m.js:1
↓ 4 callers
Function
natural_sort
(items)
scripts/retrival_seg_ade20k.py:85
↓ 4 callers
Function
natural_sort
(items)
scripts/retrival_ious_ade20k_halfset/retrival_seg_ade20k.py:85
↓ 4 callers
Method
paths_match
(self, path1, path2)
data/cityscapes_dataset.py:581
↓ 3 callers
Method
__init__
(self, requires_grad=False)
models/networks/architecture.py:173
↓ 3 callers
Method
__init__
(self, opt)
models/networks/generator.py:27
↓ 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, input_semantics_fine,compute_kld_loss=False)
models/pix2pix_dualunpair.py:232
↓ 3 callers
Method
generate_fake
(self, input_semantics, real_image, input_semantics_fine,compute_kld_loss=False)
models/pix2pix_dual_segspademodel.py:251
↓ 3 callers
Method
generate_fake
(self, input_semantics, real_image, input_semantics_fine,compute_kld_loss=False)
models/pix2pix_dualmodel.py:232
↓ 3 callers
Method
generate_fake_memory
(self, input_semantics, real_image, retrival_label_list, compute_kld_loss=False,)
models/pix2pix_model.py:413
↓ 3 callers
Method
get
(self)
models/networks/sync_batchnorm/comm.py:32
↓ 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
Method
get_onehot_box_tensor
(self, fine_label_tensor)
data/ade20k_dataset.py:72
↓ 3 callers
Function
get_out_channel
(layer)
models/networks/normalization.py:18
↓ 3 callers
Method
get_paths
(self, opt)
data/pix2pix_dataset.py:97
↓ 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
postprocess
(self, input_dict)
data/ade20k_dataset.py:538
↓ 3 callers
Method
preprocess_input
(self, data)
models/pix2pix_model.py:172
↓ 3 callers
Function
printError
(message)
data/city_helpers/csHelpers.py:46
↓ 3 callers
Method
put
(self, result)
models/networks/sync_batchnorm/comm.py:26
↓ 3 callers
Method
use_gpu
(self)
models/pix2pix_dualunpair.py:317
↓ 3 callers
Method
use_gpu
(self)
models/pix2pix_dual_segspademodel.py:344
↓ 3 callers
Method
use_gpu
(self)
models/pix2pix_dualmodel.py:317
↓ 3 callers
Method
use_gpu
(self)
models/pix2pix_model.py:476
↓ 2 callers
Method
_check_input_dim
(self, input)
models/networks/sync_batchnorm/batchnorm.py:204
↓ 2 callers
Function
_compute_statistics_of_path
(path, model, batch_size, dims, cuda)
pytorch-fid/fid_score.py:264
↓ 2 callers
Function
_sum_ft
sum over the first and last dimention
models/networks/sync_batchnorm/batchnorm.py:37
↓ 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_dualunpair.py:257
↓ 2 callers
Method
discriminate
(self, input_semantics, fake_image, real_image)
models/pix2pix_dual_segspademodel.py:284
↓ 2 callers
Method
discriminate
(self, input_semantics, fake_image, real_image)
models/pix2pix_dualmodel.py:257
↓ 2 callers
Method
discriminate_fine
(self, input_semantics, fake_image, real_image)
models/pix2pix_dualunpair.py:272
↓ 2 callers
Method
discriminate_fine
(self, input_semantics, fake_image, real_image)
models/pix2pix_dual_segspademodel.py:299
↓ 2 callers
Method
discriminate_fine
(self, input_semantics, fake_image, real_image)
models/pix2pix_dualmodel.py:272
↓ 2 callers
Method
divide_pred
(self, pred)
models/pix2pix_dualunpair.py:289
↓ 2 callers
Method
divide_pred
(self, pred)
models/pix2pix_dual_segspademodel.py:316
↓ 2 callers
Method
divide_pred
(self, pred)
models/pix2pix_dualmodel.py:289
↓ 2 callers
Method
encode_z
(self, real_image)
models/pix2pix_dualunpair.py:227
↓ 2 callers
Method
encode_z
(self, real_image)
models/pix2pix_dual_segspademodel.py:246
↓ 2 callers
Method
encode_z
(self, real_image)
models/pix2pix_dualmodel.py:227
↓ 2 callers
Function
execute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
models/networks/sync_batchnorm/replicate.py:27
↓ 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_onehot_box_tensor
(self, ins_label_tensor)
data/cityscapes_dataset.py:85
↓ 2 callers
Method
get_target_tensor
(self, input, target_is_real)
models/networks/loss.py:39
↓ 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
is_image_file
(filename)
scripts/retrival_seg.py:28
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_seg_ade20k.py:31
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_ious_ade20k_halfset/retrival_seg_ade20k.py:31
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_ious_city_halfset/retrival_seg.py:28
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_ious_city_halfset/retrival_seg_halfset.py:29
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_ious_city/retrival_seg.py:28
↓ 2 callers
Function
is_image_file
(filename)
scripts/retrival_ious_city/retrival_seg_halfset.py:28
↓ 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
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_seg.py:42
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_seg_ade20k.py:45
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_ious_ade20k_halfset/retrival_seg_ade20k.py:45
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_ious_city_halfset/retrival_seg.py:42
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_ious_city_halfset/retrival_seg_halfset.py:43
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_ious_city/retrival_seg.py:42
↓ 2 callers
Function
make_dataset
(dir, recursive=False, read_cache=False, write_cache=False)
scripts/retrival_ious_city/retrival_seg_halfset.py:42
↓ 2 callers
Function
map
(list, func)
docs/lib.js:139
↓ 2 callers
Function
mkdir
(path)
util/util.py:157
↓ 2 callers
Function
natural_sort
(items)
scripts/retrival_seg.py:82
↓ 2 callers
Function
natural_sort
(items)
scripts/retrival_ious_city_halfset/retrival_seg.py:82
↓ 2 callers
Function
natural_sort
(items)
scripts/retrival_ious_city_halfset/retrival_seg_halfset.py:83
↓ 2 callers
Function
natural_sort
(items)
scripts/retrival_ious_city/retrival_seg.py:82
↓ 2 callers
Function
natural_sort
(items)
scripts/retrival_ious_city/retrival_seg_halfset.py:82
↓ 2 callers
Method
option_file_path
(self, opt, makedir=False)
options/base_options.py:124
↓ 2 callers
Method
parse
(self, save=False)
options/base_options.py:157
↓ 2 callers
Function
r
(b)
docs/b5m.js:1
↓ 2 callers
Method
reset_parameters
(self)
models/networks/sync_batchnorm/batchnorm_reimpl.py:43
↓ 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:121
next →
1–100 of 415, ranked by callers