MCPcopy Create free account

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

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

↓ 1 callersMethodpeak_monitor_start
(self)
fastai/utils/mem.py:149
↓ 1 callersMethodpeak_monitor_start
(self)
fastai/callbacks/mem.py:21
↓ 1 callersMethodpeak_monitor_stop
(self)
fastai/utils/mem.py:157
↓ 1 callersMethodpeak_monitor_stop
(self)
fastai/callbacks/mem.py:32
↓ 1 callersFunctionplot_flat
Shortcut for `enumerate(subplots.flatten())`
fastai/vision/image.py:609
↓ 1 callersFunctionplot_multi
Call `func` for every combination of `r,c` on a subplot
fastai/vision/image.py:613
↓ 1 callersMethodplot_transformed_image
( self, path: str, results_dir:Path = None, figsize: Tuple[int, int] = (20, 20
deoldify/visualize.py:59
↓ 1 callersMethodpredict
Return predicted class, label and probabilities for `item`.
fastai/basic_train.py:372
↓ 1 callersFunctionpreload_pytorch
()
fastai/utils/mem.py:18
↓ 1 callersMethodproc_batch
Process batch `b` of `TensorImage`.
fastai/basic_data.py:67
↓ 1 callersMethodprocess
(self, ds:ItemList)
fastai/vision/data.py:396
↓ 1 callersMethodprocess
(self, ds)
fastai/text/data.py:459
↓ 1 callersMethodprocess_all
Process a list of `texts`.
fastai/text/transform.py:116
↓ 1 callersMethodprocess_image
(self, image, render_factor, artistic, pre_decolorization)
scripts/postprocessing_deoldify.py:49
↓ 1 callersMethodprocess_one
(self, item:Any)
fastai/data_block.py:51
↓ 1 callersMethodprocess_one
(self,item)
fastai/text/data.py:315
↓ 1 callersMethodprocess_text
Process one text `t` with tokenizer `tok`.
fastai/text/transform.py:103
↓ 1 callersMethodpurge
Purge the `Learner` of all cached attributes to release some GPU memory.
fastai/basic_train.py:305
↓ 1 callersFunctionpypi_module_version_is_available
Check whether module==version is available on pypi
fastai/utils/collect_env.py:129
↓ 1 callersFunctionpytest_command
Returns CLI command to run specific test function
fastai/gen_doc/nbtest.py:171
↓ 1 callersFunctionr2_score
R2 score (coefficient of determination) between `pred` and `targ`.
fastai/metrics.py:99
↓ 1 callersFunctionrand_crop
Randomized version of `crop_pad`.
fastai/vision/transform.py:222
↓ 1 callersFunctionrand_zoom
Randomized version of `zoom`.
fastai/vision/transform.py:218
↓ 1 callersMethodread_defaults
Read the values inside the optimizer for the hyper-parameters.
fastai/callback.py:110
↓ 1 callersFunctionread_nb
Read the notebook in `fname`.
fastai/gen_doc/convert2html.py:17
↓ 1 callersFunctionread_nb_content
Build a dictionary containing the position of the `cells`.
fastai/gen_doc/gen_notebooks.py:139
↓ 1 callersFunctionread_nb_types
(cells)
fastai/gen_doc/gen_notebooks.py:148
↓ 1 callersMethodreconstruct
(self, t)
fastai/data_block.py:427
↓ 1 callersMethodreconstruct
(self, t)
fastai/vision/gan.py:245
↓ 1 callersFunctionrecurse_eq
(arr1, arr2)
fastai/core.py:192
↓ 1 callersFunctionreindent
(string)
fastai/gen_doc/docstrings.py:63
↓ 1 callersMethodremove
Remove the hooks from the model.
fastai/callbacks/hooks.py:45
↓ 1 callersFunctionremove_code_cell_jupyter_widget_state_elem
(cells)
fastai/gen_doc/gen_notebooks.py:255
↓ 1 callersMethodremove_tfm
(self,tfm:Callable)
fastai/basic_data.py:146
↓ 1 callersFunctionremove_underscore
(fn_name)
fastai/gen_doc/nbtest.py:139
↓ 1 callersFunctionremove_undoc_cells
(cells)
fastai/gen_doc/gen_notebooks.py:250
↓ 1 callersMethodreset
If your convolutional window is greater than 1 and you save previous xs, you must reset at the beginning of each new sequence.
fastai/text/models/qrnn.py:148
↓ 1 callersMethodreset
Reset the internal memory.
fastai/text/models/transformer.py:191
↓ 1 callersFunctionresize_to
Size to resize to, to hit `targ_sz` at same aspect ratio, in PIL coords (i.e w*h)
fastai/vision/data.py:201
↓ 1 callersMethodrestart
(self)
fastai/callbacks/tracker.py:153
↓ 1 callersFunctionrle_decode
Return an image array from run-length encoded string `mask_rle` with `shape`.
fastai/vision/image.py:423
↓ 1 callersFunctionroc_curve
Computes the receiver operator characteristic (ROC) curve by determining the true positive ratio (TPR) and false positive ratio (FPR) for various clas
fastai/metrics.py:284
↓ 1 callersFunctionroot_mean_squared_error
Root mean squared error between `pred` and `targ`.
fastai/metrics.py:83
↓ 1 callersMethodsanity_check
Check the underlying data in the training set can be properly loaded.
fastai/basic_data.py:239
↓ 1 callersMethodsave
Save model and optimizer state (if `with_opt`) with `file` to `self.model_dir`. `file` can be file-like (file or buffer)
fastai/basic_train.py:249
↓ 1 callersMethodsave
Save `self.itos` in `path`
fastai/text/transform.py:143
↓ 1 callersMethodselect_hidden
(self, idxs)
fastai/text/models/awd_lstm.py:125
↓ 1 callersFunctionseparate_comp
(qualname:str)
fastai/gen_doc/nbtest.py:132
↓ 1 callersFunctionset_all_seed
Sets the seeds for all pseudo random generators in fastai lib
fastai/torch_core.py:347
↓ 1 callersFunctionset_bn_eval
Set bn layers in eval mode for all recursive children of `m`.
fastai/torch_core.py:220
↓ 1 callersMethodset_input
(self, input)
fastai/vision/cyclegan.py:109
↓ 1 callersMethodset_item
For inference, will briefly replace the dataset with one that only contains `item`.
fastai/data_block.py:606
↓ 1 callersMethodset_sample
Set parameters that control how we `grid_sample` the image after transforms are applied.
fastai/vision/image.py:71
↓ 1 callersFunctionshow_install
Print user's setup information
fastai/utils/collect_env.py:16
↓ 1 callersFunctionshow_piece_attn
(*args, **kwargs)
fastai/text/interpret.py:26
↓ 1 callersFunctionshow_piece_attn
(*args, **kwargs)
fastai/text/models/awd_lstm.py:193
↓ 1 callersFunctionshow_video
Display video in `url`.
fastai/gen_doc/nbdoc.py:260
↓ 1 callersMethodshow_xys
Shows `ys` (target images) on a figure of `figsize`.
fastai/vision/gan.py:247
↓ 1 callersMethodshow_xys
Show the `xs` (inputs) and `ys` (targets) on a figure of `figsize`.
fastai/vision/data.py:302
↓ 1 callersMethodshow_xys
Show the `xs` (inputs) and `ys` (targets). `max_len` is the maximum number of tokens displayed.
fastai/text/data.py:350
↓ 1 callersMethodshow_xyzs
Show `xs` (inputs), `ys` (targets) and `zs` (predictions). `max_len` is the maximum number of tokens displayed.
fastai/text/data.py:363
↓ 1 callersMethodshuffle
(self)
fastai/text/data.py:25
↓ 1 callersFunctionsigmoid_range
Sigmoid function with range `(low, high)`
fastai/layers.py:163
↓ 1 callersMethodsmoothen_by_spline
(xs, ys, **kwargs)
fastai/basic_train.py:535
↓ 1 callersMethodsort_idxs
Sorts `similarities` and return the indexes in pairs ordered by highest similarity.
fastai/widgets/image_cleaner.py:91
↓ 1 callersMethodsplit_by_files
Split the data by using the names in `valid_names` for validation.
fastai/data_block.py:239
↓ 1 callersMethodsplit_by_list
Split the data between `train` and `valid`.
fastai/data_block.py:189
↓ 1 callersFunctionsplit_model
Split `model` according to the layers in `splits`.
fastai/torch_core.py:190
↓ 1 callersFunctionsplit_model_idx
Split `model` according to the indexes in `idxs`.
fastai/torch_core.py:183
↓ 1 callersFunctionstr2func
Converts 'fastai.foo.bar' into an function 'object' if such exists
fastai/gen_doc/doctest.py:93
↓ 1 callersFunctionstringify
(s)
fastai/gen_doc/gen_notebooks.py:218
↓ 1 callersMethodthis_tests
(*funcs)
fastai/gen_doc/doctest.py:28
↓ 1 callersMethodto_df
Create `pd.DataFrame` containing `items` from `self.x` and `self.y`.
fastai/data_block.py:658
↓ 1 callersFunctionto_float
Recursively map lists of tensors in `b ` to FP16.
fastai/torch_core.py:116
↓ 1 callersFunctionto_half
Recursively map lists of tensors in `b ` to FP16.
fastai/torch_core.py:112
↓ 1 callersFunctiontotal_params
(m:nn.Module)
fastai/callbacks/hooks.py:128
↓ 1 callersMethodtransform
Set the `tfms` and `tfm_y` value to be applied to the inputs and targets.
fastai/data_block.py:719
↓ 1 callersFunctiontrunc_normal_
Truncated normal initialization.
fastai/layers.py:276
↓ 1 callersFunctiontype_repr
(t)
fastai/gen_doc/nbdoc.py:49
↓ 1 callersFunctionunet_learner_deep
Build Unet learner from `data` and `arch`.
deoldify/generators.py:114
↓ 1 callersFunctionunet_learner_wide
Build Unet learner from `data` and `arch`.
deoldify/generators.py:41
↓ 1 callersFunctionupdate_module_page
Update the documentation notebook of a given module.
fastai/gen_doc/gen_notebooks.py:262
↓ 1 callersFunctionupdate_pos
Update the `pos_dict` by moving all positions after `start_key` by `nbr`.
fastai/gen_doc/gen_notebooks.py:169
↓ 1 callersMethodupdate_stats
(self)
fastai/general_optimizer.py:129
↓ 1 callersFunctionurl2path
Change `url` to a path.
fastai/datasets.py:186
↓ 1 callersMethoduse_partial_data
Use only a sample of `sample_pct`of the full dataset and an optional `seed`.
fastai/data_block.py:147
↓ 1 callersMethodvalidate_search_input
Check if input value is empty.
fastai/widgets/image_downloader.py:53
↓ 1 callersFunctionvalue2rgba
Convert a value `x` from 0 to 1 (inclusive) to an RGBA tuple according to `cmap` times transparency `alpha_mult`.
fastai/text/interpret.py:9
↓ 1 callersFunctionvalue2rgba
Convert a value `x` from 0 to 1 (inclusive) to an RGBA tuple according to `cmap` times transparency `alpha_mult`.
fastai/text/models/awd_lstm.py:176
↓ 1 callersFunctionverify_images
Check if the images in `path` aren't broken, maybe resize them and copy it in `dest`.
fastai/vision/data.py:245
↓ 1 callersMethodwrite_csv
(self)
fastai/widgets/image_cleaner.py:209
FunctionBCEFlat
Same as `nn.BCELoss`, but flattens input and target.
fastai/layers.py:249
FunctionDataLoader___getattr__
(dl, k:str)
fastai/basic_data.py:20
FunctionDataLoader___setstate__
(dl, data:Any)
fastai/basic_data.py:23
FunctionDeOldifyImage
(image,render_factor=35,artistic=False)
app.py:39
FunctionDeoldify
(imageURL string, renderFactor int64, artistic bool)
bot/service/deoldify.go:17
FunctionDeoldifyCommandHandler
(s *discordgo.Session, i *discordgo.InteractionCreate)
bot/core/command_handlers/deoldify_command.go:98
FunctionInteractionCreate
(s *discordgo.Session, i *discordgo.InteractionCreate)
bot/core/handler.go:22
FunctionNewActionQueue
创建一个执行队列
bot/common/ActionQueue.go:28
FunctionPYBIND11_MODULE
fastai/text/models/bwd_forget_mult_cuda.cpp:28
← previousnext →701–800 of 1,778, ranked by callers