MCPcopy Create free account

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

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

↓ 1 callersFunctionget_enum_doc
Formatted enum documentation.
fastai/gen_doc/nbdoc.py:91
↓ 1 callersFunctionget_env
Return env var value if it's defined and not an empty string, or return Unknown
fastai/utils/collect_env.py:11
↓ 1 callersFunctionget_file
(elt)
fastai/gen_doc/nbtest.py:95
↓ 1 callersFunctionget_function_source
Returns link to `ft` in source code.
fastai/gen_doc/nbdoc.py:320
↓ 1 callersFunctionget_insert_idx
Return the position to insert a given function doc in a notebook.
fastai/gen_doc/gen_notebooks.py:162
↓ 1 callersMethodget_key
Get the path to `key` in the config file.
fastai/datasets.py:140
↓ 1 callersFunctionget_language_model
Create a language model from `arch` and its `config`, maybe `pretrained`.
fastai/text/learner.py:187
↓ 1 callersFunctionget_lines
(file)
fastai/gen_doc/doctest.py:132
↓ 1 callersFunctionget_lines
(file:Path)
fastai/gen_doc/nbtest.py:159
↓ 1 callersMethodget_list_from_model
Factory method to convert a batch of model images to a list of ModelImageSet.
fastai/callbacks/tensorboard.py:250
↓ 1 callersFunctionget_master
Return two lists, one for the model parameters in FP16 and one for the master parameters in FP32.
fastai/callbacks/fp16.py:10
↓ 1 callersFunctionget_module_from_notebook
Find module given a source path. Assume it belongs to fastai directory
fastai/gen_doc/gen_notebooks.py:297
↓ 1 callersFunctionget_module_names
(path_dir, exclude=None)
fastai/gen_doc/gen_notebooks.py:121
↓ 1 callersMethodget_old
(self)
fastai/callbacks/mixup.py:63
↓ 1 callersMethodget_preds
Return predictions and targets on `ds_type` dataset.
fastai/basic_train.py:335
↓ 1 callersMethodget_processors
Read the default class processors if none have been set.
fastai/data_block.py:521
↓ 1 callersFunctionget_pytest_card
creates a collapsible bootstrap card for `show_test`
fastai/gen_doc/nbtest.py:62
↓ 1 callersFunctionget_pytest_html
(elt, anchor_id:str)
fastai/gen_doc/nbtest.py:55
↓ 1 callersFunctionget_pytorch_link
Returns link to pytorch docs of `ft`.
fastai/gen_doc/nbdoc.py:292
↓ 1 callersFunctionget_ref_free_exc_info
Free traceback from references to locals() in each frame to avoid circular reference leading to gc.collect() unable to reclaim memory
fastai/utils/ipython.py:29
↓ 1 callersMethodget_similars_idxs
Gets the indices for the most similar images in `ds_type` dataset
fastai/widgets/image_cleaner.py:42
↓ 1 callersMethodget_sizes
(self, layers, out_sz)
fastai/tabular/models.py:29
↓ 1 callersFunctionget_stable_image_colorizer
( root_folder: Path = Path('./'), weights_name: str = 'ColorizeStable_gen', results_dir='result_im
deoldify/visualize.py:429
↓ 1 callersMethodget_state
Return the minimal state for export.
fastai/data_block.py:666
↓ 1 callersFunctionget_tests_dir
Absolute path of `fastai/tests` directory
fastai/gen_doc/nbtest.py:89
↓ 1 callersFunctionget_text_classifier
Create a text classifier from `arch` and its `config`, maybe `pretrained`.
fastai/text/learner.py:270
↓ 1 callersFunctionget_top_level_modules
(num_levels=1)
fastai/gen_doc/gen_notebooks.py:231
↓ 1 callersMethodget_toplosses_idxs
Sorts `ds_type` dataset by top losses and returns dataset and sorted indices.
fastai/widgets/image_cleaner.py:23
↓ 1 callersFunctionget_transforms
Utility func to easily create a list of flip, rotate, `zoom`, warp, lighting transforms.
fastai/vision/transform.py:304
↓ 1 callersMethodget_widgets
Create and format widget set.
fastai/widgets/image_cleaner.py:189
↓ 1 callersFunctiongpu_mem_get_all
get total, used and free memory (in MBs) for each available gpu
fastai/utils/mem.py:36
↓ 1 callersFunctiongrad_overflow
(param_group)
fastai/callbacks/fp16.py:56
↓ 1 callersFunctionhas_metadata_cell
(cells, fn)
fastai/gen_doc/gen_notebooks.py:214
↓ 1 callersFunctionhas_pool_type
(m)
fastai/vision/learner.py:48
↓ 1 callersFunctionhook_params
(modules:Collection[nn.Module])
fastai/callbacks/hooks.py:136
↓ 1 callersFunctionimage_to_base64
(image_path)
app.py:25
↓ 1 callersFunctioninit_cnn
(m)
fastai/vision/models/xresnet.py:15
↓ 1 callersFunctioninit_cnn
(m)
fastai/vision/models/presnet.py:12
↓ 1 callersMethodinit_stats
(self)
fastai/general_optimizer.py:115
↓ 1 callersMethodis_gpu
Returns `True` if the current device is GPU, `False` otherwise.
deoldify/_device.py:14
↓ 1 callersFunctionis_in_colab
Is the code running in Google Colaboratory?
fastai/utils/ipython.py:19
↓ 1 callersFunctionis_in_ipython
Is the code running in the ipython environment (jupyter including)
fastai/utils/ipython.py:5
↓ 1 callersFunctionis_pool_type
(l:Callable)
fastai/torch_core.py:64
↓ 1 callersFunctionjoin_path
Return `Path(path)/Path(fname)`, `path` defaults to current dir.
fastai/core.py:238
↓ 1 callersMethodjump_to_epoch
To resume training at `epoch` directly.
fastai/callback.py:192
↓ 1 callersFunctionk2a
(k, v)
fastai/gen_doc/doctest.py:82
↓ 1 callersMethodlargest_indices
Returns the `n` largest indices from a numpy array `arr`.
fastai/widgets/image_cleaner.py:82
↓ 1 callersFunctionlayers_info
(m:Collection[nn.Module])
fastai/callbacks/hooks.py:161
↓ 1 callersFunctionlink_nb
(nb_path)
fastai/gen_doc/gen_notebooks.py:290
↓ 1 callersMethodload_empty
Load the state in `fn` to create an empty `LabelList` for inference.
fastai/data_block.py:680
↓ 1 callersFunctionload_image_resized
(fn, sz)
fid/fid_score.py:83
↓ 1 callersMethodload_with_state_and_layer_group
(cls, state:dict, layer_groups:Collection[nn.Module])
fastai/callback.py:152
↓ 1 callersFunctionlogit_
Inplace logit of `x`, clamped to avoid inf
fastai/torch_core.py:342
↓ 1 callersFunctionlookup_db
Finds `this_test` entries from test_registry.json
fastai/gen_doc/nbtest.py:71
↓ 1 callersMethodmake_dropdown_widget
Return a Dropdown widget with specified `handler`.
fastai/widgets/image_cleaner.py:128
↓ 1 callersMethodmake_group_layer
starts with conv layer - `ch_in` channels in - then has `num_blocks` `ResLayer`
fastai/vision/models/darknet.py:23
↓ 1 callersMethodmake_horizontal_box
Make a horizontal box with `children` and `layout`.
fastai/widgets/image_cleaner.py:137
↓ 1 callersMethodmake_img_widget
Returns an image widget for specified file name `img`.
fastai/widgets/image_cleaner.py:113
↓ 1 callersMethodmake_vertical_box
Make a vertical box with `children` and `layout`.
fastai/widgets/image_cleaner.py:142
↓ 1 callersFunctionmap_test
Creates dictionary test format to match doctest api
fastai/gen_doc/nbtest.py:162
↓ 1 callersFunctionmasked_concat_pool
Pool MultiBatchEncoder outputs into one vector [last_hidden, max_pool, avg_pool].
fastai/text/learner.py:221
↓ 1 callersFunctionmaster2model
Copy `master_params` to `model_params`.
fastai/callbacks/fp16.py:45
↓ 1 callersFunctionmd2html
(md)
fastai/gen_doc/nbdoc.py:126
↓ 1 callersFunctionmean_squared_error
Mean squared error between `pred` and `targ`.
fastai/metrics.py:78
↓ 1 callersFunctionmerge_lists
(a, b)
fastai/gen_doc/doctest.py:84
↓ 1 callersFunctionmerge_registries
(a, b)
fastai/gen_doc/doctest.py:87
↓ 1 callersFunctionmiddle_flow
(nf)
fastai/vision/models/xception.py:36
↓ 1 callersFunctionmodel2half
Convert `model` to half precision except the batchnorm layers.
fastai/torch_core.py:237
↓ 1 callersFunctionmodel_g2master_g
Copy the `model_params` gradients to `master_params` for the optimizer step.
fastai/callbacks/fp16.py:30
↓ 1 callersMethodmodel_path
Get the path to fastai pretrained models in the config file.
fastai/datasets.py:160
↓ 1 callersFunctionmodel_type
Return the torch type corresponding to `dtype`.
fastai/torch_core.py:296
↓ 1 callersMethodmost_confused
Sorted descending list of largest non-diagonal entries of confusion matrix, presented as actual, predicted, number of occurrences.
fastai/train.py:208
↓ 1 callersMethodnew
(self, x, y, tfms=None, tfm_y=None, **kwargs)
fastai/data_block.py:626
↓ 1 callersMethodnew
Create a new `ItemList` from `items`, keeping the same attributes.
fastai/data_block.py:789
↓ 1 callersMethodnew_with_params
Create a new `OptimWrapper` from `self` with another `layer_groups` but the same hyper-parameters.
fastai/callback.py:36
↓ 1 callersMethodnext_batch
Handler for 'Next Batch' button click. Delete all flagged images and renders next batch.
fastai/widgets/image_cleaner.py:165
↓ 1 callersFunctionnum_cpus
Get number of cpus
fastai/core.py:43
↓ 1 callersFunctionnum_features_model
Return the number of output features for `model`.
fastai/callbacks/hooks.py:119
↓ 1 callersMethodnumericalize
Convert a list of tokens `t` to their ids.
fastai/text/transform.py:128
↓ 1 callersMethodon_backward_begin
Record the loss before any other callback has a chance to modify it.
fastai/basic_train.py:485
↓ 1 callersMethodon_backward_end
Called after backprop but before optimizer step. Useful for true weight decay in AdamW.
fastai/callback.py:177
↓ 1 callersMethodon_batch_begin
Record learning rate and momentum at beginning of batch.
fastai/basic_train.py:479
↓ 1 callersMethodon_batch_end
Handle end of processing one batch with `loss`.
fastai/callback.py:305
↓ 1 callersMethodon_batch_end
(self, last_output:Tensor, last_target:Tensor, **kwargs)
fastai/metrics.py:307
↓ 1 callersMethodon_batch_end
Take a step in lr,mom sched, start next stepper when the current one is complete.
fastai/callbacks/general_sched.py:40
↓ 1 callersMethodon_batch_end
Callback function that writes batch end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:159
↓ 1 callersMethodon_batch_end
Take one step forward on the annealing schedule for the optim params.
fastai/callbacks/one_cycle.py:45
↓ 1 callersMethodon_loss_begin
Called after forward pass but before loss has been computed.
fastai/callback.py:171
↓ 1 callersMethodon_step
(self, p, group, group_idx)
fastai/general_optimizer.py:103
↓ 1 callersMethodon_step_end
Called after the step of the optimizer but before the gradients are zeroed.
fastai/callback.py:180
↓ 1 callersMethodon_train_begin
About to start learning.
fastai/callback.py:260
↓ 1 callersMethodon_train_begin
Register the `Hooks` on `self.modules`.
fastai/callbacks/hooks.py:68
↓ 1 callersMethodon_train_end
Handle end of training, `exception` is an `Exception` or False if no exceptions during training.
fastai/callback.py:321
↓ 1 callersMethodon_train_end
Remove the `Hooks`.
fastai/callbacks/hooks.py:75
↓ 1 callersFunctionone_hot
One-hot encode `x` with `c` classes.
fastai/core.py:263
↓ 1 callersFunctionopen_mask
Return `ImageSegment` object create from mask in file `fn`. If `div`, divides pixel values by 255.
fastai/vision/image.py:406
↓ 1 callersFunctionopen_text
Read the text in `fn`.
fastai/text/data.py:274
↓ 1 callersFunctionparams_size
Pass a dummy input through the model to get the various sizes. Returns (res,x,hooks) if `full`
fastai/callbacks/hooks.py:139
↓ 1 callersFunctionpartial_repr
(t)
fastai/gen_doc/nbdoc.py:61
↓ 1 callersFunctionpartition
Split iterables `a` in equal parts of size `sz`
fastai/core.py:165
← previousnext →601–700 of 1,778, ranked by callers