MCPcopy Create free account

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

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

Methodshow_xyzs
Show `xs` (inputs), `ys` (targets) and `zs` (predictions).
fastai/tabular/data.py:154
Methodsilent
(self, silent=True)
fastai/utils/mem.py:136
Functionsimple_cnn
CNN with `conv_layer` defined by `actns`, `kernel_szs` and `strides`, plus batchnorm if `bn`.
fastai/layers.py:265
Methodsingle_ds
(self)
fastai/basic_data.py:211
Methodsingle_from_classes
Create an empty `ImageDataBunch` in `path` with `classes`. Typically used for inference.
fastai/vision/data.py:163
Methodsize
(self)
fastai/vision/image.py:272
Methodskip_validate
(self)
fastai/callback.py:326
Functionspec_add_spaces
Add spaces around / and # in `t`. \n
fastai/text/transform.py:34
Methodsplit_by_fname_file
Split the data by using the names in `fname` for the validation set. `path` will override `self.path`.
fastai/data_block.py:244
Methodsplit_from_df
Split the data from the `col` in the dataframe in `self.inner_df`.
fastai/data_block.py:250
Methodsplit_subsets
Split the items into train set with size `train_size * n` and valid set with size `valid_size * n`.
fastai/data_block.py:223
Methodstep
Set weight decay and step optimizer.
fastai/callback.py:48
Methodstep
(self, closure=None)
fastai/general_optimizer.py:97
Methodstored
(self)
fastai/callbacks/hooks.py:43
Functiontabular_learner
Get a `Learner` using `data`, with `metrics`, including a `TabularModel` created using the remaining params.
fastai/tabular/data.py:171
Functiontensor__array__
(self, dtype=None)
fastai/torch_core.py:325
Methodtest_ds
(self)
fastai/basic_data.py:217
Functiontext2html_table
Put the texts in `items` in an HTML table, `widths` are the widths of the columns in %.
fastai/core.py:332
Functiontext_classifier_learner
Create a `Learner` with a text classifier from `data` and `arch`.
fastai/text/learner.py:287
FunctiontfmerXL_clas_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/transformer.py:277
FunctiontfmerXL_lm_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/transformer.py:270
Functiontfmer_clas_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/transformer.py:255
Functiontfmer_lm_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/transformer.py:248
Functionthis_tests
(*funcs)
fastai/gen_doc/doctest.py:91
Methodthis_tests_check_off
()
fastai/gen_doc/doctest.py:52
Methodthis_tests_check_on
()
fastai/gen_doc/doctest.py:49
Methodthis_tests_check_run
(file_name, test_name)
fastai/gen_doc/doctest.py:55
Functiontitle_md
(s:str, title_level:int, markdown=True)
fastai/gen_doc/nbdoc.py:327
Methodto_csv
Save `self.to_df()` to a CSV file in `self.path`/`dest`.
fastai/data_block.py:662
Functionto_fp16
Put `learn` in FP16 precision mode.
fastai/train.py:36
Functionto_fp32
Put `learn` back to FP32 precision mode.
fastai/train.py:47
Functionto_int
Recursively convert `b` to an int or list/dict of ints; raises exception if not convertible.
fastai/core.py:88
Methodto_text
Save `self.items` to `fn` in `self.path`.
fastai/data_block.py:154
Methodtokenizer
(self, t:str)
fastai/text/transform.py:27
Functiontop_k_accuracy
Computes the Top-k accuracy (target is in the top k predictions).
fastai/metrics.py:37
Methodtop_losses
`k` largest(/smallest) losses and indexes, defaulting to all losses (sorted by `largest`).
fastai/train.py:155
Methodtrain_ds
(self)
fastai/basic_data.py:207
Functiontrain_epoch
Simple training of `model` for 1 epoch of `dl` using optim `opt` and loss function `loss_func`.
fastai/basic_train.py:72
Functiontrain_sentencepiece
Train a sentencepiece tokenizer on `texts` and save it in `path/tmp_dir`
fastai/text/data.py:418
Functiontrange_of
Create a tensor from `range_of(x)`.
fastai/torch_core.py:316
Methodtransform_y
Set `tfms` to be applied to the ys of the train and validation set.
fastai/data_block.py:507
Methodtransform_y
Set `tfms` to be applied to the targets only.
fastai/data_block.py:729
Methodui
(self)
scripts/postprocessing_deoldify.py:25
Functionunet_learner
Build Unet learner from `data` and `arch`.
fastai/vision/learner.py:109
Methodunfreeze
Unfreeze entire model.
fastai/basic_train.py:229
Functionuniform_int
Generate int or tensor `size` of ints between `low` and `high` (included).
fastai/torch_core.py:367
Methodupdate
(self, state, param, val=None, step=None)
fastai/general_optimizer.py:36
Methodupdate
(self, state, param, val=None, step=None)
fastai/general_optimizer.py:45
Methodupdate
(self, state, param, val=None, step=None)
fastai/general_optimizer.py:63
Functionupdate_nb_metadata
Creates jekyll metadata for given notebook path.
fastai/gen_doc/gen_notebooks.py:204
Functionupdate_notebooks
`source_path` can be a directory or a file. Assume all modules reside in the fastai directory.
fastai/gen_doc/gen_notebooks.py:305
Methodvalid_ds
(self)
fastai/basic_data.py:209
Methodvalidate
Validate on `dl` with potential `callbacks` and `metrics`.
fastai/basic_train.py:387
Functionverify_image
Check if the image in `file` exists, maybe resize it and copy it in `dest`.
fastai/vision/data.py:208
Methodwd
(self)
fastai/callback.py:102
Methodweight
Bias for item or user (based on `is_item`) for all in `arr`. (Set model to `cpu` and no grad.)
fastai/collab.py:89
Methodwgan
Create a WGAN from `data`, `generator` and `critic`.
fastai/vision/gan.py:225
Functionworking_directory
Change working directory to `path` and return to previous on exit.
fastai/core.py:404
Functionwrapper
(*args, **kwargs)
fastai/utils/ipython.py:38
Functionwrapper
(*args, **kwargs)
fastai/utils/mem.py:172
Methodwrite
(self)
fastai/callbacks/tensorboard.py:203
Methodwrite
Writes model histograms to Tensorboard.
fastai/callbacks/tensorboard.py:276
Methodwrite
Writes model histograms to Tensorboard.
fastai/callbacks/tensorboard.py:285
Methodwrite
Writes model gradient statistics to Tensorboard.
fastai/callbacks/tensorboard.py:348
Methodwrite
Writes model gradient statistics to Tensorboard.
fastai/callbacks/tensorboard.py:364
Methodwrite
Writes original, generated and real(target) images to Tensorboard.
fastai/callbacks/tensorboard.py:390
Methodwrite
Writes single model graph to Tensorboard.
fastai/callbacks/tensorboard.py:418
Methodwrite
Writes model graph to Tensorboard.
fastai/callbacks/tensorboard.py:424
Functionwrn_22
Wide ResNet with 22 layers.
fastai/vision/models/wrn.py:54
Functionxception
Preview version of Xception network. Not tested yet - use at own risk. No pretrained model yet.
fastai/vision/models/xception.py:40
Functionxception_cadene
(pretrained=False)
fastai/vision/models/cadene_models.py:39
Functionxresnet
(expansion, n_layers, name, pretrained=False, **kwargs)
fastai/vision/models/xresnet.py:78
Functionxresnet101
Constructs a XResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
fastai/vision/models/xresnet2.py:182
Functionxresnet152
Constructs a XResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
fastai/vision/models/xresnet2.py:193
Functionxresnet18
Constructs a XResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
fastai/vision/models/xresnet2.py:149
Functionxresnet34_2
Constructs a XResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
fastai/vision/models/xresnet2.py:160
Functionxresnet50_2
Constructs a XResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
fastai/vision/models/xresnet2.py:171
Functionzoom_crop
Randomly zoom and/or crop.
fastai/vision/transform.py:226
← previous1,701–1,778 of 1,778, ranked by callers