MCPcopy Create free account

hub / github.com/Johswald/learning_where_to_learn / functions

Functions67 in github.com/Johswald/learning_where_to_learn

↓ 14 callersFunctionget_subdict
(adict, name)
utils/utils.py:27
↓ 7 callersMethod__init__
(self, keep_prob=1.0, avg_pool=True, drop_rate=0.0, dropblock_size=5, out_features=5, wh_size
models.py:336
↓ 5 callersMethod__init__
(self, root, num_classes_per_task=None, meta_train=False, meta_val=False, meta_test=False, me
utils/cub_cars_downloader.py:166
↓ 4 callersMethod_make_layer
(self, block, planes, stride=1, drop_rate=0.0, drop_block=False, block_size=1, max_paddin
models.py:377
↓ 4 callersMethodclose
(self)
utils/cub_cars_downloader.py:245
↓ 4 callersFunctionconv_block
(in_channels, out_channels, non_lin, **kwargs)
models.py:164
↓ 3 callersMethodevaluate
(self, dataloader, num_batches, epoch, test=False,)
train.py:173
↓ 2 callersMethod_check_integrity
(self)
utils/cub_cars_downloader.py:241
↓ 2 callersMethod_check_integrity
(self)
utils/cub_cars_downloader.py:399
↓ 2 callersFunctionget_asset
(*args, dtype=None)
utils/cub_cars_downloader.py:26
↓ 2 callersMethodstep
(self, batch, evaluation=False)
train.py:35
↓ 1 callersMethod_compute_block_mask
(self, mask)
models.py:232
↓ 1 callersFunction_quota_exceeded
(response: "requests.models.Response")
utils/cub_cars_downloader.py:57
↓ 1 callersMethodaccuracy
(self,logits,targets)
train.py:29
↓ 1 callersMethodbackward
(ctx, grad_output)
models.py:24
↓ 1 callersMethoddownload
(self)
utils/cub_cars_downloader.py:251
↓ 1 callersMethoddownload
(self)
utils/cub_cars_downloader.py:409
↓ 1 callersFunctiondownload_file_from_google_drive
Download a Google Drive file from and place it in root. Args: file_id (str): id of file to be downloaded root (str): Directory to
utils/cub_cars_downloader.py:63
↓ 1 callersMethodforward
(self, x, params=None)
models.py:394
↓ 1 callersFunctionget_asset_path
(*args)
utils/cub_cars_downloader.py:20
↓ 1 callersMethodtrain
(self, dataloader, max_batches=500,epoch=None)
train.py:125
↓ 1 callersFunctiontraining_loop
(args, metalearner, meta_dataloader, )
train.py:193
Method__getitem__
(self, index)
utils/cub_cars_downloader.py:214
Method__getitem__
(self, index)
utils/cub_cars_downloader.py:311
Method__getitem__
(self, index)
utils/cub_cars_downloader.py:372
Method__getitem__
(self, index)
utils/cub_cars_downloader.py:495
Method__init__
(self, model, inner_loop_params, optimizer_theta=None, optimizer_mask=None,
train.py:18
Method__init__
(self)
models.py:16
Method__init__
(self)
models.py:28
Method__init__
(self, args, layer_names, layer_sizes, feature_size)
models.py:41
Method__init__
(self, args, weight_names, weight_shapes, mask_plus)
models.py:96
Method__init__
(self,in_channels,out_features,hidden_size=64,feature_size=64,
models.py:173
Method__init__
(self, block_size)
models.py:209
Method__init__
(self, inplanes, planes, stride=1, downsample=None, drop_rate=0.0, drop_block=False,
models.py:269
Method__init__
(self, root, meta_train=False, meta_val=False, meta_test=False, meta_split=None, transform=No
utils/cub_cars_downloader.py:188
Method__init__
(self, index, data, label, transform=None, target_transform=None)
utils/cub_cars_downloader.py:301
Method__init__
(self, root, num_classes_per_task=None, meta_train=False, meta_val=False, meta_test=False, me
utils/cub_cars_downloader.py:325
Method__init__
(self, root, meta_train=False, meta_val=False, meta_test=False, meta_split=None, transform=No
utils/cub_cars_downloader.py:346
Method__init__
(self, index, data, label, transform=None, target_transform=None)
utils/cub_cars_downloader.py:485
Method__len__
(self)
utils/cub_cars_downloader.py:308
Method__len__
(self)
utils/cub_cars_downloader.py:492
Methodbackward
(ctx, grad_output)
models.py:36
Methodclose
(self)
utils/cub_cars_downloader.py:403
Functionconfigure_matplotlib_params
Helper function to configure default matplotlib parameters. Args: fig_size: Figure size (width, height) in inches.
utils/misc.py:96
Methoddata
(self)
utils/cub_cars_downloader.py:228
Methoddata
(self)
utils/cub_cars_downloader.py:386
Methodforward
(ctx, input)
models.py:20
Methodforward
(ctx, input)
models.py:32
Methodforward
(self)
models.py:66
Methodforward
(self)
models.py:141
Methodforward
(self, inputs, params=None)
models.py:194
Methodforward
(self, x, gamma)
models.py:214
Methodforward
(self, x, params=None)
models.py:298
Functionget_colorbrewer2_colors
Helper function that returns a list of color combinations extracted from colorbrewer2.org. Args: type: the color family from colorbre
utils/misc.py:123
Functionget_default_args
Get the default values of all keyword arguments for a given function. Args: func: A function handle. Returns: (dict): Dictio
utils/misc.py:192
Functionget_parser
()
parser.py:3
Functioninit_params
Initialize the weights and biases of a linear or (transpose) conv layer. Note, the implementation is based on the method "reset_parameters()",
utils/misc.py:9
Methodlabels
(self)
utils/cub_cars_downloader.py:235
Methodlabels
(self)
utils/cub_cars_downloader.py:393
Functionlist_to_str
Convert a list of numbers into a string. Args: list_arg: List of numbers. delim (optional): Delimiter between numbers. Retur
utils/misc.py:56
Functionlist_to_str
Convert a list of numbers into a string. Args: list_arg: List of numbers. delim (optional): Delimiter between numbers. Retur
utils/utils.py:10
Functionload_data
(args)
utils/utils.py:33
Methodnum_classes
(self)
utils/cub_cars_downloader.py:224
Methodnum_classes
(self)
utils/cub_cars_downloader.py:382
Functionrepair_canvas_and_show_fig
If writing a figure to tensorboard via "add_figure" it might change the canvas, such that our backend doesn't allow to show the figure anymore.
utils/misc.py:172
Functionstr_to_act
Convert the name of an activation function into the actual PyTorch activation function. Args: act_str: Name of activation function (a
utils/misc.py:73
Functionstr_to_ints
Helper function to convert a list of comma separated strings into integers. Args: str_arg: String containing list of comma-separated
utils/misc.py:36