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
Function
_flip_affine
Flip `x` horizontally.
fastai/vision/transform.py:72
Function
_flip_lr
Flip `x` horizontally.
fastai/vision/transform.py:63
Method
_generate_confusion
Average and Per Image Confusion: intersection of pixels given a true label, true label sums to 1
fastai/vision/interpret.py:60
Method
_get_label
(fn)
fastai/vision/data.py:155
Method
_get_num_rows_columns
(self, num_images: int, max_columns: int)
deoldify/visualize.py:179
Method
_get_val1
(self, val)
fastai/general_optimizer.py:82
Method
_get_val2
(self, state, val, param)
fastai/general_optimizer.py:83
Method
_get_val3
(self, state, val, param)
fastai/general_optimizer.py:85
Function
_hook_inner
(m,i,o)
fastai/callbacks/hooks.py:52
Function
_image_maybe_add_crop_pad
(img, tfms)
fastai/vision/transform.py:206
Method
_init
(self,*args,**kwargs)
fastai/core.py:64
Function
_inner
(x, cpu=True)
fastai/torch_core.py:98
Method
_inner
(o)
fastai/data_block.py:166
Method
_inner
(*args, **kwargs)
fastai/data_block.py:471
Function
_jitter
Replace pixels by random neighbors at `magnitude`.
fastai/vision/transform.py:57
Function
_json_set_default
(obj)
fastai/gen_doc/doctest.py:10
Function
_learner_distributed
Put `learn` on distributed training with `cuda_id`.
fastai/distributed.py:71
Function
_learner_interpret
Create a `ClassificationInterpretation` object from `learner` on `ds_type` with `tta`.
fastai/train.py:217
Function
_learner_interpret
Create a `ClassificationInterpretation` object from `learner` on `ds_type` with `tta`.
fastai/vision/learner.py:233
Function
_learner_interpret
Create a 'ClassificationInterpretation' object from 'learner' on 'ds_type'.
fastai/tabular/models.py:78
Function
_learner_parallel
Use nn.DataParallel when training and remove when done
fastai/distributed.py:65
Function
_ll_pre_transform
Call `train_tfm` and `valid_tfm` after opening image, before converting from `PIL.Image`
fastai/vision/data.py:438
Function
_loss_C
(real_pred, fake_pred)
fastai/vision/gan.py:197
Function
_loss_G
(fake_pred, output, target, weights_gen=weights_gen)
fastai/vision/gan.py:192
Function
_new_torch_cuda_set_device
(device)
fastai/torch_core.py:71
Function
_noisify
( x, pct_pixels_min: float = 0.001, pct_pixels_max: float = 0.4, noise_range: int = 30 )
deoldify/augs.py:6
Function
_normalize_batch
`b` = `x`,`y` - normalize `x` array of imgs and `do_y` optionally `y`.
fastai/vision/data.py:64
Function
_pad
(x, padding:int, mode='reflection')
fastai/vision/transform.py:116
Function
_pad_default
Pad `x` with `padding` pixels. `mode` fills in space ('zeros','reflection','border').
fastai/vision/transform.py:108
Function
_pad_image_points
(x, padding:int, mode='reflection')
fastai/vision/transform.py:113
Method
_pass
(self)
fastai/core.py:62
Function
_pca
Compute PCA of `x` with `k` dimensions.
fastai/torch_core.py:309
Function
_perspective_warp
Apply warp of `magnitude` to `c`.
fastai/vision/transform.py:264
Method
_plot_intersect_cm
Plot confusion matrices: self.mean_cm or self.single_img_cm generated by `_generate_confusion`
fastai/vision/interpret.py:79
Function
_presize
Resize images to `size` using `RandomResizedCrop`, passing along `kwargs` to train transform
fastai/vision/data.py:450
Method
_queue_processor
Processes queued up write requests asynchronously to Tensorboard.
fastai/callbacks/tensorboard.py:223
Function
_replace_rep
(m:Collection[str])
fastai/text/transform.py:44
Function
_replace_wrep
(m:Collection[str])
fastai/text/transform.py:52
Method
_repr_image_format
(self, format_str)
fastai/vision/image.py:279
Method
_repr_png_
(self)
fastai/vision/image.py:88
Function
_resnet_split
(m:nn.Module)
fastai/vision/learner.py:16
Function
_rgb_randomize
Randomize one of the channels of the input image
fastai/vision/transform.py:137
Function
_rotate
Rotate image by `degrees`.
fastai/vision/transform.py:25
Function
_skew
Skew `c` field with random `direction` and `magnitude`.
fastai/vision/transform.py:289
Function
_squeezenet_split
(m:nn.Module)
fastai/vision/learner.py:18
Function
_squish
Squish image by `scale`. `row_pct`,`col_pct` select focal point of zoom.
fastai/vision/transform.py:47
Function
_symmetric_warp
Apply symmetric warp of `magnitude` to `c`.
fastai/vision/transform.py:271
Function
_tilt
Tilt `c` field with random `direction` and `magnitude`.
fastai/vision/transform.py:278
Method
_transform
(self, image: PilImage)
deoldify/filters.py:92
Function
_tta_only
Computes the outputs for several augmented inputs for TTA
fastai/vision/tta.py:10
Function
_vgg_split
(m:nn.Module)
fastai/vision/learner.py:20
Method
_write_training_loss
Writes training loss to Tensorboard.
fastai/callbacks/tensorboard.py:140
Method
_write_weight_histograms
Writes model weight histograms to Tensorboard.
fastai/callbacks/tensorboard.py:115
Function
_zoom
Zoom image by `scale`. `row_pct`,`col_pct` select focal point of zoom.
fastai/vision/transform.py:39
Function
_zoom_squish
(c, scale:uniform=1.0, squish:uniform=1.0, invert:rand_bool=False, row_pct:uniform=0.5, col_pc
fastai/vision/transform.py:335
Function
a2k
(a)
fastai/gen_doc/doctest.py:81
Method
accumulate
(self)
fastai/general_optimizer.py:35
Method
accumulate
(self, val)
fastai/general_optimizer.py:44
Method
accumulate
(self, val)
fastai/general_optimizer.py:53
Function
accuracy_thresh
Computes accuracy when `y_pred` and `y_true` are the same size.
fastai/metrics.py:32
Function
accuracy_thresh_expand
Compute accuracy after expanding `y_true` to the size of `y_pred`.
fastai/vision/gan.py:299
Function
add_cyclic_datepart
Helper function that adds trigonometric date/time features to a date in the column `field_name` of `df`.
fastai/tabular/transform.py:43
Function
add_datepart
Helper function that adds columns relevant to a date in the column `field_name` of `df`.
fastai/tabular/transform.py:55
Function
add_elapsed_times
(df:DataFrame, field_names:Collection[str], date_field:str, base_field:str)
fastai/tabular/transform.py:80
Method
add_special_cases
(self, toks:Collection[str])
fastai/text/transform.py:30
Method
add_tfm
Add `tfm` to `self.tfms`.
fastai/basic_data.py:54
Method
affine
Equivalent to `image.affine_mat = image.affine_mat @ func()`.
fastai/vision/image.py:187
Method
affine_mat
Get the affine matrix that will be applied by `refresh`.
fastai/vision/image.py:202
Method
analyze_pred
(self, pred, thresh:float=0.5)
fastai/data_block.py:380
Method
analyze_pred
(self, pred, thresh:float=0.5)
fastai/data_block.py:424
Method
analyze_pred
(self, pred)
fastai/vision/data.py:359
Method
analyze_pred
(self, pred, thresh:float=0.5)
fastai/vision/data.py:386
Method
analyze_pred
(self, pred, thresh:float=0.5)
fastai/vision/data.py:409
Function
annealing_cos
Cosine anneal from `start` to `end` as pct goes from 0.0 to 1.0.
fastai/callback.py:364
Function
annealing_exp
Exponentially anneal from `start` to `end` as pct goes from 0.0 to 1.0.
fastai/callback.py:361
Function
annealing_linear
Linearly anneal from `start` to `end` as pct goes from 0.0 to 1.0.
fastai/callback.py:358
Function
annealing_no
No annealing, always return `start`.
fastai/callback.py:355
Function
annealing_poly
Anneal polynomically from `start` to `end` as pct goes from 0.0 to 1.0.
fastai/callback.py:372
Method
apply_dropout
If a module contains 'dropout' in it's name, it will be switched to .train() mode.
fastai/basic_train.py:425
Method
apply_test
Function applied to `df` if it's the test set.
fastai/tabular/transform.py:129
Method
apply_test
Transform `self.cat_names` columns in categorical using the codes decided in `apply_train`.
fastai/tabular/transform.py:142
Method
apply_test
Fill missing values in `self.cont_names` like in `apply_train`.
fastai/tabular/transform.py:169
Method
apply_test
Normalize `self.cont_names` with the same statistics as in `apply_train`.
fastai/tabular/transform.py:192
Method
apply_tfms
Subclass this method if you want to apply data augmentation with `tfms` to this `ItemBase`.
fastai/core.py:186
Method
apply_tfms
Apply all `tfms` to the `Image`, if `do_resolve` picks value for random args.
fastai/vision/image.py:96
Method
apply_tfms
(self, tfms, **kwargs)
fastai/vision/gan.py:233
Method
apply_train
Transform `self.cat_names` columns in categorical.
fastai/tabular/transform.py:135
Method
apply_train
Fill missing values in `self.cont_names` according to `self.fill_strategy`.
fastai/tabular/transform.py:155
Method
apply_train
Compute the means and stds of `self.cont_names` columns to normalize them.
fastai/tabular/transform.py:183
Function
awd_lstm_clas_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/awd_lstm.py:164
Function
awd_lstm_lm_split
Split a RNN `model` in groups for differential learning rates.
fastai/text/models/awd_lstm.py:159
Method
backward
(ctx, grad_output:Tensor)
fastai/text/models/qrnn.py:63
Function
basic_critic
A basic critic for images `n_channels` x `in_size` x `in_size`.
fastai/vision/gan.py:17
Function
basic_generator
A basic generator from `noise_sz` to images `n_channels` x `in_size` x `in_size`.
fastai/vision/gan.py:28
Method
batch_size
(self)
fastai/basic_data.py:42
Method
batch_size
(self)
fastai/basic_data.py:233
Function
batch_to_half
Set the input of batch `b` to half precision.
fastai/torch_core.py:227
Function
bb_pad_collate
Function that collect `samples` of labelled bboxes and adds padding with `pad_idx`.
fastai/vision/data.py:41
Method
beam_search
Return the `n_words` that come after `text` using beam search.
fastai/text/learner.py:137
Method
bias
Bias for item or user (based on `is_item`) for all in `arr`. (Set model to `cpu` and no grad.)
fastai/collab.py:82
← previous
next →
1,101–1,200 of 1,778, ranked by callers