MCPcopy Create free account

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

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

Methodbuf
(self)
fastai/general_optimizer.py:17
Methodbuf
(self)
fastai/general_optimizer.py:33
Methodbuf
(self)
fastai/general_optimizer.py:42
Functionbunzip
bunzip `fn`, raising exception if output already exists
fastai/core.py:394
Functionbwd_forget_mult_backward
fastai/text/models/bwd_forget_mult_cuda.cpp:22
Functionbwd_forget_mult_forward
fastai/text/models/bwd_forget_mult_cuda.cpp:14
Methodc
(self)
fastai/data_block.py:366
Methodc
(self)
fastai/data_block.py:624
Functioncall_plac
Decorator to create a simple CLI from `func` using `plac`
fastai/script.py:43
Methodcb_name
(self)
fastai/basic_train.py:454
Functioncheck_perf
Suggest how to improve the setup to speed things up
fastai/utils/collect_env.py:150
Methodclear
Reset the state of the inner optimizer.
fastai/callback.py:67
Functionclip_grad
Add gradient clipping of `clip` during training.
fastai/train.py:95
Methodclone
Mimic the behavior of torch.clone for `ImagePoints` objects.
fastai/vision/image.py:265
Methodclone
Mimic the behavior of torch.clone for `Image` objects.
fastai/vision/image.py:350
Functioncollab_learner
Create a Learner for collaborative filtering on `data`.
fastai/collab.py:96
Functioncolorize_crit_learner
( data: ImageDataBunch, loss_critic=AdaptiveLoss(nn.BCEWithLogitsLoss()), nf: int = 256, )
deoldify/critics.py:36
Methodcolorize_from_url
( self, source_url, file_name: str, render_factor: int = None, post_pr
deoldify/visualize.py:354
Functioncompose_
(funcs, x, *args, **kwargs)
fastai/core.py:380
Functioncond_init
Initialize the non-batchnorm layers of `m` with `init_func`.
fastai/torch_core.py:248
Functioncont_cat_split
Helper function that returns column names of cont and cat variables from given df.
fastai/tabular/transform.py:106
Functionconvert_all
Convert modified notebooks in `folder` to html pages in `dest_path`.
fastai/gen_doc/convert2html.py:35
Methodcoord
Equivalent to `image.flow = func(image.flow, image.size)`.
fastai/vision/image.py:182
Methodcoord
Put `func` with `args` and `kwargs` in `self.flow_func` for later.
fastai/vision/image.py:297
Methodcreate
Create DeviceDataLoader from `dataset` with `bs` and `shuffle`: process using `num_workers`.
fastai/basic_data.py:78
Methodcreate
Create a `DataBunch` from `train_ds`, `valid_ds` and maybe `test_ds` with a batch size of `bs`. Passes `**dl_kwargs` to `DataLoader()`
fastai/basic_data.py:112
Methodcreate
Create a vocabulary from a set of `tokens`.
fastai/text/transform.py:148
Methodcreate
Function that transform the `datasets` in a `DataBunch` for classification. Passes `**dl_kwargs` on to `DataLoader()`
fastai/text/data.py:258
Functioncreate_cnn
(data, base_arch, **kwargs)
fastai/vision/learner.py:105
Functioncyclic_dt_features
Calculate the cos and sin of date/time cycles.
fastai/tabular/transform.py:26
Methoddata
Return this images pixels as a tensor.
fastai/vision/image.py:219
Methoddata
Return this image pixels as a `LongTensor`.
fastai/vision/image.py:240
Methoddata
Return the points associated to this object.
fastai/vision/image.py:322
Methoddata
(self)
fastai/vision/image.py:378
Methoddatabunch
Create an `DataBunch` from self, `path` will override `self.path`, `kwargs` are passed to `DataBunch.create`.
fastai/data_block.py:541
Methoddatabunch
To throw a clear error message when the data wasn't split.
fastai/data_block.py:737
Functiondeal_caps
Replace all Capitalized tokens in `x` by their lower version and add `TK_MAJ` before.
fastai/text/transform.py:75
Functiondecode_spec_tokens
(tokens)
fastai/text/learner.py:94
Functiondenormalize
Denormalize `x` with `mean` and `std`.
fastai/vision/data.py:60
Functiondeoldify_api
(_: gr.Blocks, app: FastAPI)
scripts/api.py:24
Functiondeoldify_image
( input_image: str = Body("",title="image input"), render_factor: int = Body(35,title="render
scripts/api.py:26
Functiondeoldify_tab
()
scripts/ui_deoldify.py:53
Methoddestroyed
(*args, **kwargs)
fastai/basic_train.py:294
Methoddevice
(self)
fastai/vision/image.py:276
Functiondice
Dice coefficient metric for binary target. If iou=True, returns iou metric, classic for segmentation problems.
fastai/metrics.py:53
Methoddls
Returns a list of all DeviceDataLoaders. If you need a specific DeviceDataLoader, access via the relevant property (`train_dl`, `valid_dl`, etc) as th
fastai/basic_data.py:135
Functiondo_annealing_poly
Helper function for `anneal_poly`.
fastai/callback.py:369
Functiondoc
Show `show_doc` info in preview window along with link to full docs.
fastai/gen_doc/nbdoc.py:130
Functiondoctest
Inline notebook popup for `show_test`
fastai/gen_doc/nbtest.py:25
Functiondownload_images
Download images listed in text file `urls` to path `dest`, at most `max_pics`
fastai/vision/data.py:194
Functiondpn92
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:38
Methodempty_val
(self)
fastai/basic_data.py:221
Functionerror_rate
1 - `accuracy`
fastai/metrics.py:49
Methodexport
Export the state of the `Learner` in `self.path/file`. `file` can be file-like (file or buffer)
fastai/basic_train.py:233
Methodexport
Export the minimal state of `self` for inference in `self.path/file`. `file` can be file-like (file or buffer)
fastai/basic_data.py:196
Methodexport
Export the minimal state and save it in `fn` to load an empty version for inference.
fastai/data_block.py:675
Functionextract_kwargs
Extract the keys in `names` from the `kwargs`.
fastai/core.py:156
Functionfbeta
Computes the f_beta between `preds` and `targets`
fastai/metrics.py:13
Functionfilt_sz
(recep)
fastai/vision/models/xresnet.py:49
Methodfilter
( self, orig_image: PilImage, filtered_image: PilImage, render_factor: int, post_process: bool = True)
deoldify/filters.py:81
Methodfilter
( self, orig_image: PilImage, filtered_image: PilImage, render_factor: int = None, post_process: bool
deoldify/filters.py:118
Methodfilter_by_folder
Only keep filenames in `include` folder or reject the ones in `exclude`.
fastai/data_block.py:163
Methodfilter_by_func
(self, func:Callable)
fastai/data_block.py:537
Methodfilter_by_func
(self, func:Callable)
fastai/data_block.py:714
Methodfilter_by_rand
Keep random sample of `items` with probability `p` and an optional `seed`.
fastai/data_block.py:174
Functionfind_classes
List of label subdirectories in imagenet-style `folder`.
fastai/core.py:110
Functionfit_one_cycle
Fit a model following the 1cycle policy.
fastai/train.py:14
Functionfix_html
List of replacements from html strings in `x`.
fastai/text/transform.py:58
Functionfloat_or_x
Tries to convert to float, returns x if it can't
fastai/core.py:389
Methodflow
Access the flow-field grid after applying queued affine transforms.
fastai/vision/image.py:160
Methodflow
Access the flow-field grid after applying queued affine and coord transforms.
fastai/vision/image.py:282
Functionforeground_acc
Computes non-background accuracy, e.g. camvid for multiclass segmentation
fastai/metrics.py:43
Functionforget_mult_CPU
(x:Tensor, f:Tensor, hidden_init:Optional[Tensor]=None, batch_first:bool=True, backward:bool=False)
fastai/text/models/qrnn.py:68
Functionforget_mult_backward
fastai/text/models/forget_mult_cuda.cpp:22
Functionforget_mult_forward
fastai/text/models/forget_mult_cuda.cpp:14
Methodforward
(self, input, target)
deoldify/loss.py:30
Methodforward
(self, input, target)
deoldify/loss.py:115
Methodforward
(self, x)
deoldify/unet.py:50
Methodforward
(self, up_in: Tensor)
deoldify/unet.py:84
Methodforward
(self, up_in: Tensor)
deoldify/unet.py:198
Methodforward
(self, x)
fastai/layers.py:13
Methodforward
(self, x)
fastai/layers.py:23
Methodforward
(self, x)
fastai/layers.py:28
Methodforward
(self, x)
fastai/layers.py:69
Methodforward
(self, x)
fastai/layers.py:89
Methodforward
(self, x)
fastai/layers.py:132
Methodforward
(self, x)
fastai/layers.py:152
Methodforward
(self, x)
fastai/layers.py:170
Methodforward
(self, x)
fastai/layers.py:175
Methodforward
(self, x)
fastai/layers.py:186
Methodforward
(self,x:Tensor)
fastai/layers.py:190
Methodforward
(self,x)
fastai/layers.py:218
Methodforward
(self, output, *args)
fastai/layers.py:259
Methodforward
(self, real, fake)
fastai/layers.py:263
Methodforward
(self, x)
fastai/layers.py:290
Methodforward
(self, output, target)
fastai/layers.py:299
Methodforward
(self, x)
fastai/torch_core.py:156
Methodforward
(self, users:LongTensor, items:LongTensor)
fastai/collab.py:33
Methodforward
(self, users:LongTensor, items:LongTensor)
fastai/collab.py:44
Methodforward
(self, output, target)
fastai/callbacks/mixup.py:54
← previousnext →1,201–1,300 of 1,778, ranked by callers