MCPcopy Create free account

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

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

Functionpresnet34
(pretrained=False, **kwargs)
fastai/vision/models/presnet.py:129
Functionpresnet50
(pretrained=False, **kwargs)
fastai/vision/models/presnet.py:132
Methodprocess
(self, ds:Collection)
fastai/data_block.py:52
Methodprocess
(self, ds)
fastai/data_block.py:344
Methodprocess
Process the inner datasets.
fastai/data_block.py:528
Methodprocess
Launch the processing on `self.x` and `self.y` with `xp` and `yp`.
fastai/data_block.py:695
Methodprocess
(self, ds:Collection)
fastai/data_block.py:760
Methodprocess
(self, ds:ItemList)
fastai/vision/data.py:332
Methodprocess
(self, ds:ItemList)
fastai/vision/data.py:375
Methodprocess
(self, ds)
fastai/tabular/data.py:57
Methodprocess
(self, ds)
fastai/text/data.py:293
Methodprocess
(self, ds)
fastai/text/data.py:307
Methodprocess
(self, ds:Collection)
fastai/text/data.py:314
Methodprocess
(self, pp: scripts_postprocessing.PostprocessedImage, is_enabled, render_factor, artistic, pre_decolorization)
scripts/postprocessing_deoldify.py:56
Functionprocess_image
(video, render_factor,process=gr.Progress())
scripts/ui_deoldify.py:17
Methodprocess_one
(self,item)
fastai/data_block.py:338
Methodprocess_one
(self,item)
fastai/data_block.py:392
Methodprocess_one
(self, item:Any)
fastai/data_block.py:753
Methodprocess_one
(self, item)
fastai/collab.py:10
Methodprocess_one
(self,item)
fastai/vision/data.py:336
Methodprocess_one
(self, item)
fastai/tabular/data.py:44
Methodprocess_one
(self, item)
fastai/text/data.py:290
Methodprocess_one
(self,item)
fastai/text/data.py:306
Methodprocess_one
(self, item, join=True)
fastai/text/data.py:454
Functionpsnr
(input:Tensor, targs:Tensor)
fastai/metrics.py:63
Methodpx
Get the tensor pixel buffer.
fastai/vision/image.py:150
Functionrand_pad
Fixed `mode` `padding` and random crop of `size`
fastai/vision/transform.py:213
Functionrand_resize_crop
Randomly resize and crop the image to a ratio in `ratios` after a zoom of `max_scale`.
fastai/vision/transform.py:343
Functionrandom_split
Randomly split `arrs` with `valid_pct` ratio. good for creating validation set.
fastai/core.py:123
Methodrandom_split_by_pct
(self, valid_pct:float=0.2, seed:int=None)
fastai/data_block.py:211
Functionrange_children
Return iterator of len of children of `m`.
fastai/torch_core.py:149
Methodread_logged_file
Read the content of saved file
fastai/callbacks/csv_logger.py:19
Functionread_metrics
(cache_path:PathOrStr, n_gpus:int, reduce:bool=True)
fastai/distributed.py:80
Methodreconstruct
(self, t:Tensor, x:Tensor=None)
fastai/data_block.py:320
Methodreconstruct
(self, t)
fastai/data_block.py:382
Methodreconstruct
(self,t)
fastai/data_block.py:444
Methodreconstruct
(self, t:Tensor)
fastai/vision/image.py:251
Methodreconstruct
(self, t:Tensor)
fastai/vision/data.py:300
Methodreconstruct
(self, t, x)
fastai/vision/data.py:361
Methodreconstruct
(self, t:Tensor)
fastai/vision/data.py:387
Methodreconstruct
(self, t, x)
fastai/vision/data.py:410
Methodreconstruct
(self, t:Tensor)
fastai/tabular/data.py:134
Functionreduce_mem_usage
iterate through all the columns of a dataframe and modify the data type to reduce memory usage.
fastai/utils/mem.py:177
Methodreduction
(self)
fastai/layers.py:230
Methodrefresh
(self)
fastai/vision/image.py:235
Methodrefresh
(self)
fastai/vision/image.py:312
Methodregistry_save
()
fastai/gen_doc/doctest.py:59
Methodrelabel
Relabel images by moving from parent dir with old label `class_old` to parent dir with new label `class_new`.
fastai/widgets/image_cleaner.py:158
Methodremove_tfm
Remove `tfm` from `self.tfms`.
fastai/basic_data.py:57
Functionreplace_all_caps
Replace tokens in ALL CAPS in `x` by their lower version and add `TK_UP` before.
fastai/text/transform.py:67
Functionreplace_link
(m)
fastai/gen_doc/nbdoc.py:165
Functionreplace_rep
Replace repetitions at the character level in `t`.
fastai/text/transform.py:42
Functionreplace_wrep
Replace word repetitions in `t`.
fastai/text/transform.py:50
Methodreport_n_reset
Print delta used+peaked, and an optional context note. Then reset counters
fastai/utils/mem.py:144
Methodreset
(self)
fastai/text/models/qrnn.py:96
Methodreset
(self)
fastai/text/models/awd_lstm.py:51
Methodreset
(self)
fastai/text/models/awd_lstm.py:155
Methodreset
(self)
fastai/text/models/transformer.py:163
Methodresize
Resize the image to `size`, size can be a single int.
fastai/vision/image.py:315
Methodrestart
(self)
fastai/callback.py:385
Methodrestore
()
scripts/postprocessing_deoldify.py:62
Functionrle_encode
Return run-length encoding string from `img`.
fastai/vision/image.py:416
Functionrm_useless_spaces
Remove multiple spaces in `t`.
fastai/text/transform.py:38
Functionrnn_reset
(self)
fastai/distributed.py:10
Methodsave
Save the `DataBunch` in `self.path/file`. `file` can be file-like (file or buffer)
fastai/basic_data.py:149
Methodsave_encoder
Save the encoder to `name` inside the model directory.
fastai/text/learner.py:57
Functionsave_texts
Save in `fname` the content of `texts`.
fastai/core.py:252
Methodschedule_hp
Adds a schedule for `name` between `vals` using `anneal`.
fastai/callbacks/general_sched.py:13
Functionse_resnet101
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:41
Functionse_resnet50
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:40
Functionse_resnext101_32x4d
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:43
Functionse_resnext50_32x4d
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:42
Methodselect_hidden
(self, idxs)
fastai/text/models/transformer.py:203
Functionsenet154
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:44
Functionseries2cat
Categorifies the columns `col_names` in `df`.
fastai/core.py:173
Functionsetup_distrib
(gpu:Any=None)
fastai/distributed.py:90
Methodshape
(self)
fastai/vision/image.py:81
Methodshape
(self)
fastai/vision/image.py:270
Methodshow
Subclass this method if you want to customize the way this `ItemBase` is shown on `ax`.
fastai/core.py:183
Methodshow
Show the `ImageSegment` on `ax`.
fastai/vision/image.py:244
Methodshow
Show the `ImagePoints` on `ax`.
fastai/vision/image.py:331
Methodshow
Show the `ImageBBox` on `ax`.
fastai/vision/image.py:383
Functionshow_all
Show all `imgs` using `r` rows
fastai/vision/image.py:623
Methodshow_batch
Show a batch of data in `ds_type` on a few `rows`.
fastai/basic_data.py:183
Functionshow_doc_from_name
Show documentation for `ft_name`, see `show_doc`.
fastai/gen_doc/nbdoc.py:197
Methodshow_intrinsic_attention
(self, text:str, class_id:int=None, **kwargs)
fastai/text/interpret.py:74
Methodshow_intrinsic_attention
(self, text:str, class_id:int=None, **kwargs)
fastai/text/models/awd_lstm.py:235
Functionshow_multi
Call `func(i,j).show(ax)` for every combination of `r,c`
fastai/vision/image.py:619
Methodshow_results
Show `rows` result of predictions on `ds_type` dataset.
fastai/basic_train.py:397
Methodshow_results
(self, ds_type=DatasetType.Valid, rows:int=5, max_len:int=20)
fastai/text/learner.py:165
Functionshow_test
Show associated tests for a fastai function/class
fastai/gen_doc/nbtest.py:20
Methodshow_top_losses
Create a tabulation showing the first `k` texts in top_losses along with their prediction, actual,loss, and probability of actual cla
fastai/text/interpret.py:78
Methodshow_top_losses
Create a tabulation showing the first `k` texts in top_losses along with their prediction, actual,loss, and probability of actual cla
fastai/text/models/awd_lstm.py:239
Functionshow_video_from_youtube
Display video from Youtube with a `code` and a `start` time.
fastai/gen_doc/nbdoc.py:265
Methodshow_xys
Show the `xs` (inputs) and `ys`(targets) on a figure of `figsize`.
fastai/vision/data.py:420
Methodshow_xys
Show the `xs` (inputs) and `ys` (targets).
fastai/tabular/data.py:137
Methodshow_xyz
show (image, true and pred) from self.ds with color mappings, optionally only plot
fastai/vision/interpret.py:53
Methodshow_xyzs
Shows `zs` (generated images) on a figure of `figsize`.
fastai/vision/gan.py:251
Methodshow_xyzs
Show `xs` (inputs), `ys` (targets) and `zs` (predictions) on a figure of `figsize`.
fastai/vision/data.py:310
Methodshow_xyzs
Show `xs` (inputs), `ys` (targets) and `zs` (predictions) on a figure of `figsize`.
fastai/vision/data.py:428
← previousnext →1,601–1,700 of 1,778, ranked by callers