Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/barisgecer/TBGAN
/ functions
Functions
258 in github.com/barisgecer/TBGAN
⨍
Functions
258
◇
Types & classes
20
↓ 37 callers
Function
apply_bias
(x)
networks.py:53
↓ 34 callers
Function
nf
(stage)
networks.py:168
↓ 27 callers
Method
run
(self, *in_arrays, return_as_list = False, # True = return a list of NumPy arrays, False = return
tfutil.py:663
↓ 26 callers
Function
conv2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
networks.py:44
↓ 20 callers
Function
error
(msg)
dataset_tool.py:26
↓ 16 callers
Function
add_command
(cmd, desc, example=None)
dataset_tool.py:853
↓ 14 callers
Function
PN
(x)
networks.py:169
↓ 13 callers
Method
close
(self)
dataset_tool.py:49
↓ 12 callers
Function
is_tf_expression
(x)
tfutil.py:21
↓ 12 callers
Function
layer
(name, gain, w)
legacy.py:66
↓ 11 callers
Method
choose_shuffled_order
(self)
dataset_tool.py:59
↓ 11 callers
Method
find_var
(self, var_or_localname)
tfutil.py:523
↓ 10 callers
Function
absolute_name_scope
(scope)
tfutil.py:47
↓ 10 callers
Method
add_image
(self, img)
dataset_tool.py:64
↓ 10 callers
Function
run
(*args, **kwargs)
tfutil.py:18
↓ 9 callers
Method
write
(self, data)
misc.py:110
↓ 8 callers
Method
get_output_for
(self, *in_expr, return_as_list=False, **dynamic_kwargs)
tfutil.py:500
↓ 8 callers
Function
upscale2d
(x, factor=2)
networks.py:72
↓ 7 callers
Function
convert_to_pil_image
(image, drange=[0,1])
misc.py:62
↓ 7 callers
Function
downscale2d
(x, factor=2)
networks.py:98
↓ 7 callers
Method
get_minibatch_np
(self, minibatch_size, lod=0)
dataset.py:137
↓ 6 callers
Method
add_labels
(self, labels)
dataset_tool.py:137
↓ 6 callers
Function
block
(x, res)
networks.py:180
↓ 6 callers
Method
clone
(self, name=None)
tfutil.py:574
↓ 6 callers
Function
create_image_grid
(images, grid_size=None)
misc.py:45
↓ 6 callers
Function
shape_to_list
(shape)
tfutil.py:24
↓ 5 callers
Function
fp32
(*values)
loss.py:15
↓ 5 callers
Method
reset_optimizer_state
(self)
tfutil.py:373
↓ 5 callers
Function
torgb
(x, res)
networks.py:234
↓ 4 callers
Method
apply_updates
(self)
tfutil.py:302
↓ 4 callers
Method
begin
(self, mode)
metrics/ms_ssim.py:187
↓ 4 callers
Function
conv2d_downscale2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
networks.py:109
↓ 4 callers
Function
cset
(cur_lambda, new_cond, new_lambda)
networks.py:17
↓ 4 callers
Function
fromrgb
(x, res)
networks.py:307
↓ 4 callers
Method
get_metric_formatting
(self)
metrics/ms_ssim.py:184
↓ 4 callers
Function
get_weight
(shape, gain=np.sqrt(2), use_wscale=False, fan_in=None)
networks.py:22
↓ 4 callers
Method
print_layers
(self, title=None, hide_layers_with_no_params=False)
tfutil.py:755
↓ 4 callers
Method
register_gradients
(self, loss, vars)
tfutil.py:275
↓ 4 callers
Function
set_vars
(var_to_value_dict)
tfutil.py:103
↓ 4 callers
Method
setup_weight_histograms
(self, title=None)
tfutil.py:780
↓ 4 callers
Function
upscale2d_conv2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
networks.py:86
↓ 3 callers
Method
_init_fields
(self)
tfutil.py:433
↓ 3 callers
Method
_init_graph
(self)
tfutil.py:454
↓ 3 callers
Function
autosummary
(name, value)
tfutil.py:137
↓ 3 callers
Method
configure
(self, minibatch_size, lod=0)
dataset.py:124
↓ 3 callers
Function
dense
(x, fmaps, gain=np.sqrt(2), use_wscale=False)
networks.py:34
↓ 3 callers
Method
end
(self, mode)
metrics/ms_ssim.py:196
↓ 3 callers
Method
feed
(self, mode, minibatch)
metrics/ms_ssim.py:191
↓ 3 callers
Function
find_obj_in_module
(module, relative_obj_name)
tfutil.py:222
↓ 3 callers
Method
get_loss_scaling_var
(self, device)
tfutil.py:377
↓ 3 callers
Method
get_minibatch_tf
(self)
dataset.py:133
↓ 3 callers
Method
get_var_localname
(self, var_or_globalname)
tfutil.py:514
↓ 2 callers
Function
_create_autosummary_var
(name, value_expr)
tfutil.py:174
↓ 2 callers
Method
_generate_labels
(self, minibatch)
dataset.py:224
↓ 2 callers
Function
_handle_path
(path, sess)
metrics/frechet_inception_distance.py:202
↓ 2 callers
Method
add_both
(self, img)
dataset_tool.py:113
↓ 2 callers
Method
apply_loss_scaling
(self, value)
tfutil.py:386
↓ 2 callers
Function
calculate_frechet_distance
Numpy implementation of the Frechet Distance. The Frechet distance between two multivariate Gaussians X_1 ~ N(mu_1, C_1) and X_2 ~ N(mu_2, C_2
metrics/frechet_inception_distance.py:125
↓ 2 callers
Function
check_or_download_inception
Checks if the path to the inception file is valid, or downloads the file if it is not present.
metrics/frechet_inception_distance.py:184
↓ 2 callers
Method
configure
(self, minibatch_size, lod=0)
dataset.py:192
↓ 2 callers
Method
copy_vars_from
(self, src_net)
tfutil.py:587
↓ 2 callers
Function
create_inception_graph
Creates a graph from saved GraphDef file.
metrics/frechet_inception_distance.py:52
↓ 2 callers
Function
exp2
(x)
tfutil.py:35
↓ 2 callers
Method
fit
(self, *in_arrays, return_as_list = False, # True = return a list of NumPy arrays, False = return
tfutil.py:619
↓ 2 callers
Function
flatten2
(w)
legacy.py:63
↓ 2 callers
Method
flush
(self)
misc.py:116
↓ 2 callers
Function
get_activations
Calculates the activations of the pool_3 layer for all images. Params: -- images : Numpy array of dimension (n_images, hi, wi, 3). The v
metrics/frechet_inception_distance.py:88
↓ 2 callers
Function
grow
(x, res, lod)
networks.py:263
↓ 2 callers
Function
import_module
(module_or_obj_name)
tfutil.py:210
↓ 2 callers
Function
import_obj
(obj_name)
tfutil.py:228
↓ 2 callers
Function
init_uninited_vars
(vars=None)
tfutil.py:82
↓ 2 callers
Function
lerp
(a, b, t)
networks.py:15
↓ 2 callers
Function
lerp_clip
(a, b, t)
networks.py:16
↓ 2 callers
Function
load_512_ifo_dict
()
UV_manipulation_2.py:16
↓ 2 callers
Function
locate_result_subdir
(run_id_or_result_subdir)
misc.py:197
↓ 2 callers
Function
pixel_norm
(x, epsilon=1e-8)
networks.py:120
↓ 2 callers
Function
pyr_up
(minibatch)
metrics/sliced_wasserstein.py:76
↓ 2 callers
Method
reset_vars
(self)
tfutil.py:492
↓ 2 callers
Function
rot90
(v)
dataset_tool.py:545
↓ 2 callers
Method
setup_as_moving_average_of
(self, src_net, beta=0.99, beta_nontrainable=0.0)
tfutil.py:606
↓ 2 callers
Method
undo_loss_scaling
(self, value)
tfutil.py:393
↓ 1 callers
Function
_FSpecialGauss
Function to mimic the 'fspecial' gaussian MATLAB function.
metrics/ms_ssim.py:25
↓ 1 callers
Function
_HoxDownsample
(img)
metrics/ms_ssim.py:110
↓ 1 callers
Function
_SSIMForMultiScale
Return the Structural Similarity Map between `img1` and `img2`. This function attempts to match the functionality of ssim_index_new.m by Zhou
metrics/ms_ssim.py:38
↓ 1 callers
Method
__enter__
(self)
dataset_tool.py:205
↓ 1 callers
Method
__init__
(self, num_threads)
dataset_tool.py:178
↓ 1 callers
Method
_generate_images
(self, minibatch, lod, shape)
dataset.py:221
↓ 1 callers
Function
_get_inception_layer
Prepares inception net for batched usage and returns pool_3 layer.
metrics/frechet_inception_distance.py:64
↓ 1 callers
Function
_init_inception
()
metrics/inception_score.py:72
↓ 1 callers
Method
add_shape
(self, img)
dataset_tool.py:89
↓ 1 callers
Method
add_task
(self, func, args=())
dataset_tool.py:188
↓ 1 callers
Function
adjust_dynamic_range
(data, drange_in, drange_out)
misc.py:38
↓ 1 callers
Function
calculate_activation_statistics
Calculation of the statistics used by the FID. Params: -- images : Numpy array of dimension (n_images, hi, wi, 3). The values
metrics/frechet_inception_distance.py:156
↓ 1 callers
Function
calculate_fid_given_paths
Calculates the FID of two paths.
metrics/frechet_inception_distance.py:215
↓ 1 callers
Function
create_session
(config_dict=dict(), force_as_default=False)
tfutil.py:62
↓ 1 callers
Function
execute_cmdline
(argv)
dataset_tool.py:844
↓ 1 callers
Function
files_gen
(path)
myutil.py:59
↓ 1 callers
Function
finalize_autosummaries
()
tfutil.py:156
↓ 1 callers
Function
finalize_descriptors
(desc)
metrics/sliced_wasserstein.py:27
↓ 1 callers
Method
finish
(self)
dataset_tool.py:201
next →
1–100 of 258, ranked by callers