MCPcopy Create free account

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

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

Methodjump_to_epoch
(self, epoch:int)
fastai/callbacks/tracker.py:86
Methodjump_to_epoch
(self, epoch:int)
fastai/callbacks/one_cycle.py:41
Methodkwargs
(self)
fastai/script.py:22
Methodlabel_empty
Label every item with an `EmptyLabel`.
fastai/data_block.py:289
Methodlabel_from_re
Apply the re in `pat` to determine the label of every filename. If `full_path`, search in the full name.
fastai/data_block.py:303
Functionlanguage_model_learner
Create a `Learner` with a language model from `data` and `arch`.
fastai/text/learner.py:201
Functionlast_layer
Retrieve last layer in a module `m`.
fastai/torch_core.py:179
Methodlearn
(self)
fastai/basic_train.py:449
Methodlighting
Equivalent to `image = sigmoid(func(logit(image)))`.
fastai/vision/image.py:172
Methodlighting
(self, func:LightingFunc, *args:Any, **kwargs:Any)
fastai/vision/image.py:233
Methodlighting
(self, func:LightingFunc, *args:Any, **kwargs:Any)
fastai/vision/image.py:304
Methodlists
(self)
fastai/data_block.py:484
Methodload
Load a `TextDataBunch` from `path/cache_name`. `kwargs` are passed to the dataloader creation.
fastai/text/data.py:165
Functionload_data
Load a saved `DataBunch` from `path/file`. `file` can be file-like (file or buffer)
fastai/basic_data.py:272
Methodload_empty
Create a `LabelLists` with empty sets from the serialized file in `path/fn`.
fastai/data_block.py:580
Methodload_encoder
Load the encoder `name` from the model directory.
fastai/text/learner.py:64
Functionload_learner
Load a `Learner` object saved with `export_state` in `path/file` with empty data, optionally add `test` and load on `cpu`. `file` can be file-like (fi
fastai/basic_train.py:616
Methodload_state
Create a `LabelLists` with empty sets from the serialized `state`.
fastai/data_block.py:572
Functionlog_uniform
Draw 1 or shape=`size` random floats from uniform dist: min=log(`low`), max=log(`high`).
fastai/torch_core.py:358
Functionlogit
Logit of `x`, clamped to avoid inf.
fastai/torch_core.py:337
Methodlogit_px
Get logit(image.px).
fastai/vision/image.py:211
Methodloss_func
(self)
fastai/basic_data.py:213
Methodlr
(self)
fastai/callback.py:78
Functionlr_find
Explore lr from `start_lr` to `end_lr` over `num_it` iterations in `learn`. If `stop_div`, stops when loss diverges.
fastai/train.py:25
Functionmain
PyTorch distributed training launch helper that spawns multiple distributed processes
fastai/launch.py:5
Functionmain
(show_nvidia_smi:Param(opt=False, nargs='?', type=bool)=False)
fastai/utils/show_install.py:6
Functionmain
()
bot/main.go:44
Functionmean_absolute_error
Mean absolute error between `pred` and `targ`.
fastai/metrics.py:73
Functionmean_squared_logarithmic_error
Mean squared logarithmic error between `pred` and `targ`.
fastai/metrics.py:88
Methodmissing_this_tests_alert
()
fastai/gen_doc/doctest.py:70
Functionmixup
Add mixup https://arxiv.org/abs/1710.09412 to `learn`.
fastai/train.py:55
Functionmodel_summary
Print a summary of `m` using a output text width of `n` chars
fastai/callbacks/hooks.py:168
Methodmom
(self)
fastai/callback.py:84
Methodn_params
(self)
fastai/callback.py:74
Methodname
(self)
fastai/vision/image.py:480
Functionnasnetamobile
(pretrained:bool=False)
fastai/vision/models/cadene_models.py:25
Methodnew
Create a new `OptimWrapper` from `self` with another `layer_groups` but the same hyper-parameters.
fastai/callback.py:29
Methodnew_step
(self)
fastai/general_optimizer.py:34
Methodnew_step
(self)
fastai/general_optimizer.py:43
Methodnew_step
(self)
fastai/general_optimizer.py:51
Methodno_split
(self)
fastai/data_block.py:179
Functionnoop
(x)
fastai/core.py:55
Functionnoop
(x)
fastai/vision/models/xresnet.py:23
Functionnp2model_tensor
Tranform numpy array `a` to a tensor of the same type.
fastai/torch_core.py:302
Functionnp_address
Address of `x` in memory.
fastai/torch_core.py:92
Functionnp_func
Convert a function taking and returning numpy arrays to one taking and returning tensors
fastai/torch_core.py:423
Methodnum_workers
(self)
fastai/basic_data.py:50
Methodon_backward_begin
Called after the forward pass and the loss has been computed, but before backprop.
fastai/callback.py:174
Methodon_backward_begin
Handle gradient calculation on `loss`.
fastai/callback.py:288
Methodon_backward_begin
Scale gradients up by `self.loss_scale` to prevent underflow.
fastai/callbacks/fp16.py:92
Methodon_backward_begin
Apply AR and TAR to `last_loss`.
fastai/callbacks/rnn.py:24
Methodon_backward_begin
Record `last_loss` in the proper list.
fastai/vision/gan.py:115
Methodon_backward_end
Clip the gradient before the optimizer step.
fastai/train.py:91
Methodon_backward_end
accumulated step and reset samples, True will result in no stepping
fastai/train.py:122
Methodon_backward_end
Handle end of gradient calculation.
fastai/callback.py:295
Methodon_backward_end
Callback function that writes backward end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:94
Methodon_backward_end
Callback function that writes backward end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:165
Methodon_backward_end
Convert the gradients back to FP32 and divide them by the scale.
fastai/callbacks/fp16.py:98
Methodon_batch_begin
(self, last_input,last_target,**kwargs)
fastai/basic_train.py:435
Methodon_batch_begin
accumulate samples and batches
fastai/train.py:117
Methodon_batch_begin
Set HP before the output and loss are computed.
fastai/callback.py:168
Methodon_batch_begin
Applies mixup to `last_input` and `last_target` if `train`.
fastai/callbacks/mixup.py:15
Methodon_batch_begin
Clamp the weights with `self.clip` if it's not None, return the correct input.
fastai/vision/gan.py:109
Methodon_batch_begin
Multiply the current lr if necessary.
fastai/vision/gan.py:283
Methodon_batch_begin
Register the `last_input` in the loss function.
fastai/vision/cyclegan.py:154
Methodon_batch_end
(self, iteration: int, epoch: int, **kwargs)
deoldify/save.py:20
Methodon_batch_end
Called at the end of the batch.
fastai/callback.py:183
Methodon_batch_end
Update metric computation with `last_output` and `last_target`.
fastai/callback.py:340
Methodon_batch_end
(self, last_output:Tensor, last_target:Tensor, **kwargs)
fastai/metrics.py:111
Methodon_batch_end
(self, last_output:Tensor, last_target:Tensor, **kwargs)
fastai/metrics.py:151
Methodon_batch_end
(self, last_output, last_target, **kwargs)
fastai/metrics.py:269
Methodon_batch_end
(self, last_output, last_target, **kwargs)
fastai/metrics.py:335
Methodon_batch_end
Callback function that writes batch end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:86
Methodon_batch_end
Callback function that writes batch end appropriate data to Tensorboard.
fastai/callbacks/tensorboard.py:188
Methodon_batch_end
(self, iteration, **kwargs)
fastai/callbacks/misc.py:10
Methodon_batch_end
Determine if loss has runaway and we should stop.
fastai/callbacks/lr_finder.py:25
Methodon_batch_end
Take the stored results and puts it in `self.stats`
fastai/callbacks/hooks.py:94
Methodon_batch_end
Test if `last_loss` is NaN and interrupts training.
fastai/callbacks/tracker.py:16
Methodon_batch_end
Update the metrics if not `train`
fastai/callbacks/loss_metrics.py:22
Methodon_batch_end
Switch the model if necessary.
fastai/vision/gan.py:161
Methodon_batch_end
Switch the model if necessary.
fastai/vision/gan.py:181
Methodon_batch_end
Steps through the generators then each of the critics.
fastai/vision/cyclegan.py:158
Methodon_delete
Flag this image as delete or keep.
fastai/widgets/image_cleaner.py:176
Methodon_download_button_click
Download button click handler: validate search term and download images.
fastai/widgets/image_downloader.py:60
Methodon_epoch_begin
(self, **kwargs:Any)
fastai/basic_train.py:476
Methodon_epoch_begin
Put bn layers in eval mode just after `model.train()`.
fastai/train.py:81
Methodon_epoch_begin
init samples and batches, change optimizer
fastai/train.py:113
Methodon_epoch_begin
At the beginning of each epoch.
fastai/callback.py:165
Methodon_epoch_begin
Set the inner value to 0.
fastai/callback.py:336
Methodon_epoch_begin
(self, epoch, **kwargs)
fastai/distributed.py:40
Methodon_epoch_begin
(self, **kwargs)
fastai/metrics.py:108
Methodon_epoch_begin
(self, **kwargs)
fastai/metrics.py:148
Methodon_epoch_begin
(self, **kwargs)
fastai/metrics.py:267
Methodon_epoch_begin
(self, **kwargs)
fastai/metrics.py:304
Methodon_epoch_begin
(self, **kwargs)
fastai/metrics.py:329
Methodon_epoch_begin
(self, **kwargs:Any)
fastai/callbacks/csv_logger.py:29
Methodon_epoch_begin
Reset the hidden state of the model.
fastai/callbacks/rnn.py:15
Methodon_epoch_begin
(self, **kwargs)
fastai/callbacks/mem.py:51
Methodon_epoch_begin
Initialize the metrics for this epoch.
fastai/callbacks/loss_metrics.py:17
Methodon_epoch_begin
Put the critic or the generator back to eval if necessary.
fastai/vision/gan.py:126
← previousnext →1,401–1,500 of 1,778, ranked by callers