Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlexiaJM/MaximumMarginGANs
/ functions
Functions
52 in github.com/AlexiaJM/MaximumMarginGANs
⨍
Functions
52
◇
Types & classes
10
↓ 10 callers
Method
__init__
(self)
Code/GAN.py:283
↓ 2 callers
Function
_get_inception_layer
Prepares inception net for batched usage and returns pool_3 layer.
Code/fid_new.py:46
↓ 2 callers
Function
_handle_path
(path, sess, low_profile=False)
Code/fid_new.py:278
↓ 2 callers
Function
_handle_path
(path, sess)
Code/fid.py:208
↓ 2 callers
Function
register_creator
In the forward pass, our Function.__call__ and BatchNorm.forward_hook both call this method to register the creators inputs: list of input
Code/pytorch_visualize.py:32
↓ 2 callers
Function
size_to_str
(size)
Code/pytorch_visualize.py:154
↓ 2 callers
Function
sizestr
(var)
Code/pytorch_visualize.py:101
↓ 1 callers
Function
_get_inception_layer
Prepares inception net for batched usage and returns pool_3 layer.
Code/fid.py:49
↓ 1 callers
Function
add_nodes
(var)
Code/pytorch_visualize.py:157
↓ 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
Code/fid_new.py:159
↓ 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
Code/fid.py:162
↓ 1 callers
Function
calculate_activation_statistics_from_files
Calculation of the statistics used by the FID. Params: -- files : list of paths to image files. Images need to have same dimensions for a
Code/fid_new.py:232
↓ 1 callers
Function
calculate_fid_given_paths
Calculates the FID of two paths.
Code/fid_new.py:295
↓ 1 callers
Function
calculate_fid_given_paths
Calculates the FID of two paths.
Code/fid.py:221
↓ 1 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
Code/fid_new.py:104
↓ 1 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
Code/fid.py:107
↓ 1 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.
Code/fid_new.py:260
↓ 1 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.
Code/fid.py:190
↓ 1 callers
Function
create_inception_graph
Creates a graph from saved GraphDef file.
Code/fid_new.py:34
↓ 1 callers
Function
create_inception_graph
Creates a graph from saved GraphDef file.
Code/fid.py:36
↓ 1 callers
Function
describePositive
()
Code/preprocess_cat_dataset.py:82
↓ 1 callers
Function
generate_random_sample
(size=param.batch_size)
Code/GAN.py:253
↓ 1 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
Code/fid_new.py:67
↓ 1 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
Code/fid.py:70
↓ 1 callers
Function
get_activations_from_files
Calculates the activations of the pool_3 layer for all images. Params: -- files : list of paths to image files. Images need to have same
Code/fid_new.py:197
↓ 1 callers
Function
load_image_batch
Convenience method for batch-loading images Params: -- files : list of paths to image files. Images need to have same dimensions for all fi
Code/fid_new.py:188
↓ 1 callers
Function
main
()
Code/preprocess_cat_dataset.py:125
↓ 1 callers
Function
preprocessCatFace
(coords, image)
Code/preprocess_cat_dataset.py:29
↓ 1 callers
Function
remove_vis_hooks
()
Code/pytorch_visualize.py:92
↓ 1 callers
Function
rotateCoords
(coords, center, angleRadians)
Code/preprocess_cat_dataset.py:9
Method
__init__
(self)
Code/GAN.py:264
Method
__init__
(self)
Code/GAN.py:332
Method
__init__
(self, n_input, n_output, k_size)
Code/GAN.py:557
Method
__init__
(self, n_input, n_output, k_size)
Code/GAN.py:567
Method
__init__
(self, n_input, n_output, k_size)
Code/GAN.py:577
Method
__init__
(self, n_input, n_output, k_size, resample='up', bn=True, spatial_dim=None)
Code/GAN.py:590
Method
__init__
(self, n_output)
Code/GAN.py:629
Method
forward
(self, x)
Code/GAN.py:267
Method
forward
(self, input)
Code/GAN.py:323
Method
forward
(self, input)
Code/GAN.py:405
Method
forward
(self, x)
Code/GAN.py:561
Method
forward
(self, x)
Code/GAN.py:571
Method
forward
(self, x)
Code/GAN.py:584
Method
forward
(self, x)
Code/GAN.py:622
Method
forward
(self, x)
Code/GAN.py:642
Function
hook_func
(module, inputs, output)
Code/pytorch_visualize.py:69
Function
make_dot
Produces Graphviz representation of PyTorch autograd graph Blue nodes are the Variables that require grad, orange are Tensors saved f
Code/pytorch_visualize.py:131
Function
new_function__call__
(self, *args, **kwargs)
Code/pytorch_visualize.py:82
Function
register_vis_hooks
(model)
Code/pytorch_visualize.py:60
Function
save_visualization
(name, format='svg')
Code/pytorch_visualize.py:99
Function
strToBool
(str)
Code/GAN.py:14
Function
weights_init
(m)
Code/GAN.py:697