MCPcopy Create free account

hub / github.com/SpenserCai/sd-webui-deoldify / functions

Functions1,778 in github.com/SpenserCai/sd-webui-deoldify

↓ 4 callersMethod__init__
(self, learn:Learner, monitor:str='valid_loss', mode:str='auto')
fastai/callbacks/tracker.py:25
↓ 4 callersMethod__init__
Build pretrained InceptionV3 Parameters ---------- output_blocks : list of int Indices of blocks to return featur
fid/inception.py:31
↓ 4 callersFunction_apply_perspective
Transform `coords` with `coeffs`.
fastai/vision/transform.py:245
↓ 4 callersMethod_grab_dataset
(self, dl:DataLoader)
fastai/basic_data.py:201
↓ 4 callersFunction_join_texts
(texts:Collection[str], mark_fields:bool=False, include_bos:bool=True, include_eos:bool=False)
fastai/text/data.py:386
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
fastai/vision/models/xresnet2.py:115
↓ 4 callersMethod_make_layer
(self, block, nf, blocks, stride=1)
fastai/vision/models/presnet.py:88
↓ 4 callersMethod_set_trainable
(self, D_A=False, D_B=False)
fastai/vision/cyclegan.py:127
↓ 4 callersMethod_split_list_val
(self, vals:Collection[float], skip_start:int, skip_end:int)
fastai/basic_train.py:600
↓ 4 callersMethod_test_writeable_path
(self)
fastai/basic_train.py:179
↓ 4 callersMethod_update_batches_if_needed
one_batch function is extremely slow with large datasets. This is caching the result as an optimization.
fastai/callbacks/tensorboard.py:44
↓ 4 callersMethod_weights
(self, avg:str)
fastai/metrics.py:186
↓ 4 callersMethodadd
(self, items:'ItemList')
fastai/data_block.py:108
↓ 4 callersMethodadd_value
Add `val` to calculate updated smoothed value.
fastai/callback.py:213
↓ 4 callersFunctioncamel2snake
Change `name` from camel to snake style.
fastai/core.py:145
↓ 4 callersFunctionchildren
Get children of `m`.
fastai/torch_core.py:141
↓ 4 callersFunctioncompose
Compose `funcs`
fastai/core.py:378
↓ 4 callersFunctionconv2d
Create and initialize `nn.Conv2d` layer. `padding` defaults to `ks//2`.
fastai/layers.py:98
↓ 4 callersFunctionconv_bn_lrelu
Create a seuence Conv2d->BatchNorm2d->LeakyReLu layer.
fastai/vision/models/darknet.py:6
↓ 4 callersFunctioncreate_body
Cut off the body of a typically pretrained `model` at `cut` (int) or cut the model as specified by `cut(model)` (function).
fastai/vision/learner.py:54
↓ 4 callersMethodcreate_from_ll
Create an `ImageDataBunch` from `LabelLists` `lls` with potential `ds_tfms`.
fastai/vision/data.py:92
↓ 4 callersFunctiondummy_eval
Pass a `dummy_batch` in evaluation mode in `m` with `size`.
fastai/callbacks/hooks.py:107
↓ 4 callersMethodempty
(self)
fastai/widgets/image_cleaner.py:186
↓ 4 callersMethodextend
(self,l)
fastai/layers.py:146
↓ 4 callersMethodfbeta_score
(self, precision, recall)
fastai/metrics.py:342
↓ 4 callersMethodget
(self, i)
fastai/vision/data.py:271
↓ 4 callersFunctionget_doc_cell
Code cell with the command to show the doc of `func_name`.
fastai/gen_doc/gen_notebooks.py:47
↓ 4 callersFunctionget_model
Return the model maybe wrapped inside `model`.
fastai/torch_core.py:383
↓ 4 callersFunctionget_module_name
(ft)
fastai/gen_doc/nbdoc.py:290
↓ 4 callersFunctiongpu_mem_get
get total, used and free memory (in MBs) for gpu `id`. if `id` is not passed, currently selected torch device is used
fastai/utils/mem.py:25
↓ 4 callersFunctiongpu_mem_get_used_no_cache
get used memory (in MBs) for the currently selected gpu id, after emptying the cache
fastai/utils/mem.py:59
↓ 4 callersFunctionimage2np
Convert from torch style `image` to numpy/matplotlib style.
fastai/vision/image.py:22
↓ 4 callersFunctionin_channels
Return the shape of the first weight layer in `m`.
fastai/torch_core.py:262
↓ 4 callersFunctionindex_row
Return the slice of `a` corresponding to `idxs`.
fastai/core.py:269
↓ 4 callersFunctioninit_default
Initialize `m` weights with `func` and set `bias` to 0.
fastai/torch_core.py:241
↓ 4 callersFunctionis_enum
(cls)
fastai/gen_doc/nbdoc.py:29
↓ 4 callersFunctionis_fastai_class
(t)
fastai/gen_doc/nbdoc.py:39
↓ 4 callersFunctionis_tuple
(x:Any)
fastai/core.py:52
↓ 4 callersMethodlabel_for_lm
A special labelling method for language models.
fastai/text/data.py:332
↓ 4 callersMethodlr_range
Build differential learning rates from `lr`.
fastai/basic_train.py:188
↓ 4 callersFunctionmodel_sizes
Pass a dummy input through the model `m` to get the various sizes of activations.
fastai/callbacks/hooks.py:113
↓ 4 callersFunctionpad_conv_norm_relu
(ch_in:int, ch_out:int, pad_mode:str, norm_layer:nn.Module, ks:int=3, bias:bool=True, p
fastai/vision/cyclegan.py:12
↓ 4 callersFunctionplot_sixel
(fig=None)
fastai/sixel.py:14
↓ 4 callersMethodrequest_write
Queues up an asynchronous write request to Tensorboard.
fastai/callbacks/tensorboard.py:218
↓ 4 callersFunctionres_block
Resnet block of `nf` features. `conv_kwargs` are passed to `conv_layer`.
fastai/layers.py:154
↓ 4 callersMethodreset
(self)
fastai/text/learner.py:255
↓ 4 callersMethodreset
Reset the hidden states.
fastai/text/models/awd_lstm.py:130
↓ 4 callersMethodsplit_by_idx
Split the data according to the indexes in `valid_idx`.
fastai/data_block.py:197
↓ 4 callersMethodtextify
Convert a list of `nums` to their tokens.
fastai/text/transform.py:132
↓ 4 callersFunctionto_detach
Recursively detach lists of tensors in `b `; put them on the CPU if `cpu=True`.
fastai/torch_core.py:96
↓ 4 callersFunctionto_device
Recursively put `b` on `device`.
fastai/torch_core.py:120
↓ 4 callersFunctiontrainable_params
Return list of trainable params in `m`.
fastai/torch_core.py:136
↓ 4 callersMethodtransform
Set `tfms` to be applied to the xs of the train and validation set.
fastai/data_block.py:498
↓ 4 callersFunctiontry_int
Try to convert `o` to int, default to `o` if not possible.
fastai/torch_core.py:375
↓ 4 callersFunctionurl2name
(url)
fastai/datasets.py:183
↓ 3 callersFunctionMSELossFlat
Same as `nn.MSELoss`, but flattens input and target.
fastai/layers.py:253
↓ 3 callersMethod__init__
(self, *args, convert_mode='RGB', after_open:Callable=None, **kwargs)
fastai/vision/data.py:261
↓ 3 callersFunction_check_kwargs
(ds:ItemList, tfms:TfmList, **kwargs)
fastai/data_block.py:586
↓ 3 callersMethod_clean_mem
(self)
deoldify/visualize.py:23
↓ 3 callersFunction_conv
(ni:int, nf:int, ks:int=3, stride:int=1, **kwargs)
fastai/vision/gan.py:257
↓ 3 callersFunction_expand_path
(fpath)
fastai/datasets.py:182
↓ 3 callersMethod_init_ds
(train_ds:Dataset, valid_ds:Dataset, test_ds:Optional[Dataset]=None)
fastai/basic_data.py:106
↓ 3 callersFunction_loss_func2activ
(loss_func)
fastai/basic_train.py:128
↓ 3 callersFunction_minus_epsilon
(row_pct:float, col_pct:float, eps:float=1e-7)
fastai/vision/transform.py:145
↓ 3 callersMethod_one_hidden
Return one hidden state.
fastai/text/models/awd_lstm.py:120
↓ 3 callersMethod_plot_image
( self, image: Image, render_factor: int, axes: Axes = None, figsize=(
deoldify/visualize.py:158
↓ 3 callersMethod_set_bufs
(self, p, stats, pg, val=None)
fastai/general_optimizer.py:124
↓ 3 callersMethod_write_images
Writes list of images as tensors to Tensorboard.
fastai/callbacks/tensorboard.py:376
↓ 3 callersMethodapply_tfms
(self, tfms:Collection, **kwargs)
fastai/data_block.py:771
↓ 3 callersFunctionbn_drop_lin
Sequence of batchnorm (if `bn`), dropout (with `p`) and linear (`n_in`,`n_out`) layers followed by `actn`.
fastai/layers.py:44
↓ 3 callersFunctionbuild_tests_markdown
(elt)
fastai/gen_doc/nbtest.py:32
↓ 3 callersFunctioncode_esc
(s)
fastai/gen_doc/nbdoc.py:47
↓ 3 callersMethodconcat
Concatenate the `arrs` along the batch dimension.
fastai/text/learner.py:251
↓ 3 callersFunctionconv
(ni,nf,ks=1,stride=1, pad=None, act=True)
fastai/vision/models/xception.py:15
↓ 3 callersFunctionconv1d
Create and initialize a `nn.Conv1d` layer with spectral normalization.
fastai/layers.py:52
↓ 3 callersFunctionconv_act
(*args, **kwargs)
fastai/vision/models/presnet.py:29
↓ 3 callersFunctionconv_norm_lr
(ch_in:int, ch_out:int, norm_layer:nn.Module=None, ks:int=3, bias:bool=True, pad:int=1, stride:int=1,
fastai/vision/cyclegan.py:52
↓ 3 callersMethodcreate
Creates a `Config` from `fpath`.
fastai/datasets.py:173
↓ 3 callersMethodcreate_classes
(self, classes)
fastai/data_block.py:330
↓ 3 callersMethodcreate_opt
Create optimizer with `lr` learning rate and `wd` weight decay.
fastai/basic_train.py:206
↓ 3 callersMethoddatabunch
To throw a clear error message when the data wasn't labeled.
fastai/data_block.py:515
↓ 3 callersFunctiondf_names_to_idx
Return the column indexes of `names` in `df`.
fastai/core.py:257
↓ 3 callersMethoddl
Returns appropriate `Dataset` for validation, training, or test (`ds_type`).
fastai/basic_data.py:125
↓ 3 callersFunctiondownload_url
Download `url` to `dest` unless it exists and not `overwrite`.
fastai/core.py:196
↓ 3 callersFunctiondropout_mask
Return a dropout mask of the same type as `x`, size `sz`, with probability `p` to cancel an element.
fastai/text/models/awd_lstm.py:13
↓ 3 callersMethodfilter
( self, orig_image: PilImage, filtered_image: PilImage, render_factor: int )
deoldify/filters.py:17
↓ 3 callersMethodfilter_by_func
Only keep elements for which `func` returns `True`.
fastai/data_block.py:158
↓ 3 callersFunctionfirst_el
Recursively get the first element of `x`.
fastai/core.py:82
↓ 3 callersMethodfrom_df
Get the filenames in `cols` of `df` with `folder` in front of them, `suffix` at the end.
fastai/vision/data.py:284
↓ 3 callersFunctionfunc_args
Return the arguments of `func`.
fastai/core.py:278
↓ 3 callersFunctionget_code_cell
Code cell containing `code` that may be `hidden`.
fastai/gen_doc/gen_notebooks.py:39
↓ 3 callersFunctionget_empty_cell
Empty cell of type `ctype`.
fastai/gen_doc/gen_notebooks.py:35
↓ 3 callersFunctionget_exports
(mod)
fastai/gen_doc/nbdoc.py:208
↓ 3 callersFunctionget_ft_names
Return all the functions of module `mod`.
fastai/gen_doc/nbdoc.py:213
↓ 3 callersFunctionget_image_colorizer
( root_folder: Path = Path('./'), render_factor: int = 35, artistic: bool = True )
deoldify/visualize.py:420
↓ 3 callersFunctionget_image_files
Return list of files in `c` that are images. `check_ext` will filter to `image_extensions`.
fastai/vision/data.py:20
↓ 3 callersMethodget_monitor_value
Pick the monitored value.
fastai/callbacks/tracker.py:39
↓ 3 callersMethodget_path
Get the `path` in the config file.
fastai/datasets.py:145
↓ 3 callersMethodget_transformed_image_from_image
( self, image: Image, render_factor: int = None, post_process: bool = True, )
deoldify/visualize.py:147
↓ 3 callersFunctionhook_output
Return a `Hook` that stores activations of `module` in `self.stored`
fastai/callbacks/hooks.py:54
← previousnext →101–200 of 1,778, ranked by callers