Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpenserCai/sd-webui-deoldify
/ functions
Functions
1,778 in github.com/SpenserCai/sd-webui-deoldify
⨍
Functions
1,778
◇
Types & classes
284
↳
Endpoints
1
↓ 1 callers
Function
get_enum_doc
Formatted enum documentation.
fastai/gen_doc/nbdoc.py:91
↓ 1 callers
Function
get_env
Return env var value if it's defined and not an empty string, or return Unknown
fastai/utils/collect_env.py:11
↓ 1 callers
Function
get_file
(elt)
fastai/gen_doc/nbtest.py:95
↓ 1 callers
Function
get_function_source
Returns link to `ft` in source code.
fastai/gen_doc/nbdoc.py:320
↓ 1 callers
Function
get_insert_idx
Return the position to insert a given function doc in a notebook.
fastai/gen_doc/gen_notebooks.py:162
↓ 1 callers
Method
get_key
Get the path to `key` in the config file.
fastai/datasets.py:140
↓ 1 callers
Function
get_language_model
Create a language model from `arch` and its `config`, maybe `pretrained`.
fastai/text/learner.py:187
↓ 1 callers
Function
get_lines
(file)
fastai/gen_doc/doctest.py:132
↓ 1 callers
Function
get_lines
(file:Path)
fastai/gen_doc/nbtest.py:159
↓ 1 callers
Method
get_list_from_model
Factory method to convert a batch of model images to a list of ModelImageSet.
fastai/callbacks/tensorboard.py:250
↓ 1 callers
Function
get_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 callers
Function
get_module_from_notebook
Find module given a source path. Assume it belongs to fastai directory
fastai/gen_doc/gen_notebooks.py:297
↓ 1 callers
Function
get_module_names
(path_dir, exclude=None)
fastai/gen_doc/gen_notebooks.py:121
↓ 1 callers
Method
get_old
(self)
fastai/callbacks/mixup.py:63
↓ 1 callers
Method
get_preds
Return predictions and targets on `ds_type` dataset.
fastai/basic_train.py:335
↓ 1 callers
Method
get_processors
Read the default class processors if none have been set.
fastai/data_block.py:521
↓ 1 callers
Function
get_pytest_card
creates a collapsible bootstrap card for `show_test`
fastai/gen_doc/nbtest.py:62
↓ 1 callers
Function
get_pytest_html
(elt, anchor_id:str)
fastai/gen_doc/nbtest.py:55
↓ 1 callers
Function
get_pytorch_link
Returns link to pytorch docs of `ft`.
fastai/gen_doc/nbdoc.py:292
↓ 1 callers
Function
get_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 callers
Method
get_similars_idxs
Gets the indices for the most similar images in `ds_type` dataset
fastai/widgets/image_cleaner.py:42
↓ 1 callers
Method
get_sizes
(self, layers, out_sz)
fastai/tabular/models.py:29
↓ 1 callers
Function
get_stable_image_colorizer
( root_folder: Path = Path('./'), weights_name: str = 'ColorizeStable_gen', results_dir='result_im
deoldify/visualize.py:429
↓ 1 callers
Method
get_state
Return the minimal state for export.
fastai/data_block.py:666
↓ 1 callers
Function
get_tests_dir
Absolute path of `fastai/tests` directory
fastai/gen_doc/nbtest.py:89
↓ 1 callers
Function
get_text_classifier
Create a text classifier from `arch` and its `config`, maybe `pretrained`.
fastai/text/learner.py:270
↓ 1 callers
Function
get_top_level_modules
(num_levels=1)
fastai/gen_doc/gen_notebooks.py:231
↓ 1 callers
Method
get_toplosses_idxs
Sorts `ds_type` dataset by top losses and returns dataset and sorted indices.
fastai/widgets/image_cleaner.py:23
↓ 1 callers
Function
get_transforms
Utility func to easily create a list of flip, rotate, `zoom`, warp, lighting transforms.
fastai/vision/transform.py:304
↓ 1 callers
Method
get_widgets
Create and format widget set.
fastai/widgets/image_cleaner.py:189
↓ 1 callers
Function
gpu_mem_get_all
get total, used and free memory (in MBs) for each available gpu
fastai/utils/mem.py:36
↓ 1 callers
Function
grad_overflow
(param_group)
fastai/callbacks/fp16.py:56
↓ 1 callers
Function
has_metadata_cell
(cells, fn)
fastai/gen_doc/gen_notebooks.py:214
↓ 1 callers
Function
has_pool_type
(m)
fastai/vision/learner.py:48
↓ 1 callers
Function
hook_params
(modules:Collection[nn.Module])
fastai/callbacks/hooks.py:136
↓ 1 callers
Function
image_to_base64
(image_path)
app.py:25
↓ 1 callers
Function
init_cnn
(m)
fastai/vision/models/xresnet.py:15
↓ 1 callers
Function
init_cnn
(m)
fastai/vision/models/presnet.py:12
↓ 1 callers
Method
init_stats
(self)
fastai/general_optimizer.py:115
↓ 1 callers
Method
is_gpu
Returns `True` if the current device is GPU, `False` otherwise.
deoldify/_device.py:14
↓ 1 callers
Function
is_in_colab
Is the code running in Google Colaboratory?
fastai/utils/ipython.py:19
↓ 1 callers
Function
is_in_ipython
Is the code running in the ipython environment (jupyter including)
fastai/utils/ipython.py:5
↓ 1 callers
Function
is_pool_type
(l:Callable)
fastai/torch_core.py:64
↓ 1 callers
Function
join_path
Return `Path(path)/Path(fname)`, `path` defaults to current dir.
fastai/core.py:238
↓ 1 callers
Method
jump_to_epoch
To resume training at `epoch` directly.
fastai/callback.py:192
↓ 1 callers
Function
k2a
(k, v)
fastai/gen_doc/doctest.py:82
↓ 1 callers
Method
largest_indices
Returns the `n` largest indices from a numpy array `arr`.
fastai/widgets/image_cleaner.py:82
↓ 1 callers
Function
layers_info
(m:Collection[nn.Module])
fastai/callbacks/hooks.py:161
↓ 1 callers
Function
link_nb
(nb_path)
fastai/gen_doc/gen_notebooks.py:290
↓ 1 callers
Method
load_empty
Load the state in `fn` to create an empty `LabelList` for inference.
fastai/data_block.py:680
↓ 1 callers
Function
load_image_resized
(fn, sz)
fid/fid_score.py:83
↓ 1 callers
Method
load_with_state_and_layer_group
(cls, state:dict, layer_groups:Collection[nn.Module])
fastai/callback.py:152
↓ 1 callers
Function
logit_
Inplace logit of `x`, clamped to avoid inf
fastai/torch_core.py:342
↓ 1 callers
Function
lookup_db
Finds `this_test` entries from test_registry.json
fastai/gen_doc/nbtest.py:71
↓ 1 callers
Method
make_dropdown_widget
Return a Dropdown widget with specified `handler`.
fastai/widgets/image_cleaner.py:128
↓ 1 callers
Method
make_group_layer
starts with conv layer - `ch_in` channels in - then has `num_blocks` `ResLayer`
fastai/vision/models/darknet.py:23
↓ 1 callers
Method
make_horizontal_box
Make a horizontal box with `children` and `layout`.
fastai/widgets/image_cleaner.py:137
↓ 1 callers
Method
make_img_widget
Returns an image widget for specified file name `img`.
fastai/widgets/image_cleaner.py:113
↓ 1 callers
Method
make_vertical_box
Make a vertical box with `children` and `layout`.
fastai/widgets/image_cleaner.py:142
↓ 1 callers
Function
map_test
Creates dictionary test format to match doctest api
fastai/gen_doc/nbtest.py:162
↓ 1 callers
Function
masked_concat_pool
Pool MultiBatchEncoder outputs into one vector [last_hidden, max_pool, avg_pool].
fastai/text/learner.py:221
↓ 1 callers
Function
master2model
Copy `master_params` to `model_params`.
fastai/callbacks/fp16.py:45
↓ 1 callers
Function
md2html
(md)
fastai/gen_doc/nbdoc.py:126
↓ 1 callers
Function
mean_squared_error
Mean squared error between `pred` and `targ`.
fastai/metrics.py:78
↓ 1 callers
Function
merge_lists
(a, b)
fastai/gen_doc/doctest.py:84
↓ 1 callers
Function
merge_registries
(a, b)
fastai/gen_doc/doctest.py:87
↓ 1 callers
Function
middle_flow
(nf)
fastai/vision/models/xception.py:36
↓ 1 callers
Function
model2half
Convert `model` to half precision except the batchnorm layers.
fastai/torch_core.py:237
↓ 1 callers
Function
model_g2master_g
Copy the `model_params` gradients to `master_params` for the optimizer step.
fastai/callbacks/fp16.py:30
↓ 1 callers
Method
model_path
Get the path to fastai pretrained models in the config file.
fastai/datasets.py:160
↓ 1 callers
Function
model_type
Return the torch type corresponding to `dtype`.
fastai/torch_core.py:296
↓ 1 callers
Method
most_confused
Sorted descending list of largest non-diagonal entries of confusion matrix, presented as actual, predicted, number of occurrences.
fastai/train.py:208
↓ 1 callers
Method
new
(self, x, y, tfms=None, tfm_y=None, **kwargs)
fastai/data_block.py:626
↓ 1 callers
Method
new
Create a new `ItemList` from `items`, keeping the same attributes.
fastai/data_block.py:789
↓ 1 callers
Method
new_with_params
Create a new `OptimWrapper` from `self` with another `layer_groups` but the same hyper-parameters.
fastai/callback.py:36
↓ 1 callers
Method
next_batch
Handler for 'Next Batch' button click. Delete all flagged images and renders next batch.
fastai/widgets/image_cleaner.py:165
↓ 1 callers
Function
num_cpus
Get number of cpus
fastai/core.py:43
↓ 1 callers
Function
num_features_model
Return the number of output features for `model`.
fastai/callbacks/hooks.py:119
↓ 1 callers
Method
numericalize
Convert a list of tokens `t` to their ids.
fastai/text/transform.py:128
↓ 1 callers
Method
on_backward_begin
Record the loss before any other callback has a chance to modify it.
fastai/basic_train.py:485
↓ 1 callers
Method
on_backward_end
Called after backprop but before optimizer step. Useful for true weight decay in AdamW.
fastai/callback.py:177
↓ 1 callers
Method
on_batch_begin
Record learning rate and momentum at beginning of batch.
fastai/basic_train.py:479
↓ 1 callers
Method
on_batch_end
Handle end of processing one batch with `loss`.
fastai/callback.py:305
↓ 1 callers
Method
on_batch_end
(self, last_output:Tensor, last_target:Tensor, **kwargs)
fastai/metrics.py:307
↓ 1 callers
Method
on_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 callers
Method
on_batch_end
Callback function that writes batch end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:159
↓ 1 callers
Method
on_batch_end
Take one step forward on the annealing schedule for the optim params.
fastai/callbacks/one_cycle.py:45
↓ 1 callers
Method
on_loss_begin
Called after forward pass but before loss has been computed.
fastai/callback.py:171
↓ 1 callers
Method
on_step
(self, p, group, group_idx)
fastai/general_optimizer.py:103
↓ 1 callers
Method
on_step_end
Called after the step of the optimizer but before the gradients are zeroed.
fastai/callback.py:180
↓ 1 callers
Method
on_train_begin
About to start learning.
fastai/callback.py:260
↓ 1 callers
Method
on_train_begin
Register the `Hooks` on `self.modules`.
fastai/callbacks/hooks.py:68
↓ 1 callers
Method
on_train_end
Handle end of training, `exception` is an `Exception` or False if no exceptions during training.
fastai/callback.py:321
↓ 1 callers
Method
on_train_end
Remove the `Hooks`.
fastai/callbacks/hooks.py:75
↓ 1 callers
Function
one_hot
One-hot encode `x` with `c` classes.
fastai/core.py:263
↓ 1 callers
Function
open_mask
Return `ImageSegment` object create from mask in file `fn`. If `div`, divides pixel values by 255.
fastai/vision/image.py:406
↓ 1 callers
Function
open_text
Read the text in `fn`.
fastai/text/data.py:274
↓ 1 callers
Function
params_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 callers
Function
partial_repr
(t)
fastai/gen_doc/nbdoc.py:61
↓ 1 callers
Function
partition
Split iterables `a` in equal parts of size `sz`
fastai/core.py:165
← previous
next →
601–700 of 1,778, ranked by callers