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
↓ 3 callers
Function
is1d
Return `True` if `a` is one-dimensional
fastai/core.py:96
↓ 3 callers
Function
jekyll_div
(s,c,h,icon=None)
fastai/gen_doc/nbdoc.py:332
↓ 3 callers
Function
load_pynvml_env
()
fastai/utils/pynvml_gate.py:51
↓ 3 callers
Function
make_date
Make sure `df[field_name]` is of the right date type.
fastai/tabular/transform.py:10
↓ 3 callers
Function
num_distrib
Return the number of processes in distributed training (if applicable).
fastai/torch_core.py:404
↓ 3 callers
Function
one_param
Return the first parameter of `m`.
fastai/torch_core.py:371
↓ 3 callers
Function
parallel
Call `func` on every element of `arr` in parallel using `max_workers`.
fastai/core.py:346
↓ 3 callers
Method
process_one
Apply `processor` or `self.processor` to `item`.
fastai/data_block.py:86
↓ 3 callers
Function
rank_distrib
Return the distributed rank of this process (if applicable).
fastai/torch_core.py:408
↓ 3 callers
Method
refresh
Apply any logit, flow, or affine transfers that have been sent to the `Image`.
fastai/vision/image.py:133
↓ 3 callers
Method
resolve
Bind any random variables in the transform.
fastai/vision/image.py:496
↓ 3 callers
Function
show_image
Display `Image` in notebook.
fastai/vision/image.py:433
↓ 3 callers
Method
split_by_idxs
Split the data between `train_idx` and `valid_idx`.
fastai/data_block.py:193
↓ 3 callers
Method
split_none
Don't split the data and create an empty validation set.
fastai/data_block.py:183
↓ 3 callers
Method
stop
(self)
fastai/utils/mem.py:109
↓ 3 callers
Method
switch
Switch the model, if `gen_mode` is provided, in the desired mode.
fastai/vision/gan.py:143
↓ 3 callers
Function
tqdm
(x)
fid/fid_score.py:54
↓ 3 callers
Function
try_import
Try to import `module`. Returns module's object on success, None on failure
fastai/imports/core.py:39
↓ 3 callers
Function
try_save
(state:Dict, path:Path=None, file:PathLikeOrBinaryStream=None)
fastai/torch_core.py:417
↓ 3 callers
Function
uniqueify
Return sorted unique values of `x`.
fastai/core.py:100
↓ 3 callers
Function
validate
Calculate `loss_func` of `model` on `dl` in evaluation mode.
fastai/basic_train.py:53
↓ 2 callers
Method
__init__
(self, learn:Learner, cuda_id:int=0)
fastai/distributed.py:21
↓ 2 callers
Method
__init__
(self, block, layers, c_out=1000)
fastai/vision/models/xresnet2.py:89
↓ 2 callers
Method
__init__
(self, block, layers, num_classes=1000)
fastai/vision/models/presnet.py:70
↓ 2 callers
Method
__init__
(self, ids, text)
fastai/text/data.py:280
↓ 2 callers
Function
_affine_grid
(size:TensorImageSize)
fastai/vision/image.py:544
↓ 2 callers
Function
_affine_mult
Multiply `c` by `m` - can adjust for rectangular shaped `c`.
fastai/vision/image.py:554
↓ 2 callers
Method
_calc_2_moments
(self, tensor)
deoldify/loss.py:73
↓ 2 callers
Method
_call_and_update
Call `cb_name` on `cb` and update the inner state.
fastai/callback.py:239
↓ 2 callers
Method
_change_dl
(self, dl, shuffle)
fastai/distributed.py:25
↓ 2 callers
Function
_check_file
(fname)
fastai/datasets.py:215
↓ 2 callers
Method
_colorize_from_path
( self, source_path: Path, render_factor: int = None, post_process: bool = True,g_process_bar: gr.Prog
deoldify/visualize.py:376
↓ 2 callers
Method
_compute_boxes
(self)
fastai/vision/image.py:367
↓ 2 callers
Function
_compute_statistics_of_path
(path, model, batch_size, dims, cuda)
fid/fid_score.py:261
↓ 2 callers
Method
_create_tabs
Creates a tab for each variable
fastai/widgets/class_confusion.py:35
↓ 2 callers
Function
_do_perspective_warp
Apply warp to `targ_pts` from `_orig_pts` to `c` `FlowField`.
fastai/vision/transform.py:259
↓ 2 callers
Function
_draw_outline
Outline bounding box onto image `Patch`.
fastai/vision/image.py:36
↓ 2 callers
Method
_encode_batch
(self, texts)
fastai/text/data.py:474
↓ 2 callers
Method
_get_by_folder
(self, name)
fastai/data_block.py:203
↓ 2 callers
Function
_get_crop_target
Calc crop shape of `target_px` to nearest multiple of `mult`.
fastai/vision/image.py:596
↓ 2 callers
Function
_get_elapsed
(df:DataFrame,field_names:Collection[str], date_field:str, base_field:str, prefix:str)
fastai/tabular/transform.py:68
↓ 2 callers
Function
_get_files
(parent, p, f, extensions)
fastai/data_block.py:22
↓ 2 callers
Method
_get_image_from_url
(self, url: str)
deoldify/visualize.py:30
↓ 2 callers
Function
_get_init_state
()
fastai/callback.py:221
↓ 2 callers
Method
_get_new_batch
Retrieves new batch of DatasetType, and detaches it.
fastai/callbacks/tensorboard.py:40
↓ 2 callers
Function
_get_processor
(tokenizer:Tokenizer=None, vocab:Vocab=None, chunksize:int=10000, max_vocab:int=60000, min_
fastai/text/data.py:140
↓ 2 callers
Function
_get_sfs_idxs
Get the indexes of the layers where the size of the activation changes.
deoldify/unet.py:13
↓ 2 callers
Function
_get_size
(xs,i)
fastai/vision/data.py:344
↓ 2 callers
Method
_get_val1
(self, val)
fastai/general_optimizer.py:57
↓ 2 callers
Function
_html_to_img_tuples
Parse the google images html to img tuples containining `(fname, url)`
fastai/widgets/image_downloader.py:119
↓ 2 callers
Method
_interp_show
Show ImageSegment with color mapping labels
fastai/vision/interpret.py:24
↓ 2 callers
Method
_label_from_list
Label `self.items` with `labels`.
fastai/data_block.py:266
↓ 2 callers
Function
_loss_func_name2activ
(name:str, axis:int=-1)
fastai/basic_train.py:123
↓ 2 callers
Method
_make_features
(self, x, clone=False)
deoldify/loss.py:26
↓ 2 callers
Method
_make_features
(self, x, clone=False)
deoldify/loss.py:69
↓ 2 callers
Function
_maybe_squeeze
(arr)
fastai/data_block.py:13
↓ 2 callers
Method
_open_pil_image
(self, path: Path)
deoldify/visualize.py:27
↓ 2 callers
Function
_pad_coord
(x, row_pad:int, col_pad:int, mode='zeros')
fastai/vision/transform.py:101
↓ 2 callers
Function
_path_to_same_str
path -> str, but same on nt+posix, for alpha-sort only
fastai/data_block.py:15
↓ 2 callers
Method
_precision
(self)
fastai/metrics.py:179
↓ 2 callers
Method
_process_all_1
Process a list of `texts` in one process.
fastai/text/transform.py:110
↓ 2 callers
Method
_purge_images
(self, dir)
deoldify/visualize.py:196
↓ 2 callers
Method
_recall
(self)
fastai/metrics.py:171
↓ 2 callers
Method
_relative_item_paths
(self)
fastai/data_block.py:145
↓ 2 callers
Method
_repr_image_format
(self, format_str)
fastai/vision/image.py:91
↓ 2 callers
Method
_repr_jpeg_
(self)
fastai/vision/image.py:89
↓ 2 callers
Function
_round_multiple
Calc `x` to nearest multiple of `mult`.
fastai/vision/image.py:592
↓ 2 callers
Function
_test_cnn
(m)
fastai/vision/learner.py:134
↓ 2 callers
Function
_treat_html
(o:str)
fastai/core.py:326
↓ 2 callers
Function
_url2tgz
(url, data=True, ext:str='.tgz')
fastai/datasets.py:190
↓ 2 callers
Method
_write_for_dstype
Writes batch images of specified DatasetType to Tensorboard.
fastai/callbacks/tensorboard.py:407
↓ 2 callers
Method
add_test_folder
Add test set containing items from `test_folder` and an arbitrary `label`.
fastai/data_block.py:565
↓ 2 callers
Method
add_tfm
(self,tfm:Callable)
fastai/basic_data.py:143
↓ 2 callers
Method
analyze_pred
Called on `pred` before `reconstruct` for additional preprocessing.
fastai/data_block.py:93
↓ 2 callers
Function
anno_repr
(a)
fastai/gen_doc/nbdoc.py:66
↓ 2 callers
Function
apply_rules
Apply `pre_rules` and `post_rules` to `text`
fastai/text/data.py:397
↓ 2 callers
Method
backward
Pass `item` through the model and computes the gradient. Useful if `backward_hooks` are attached.
fastai/basic_train.py:365
↓ 2 callers
Function
belongs_to_module
Check if `t` belongs to `module_name`.
fastai/gen_doc/nbdoc.py:41
↓ 2 callers
Method
calc
Apply to image `x`, wrapping it if necessary.
fastai/vision/image.py:474
↓ 2 callers
Method
confusion_matrix
Confusion matrix as an `np.ndarray`.
fastai/train.py:171
↓ 2 callers
Function
conv
(ni, nf, ks=3, stride=1, bias=False)
fastai/vision/models/presnet.py:18
↓ 2 callers
Function
conv3x3
(in_planes, out_planes, stride=1)
fastai/vision/models/xresnet2.py:11
↓ 2 callers
Function
conv_layer
(conv_1st, ni, nf, ks=3, stride=1, zero_bn=False, bias=False)
fastai/vision/models/presnet.py:21
↓ 2 callers
Function
convert_nb
Convert a notebook `fname` to html file in `dest_path`.
fastai/gen_doc/convert2html.py:21
↓ 2 callers
Method
create
Create an `optim.Optimizer` from `opt_func` with `lr`. Set lr on `layer_groups`.
fastai/callback.py:20
↓ 2 callers
Method
create
Create an ImageBBox object from `bboxes`.
fastai/vision/image.py:356
↓ 2 callers
Function
critic
(ch_in:int, n_ftrs:int=64, n_layers:int=3, norm_layer:nn.Module=None, sigmoid:bool=False)
fastai/vision/cyclegan.py:63
↓ 2 callers
Method
critic
Create some `fake_pred` with the generator from `input` and compare them to `real_pred` in `self.loss_funcD`.
fastai/vision/gan.py:65
↓ 2 callers
Method
data_archive_path
Get the path to data archives in the config file.
fastai/datasets.py:155
↓ 2 callers
Method
data_path
Get the path to data in the config file.
fastai/datasets.py:150
↓ 2 callers
Method
data_set
(self)
fastai/utils/mem.py:85
↓ 2 callers
Function
datapath4file
Return data path to `filename`, checking locally first then in the config file.
fastai/datasets.py:199
↓ 2 callers
Function
dispatch_cuda
(cuda_class, cpu_func, x)
fastai/text/models/qrnn.py:15
↓ 2 callers
Function
embedding
Create an embedding layer.
fastai/layers.py:281
↓ 2 callers
Function
execute_nb
Execute notebook `fname` with `metadata` for preprocessing.
fastai/gen_doc/gen_notebooks.py:79
↓ 2 callers
Method
fit
Fit the model on this learner with `lr` learning rate, `wd` weight decay for `epochs` with `callbacks`.
fastai/basic_train.py:195
↓ 2 callers
Function
format_ft_def
Format and link `func` definition to show in documentation
fastai/gen_doc/nbdoc.py:79
↓ 2 callers
Method
forward
(self, x)
fastai/layers.py:18
↓ 2 callers
Method
forward
(self, inp, hid=None)
fastai/text/models/qrnn.py:154
↓ 2 callers
Method
freeze_to
Freeze layers up to layer group `n`.
fastai/basic_train.py:216
← previous
next →
201–300 of 1,778, ranked by callers