torchbearer
0.2.0
Notes
Using the Metric API
Default Keys
Metric Decorators
Lambda Metrics
Metric Output - to_dict
Data Flow - The Metric Tree
Using the Tensorboard Callback
Setup
Logging the Model Graph
Logging Batch Metrics
Logging Epoch Metrics
Source Code
Logging to Visdom
Model Setup
Logging Epoch and Batch Metrics
Visdom Client Parameters
Source Code
Deep Learning
Quickstart Guide
Defining the Model
Training on Cifar10
Source Code
Training a Variational Auto-Encoder
Defining the Model
Defining the Data
Defining the Loss
PyTorch method
Using Torchbearer State
Visualising Results
Training the Model
Source Code
Training a GAN
Data and Constants
Model
Loss
Metrics
Training
Visualising
Source Code
Differentiable Programming
Optimising functions
The Model
The Loss
Optimising
Viewing Progress
Source Code
Linear Support Vector Machine (SVM)
SVM Recap
Defining the Model
Creating Synthetic Data
Subgradient Descent
Visualizing the Training
Final Comments
Source Code
Breaking ADAM
Online Optimization
Stochastic Optimization
Conclusions
Source Code
Package Reference
torchbearer
Trial
Model (Deprecated)
Utilities
torchbearer.callbacks
Model Checkpointers
Logging
Tensorboard
Early Stopping
Gradient Clipping
Learning Rate Schedulers
Weight Decay
Decorators
torchbearer.metrics
Base Classes
Decorators - The Decorator API
Metric Wrappers
Metric Aggregators
Base Metrics
Timer
torchbearer
Docs
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
A
AbstractTensorBoard (class in torchbearer.callbacks.tensor_board)
add_child() (torchbearer.metrics.metrics.MetricTree method)
add_default() (in module torchbearer.metrics.metrics)
add_to_loss() (in module torchbearer.callbacks.decorators)
AdvancedMetric (class in torchbearer.metrics.metrics)
append() (torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.trial.CallbackListInjection method)
B
BatchLambda (class in torchbearer.metrics.wrappers)
Best (class in torchbearer.callbacks.checkpointers)
BinaryAccuracy (class in torchbearer.metrics.primitives)
bind_to() (in module torchbearer.callbacks.decorators)
C
Callback (class in torchbearer.callbacks.callbacks)
CALLBACK_STATES (torchbearer.callbacks.callbacks.CallbackList attribute)
CALLBACK_TYPES (torchbearer.callbacks.callbacks.CallbackList attribute)
CallbackList (class in torchbearer.callbacks.callbacks)
CallbackListInjection (class in torchbearer.trial)
CategoricalAccuracy (class in torchbearer.metrics.primitives)
close_writer() (in module torchbearer.callbacks.tensor_board)
(torchbearer.callbacks.tensor_board.AbstractTensorBoard method)
ConsolePrinter (class in torchbearer.callbacks.printer)
copy() (torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.trial.CallbackListInjection method)
CosineAnnealingLR (class in torchbearer.callbacks.torch_scheduler)
cpu() (torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
CSVLogger (class in torchbearer.callbacks.csv_logger)
cuda() (torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
D
DatasetValidationSplitter (class in torchbearer.cv_utils)
deep_to() (in module torchbearer.trial)
default_for_key() (in module torchbearer.metrics.decorators)
DefaultAccuracy (class in torchbearer.metrics.default)
E
EarlyStopping (class in torchbearer.callbacks.early_stopping)
ENDPOINT (torchbearer.callbacks.tensor_board.VisdomParams attribute)
ENV (torchbearer.callbacks.tensor_board.VisdomParams attribute)
Epoch (class in torchbearer.metrics.primitives)
EpochLambda (class in torchbearer.metrics.wrappers)
eval() (torchbearer.metrics.default.DefaultAccuracy method)
(torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.metrics.Metric method)
(torchbearer.metrics.metrics.MetricList method)
(torchbearer.metrics.metrics.MetricTree method)
(torchbearer.metrics.wrappers.ToDict method)
(torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
evaluate() (torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
evaluate_generator() (torchbearer.torchbearer.Model method)
ExponentialLR (class in torchbearer.callbacks.torch_scheduler)
F
fit() (torchbearer.torchbearer.Model method)
fit_generator() (torchbearer.torchbearer.Model method)
fluent() (in module torchbearer.trial)
for_steps() (torchbearer.trial.Trial method)
for_test_steps() (torchbearer.trial.Trial method)
for_train_steps() (torchbearer.trial.Trial method)
for_val_steps() (torchbearer.trial.Trial method)
G
get_default() (in module torchbearer.metrics.metrics)
get_key() (torchbearer.state.State method)
get_printer() (in module torchbearer.trial)
get_timings() (torchbearer.metrics.timer.TimerMetric method)
get_train_dataset() (torchbearer.cv_utils.DatasetValidationSplitter method)
get_train_valid_sets() (in module torchbearer.cv_utils)
get_val_dataset() (torchbearer.cv_utils.DatasetValidationSplitter method)
get_writer() (in module torchbearer.callbacks.tensor_board)
(torchbearer.callbacks.tensor_board.AbstractTensorBoard method)
GradientClipping (class in torchbearer.callbacks.gradient_clipping)
GradientNormClipping (class in torchbearer.callbacks.gradient_clipping)
H
HTTP_PROXY_HOST (torchbearer.callbacks.tensor_board.VisdomParams attribute)
HTTP_PROXY_PORT (torchbearer.callbacks.tensor_board.VisdomParams attribute)
I
inject_callback() (in module torchbearer.trial)
inject_printer() (in module torchbearer.trial)
inject_sampler() (in module torchbearer.trial)
Interval (class in torchbearer.callbacks.checkpointers)
IPV6 (torchbearer.callbacks.tensor_board.VisdomParams attribute)
L
L1WeightDecay (class in torchbearer.callbacks.weight_decay)
L2WeightDecay (class in torchbearer.callbacks.weight_decay)
lambda_metric() (in module torchbearer.metrics.decorators)
LambdaCallback (class in torchbearer.callbacks.decorators)
LambdaLR (class in torchbearer.callbacks.torch_scheduler)
load_batch_none() (in module torchbearer.trial)
load_batch_predict() (in module torchbearer.trial)
load_batch_standard() (in module torchbearer.trial)
load_state_dict() (torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.checkpointers.Best method)
(torchbearer.callbacks.checkpointers.Interval method)
(torchbearer.torchbearer.Model method)
(torchbearer.trial.CallbackListInjection method)
(torchbearer.trial.Trial method)
LOG_TO_FILENAME (torchbearer.callbacks.tensor_board.VisdomParams attribute)
Loss (class in torchbearer.metrics.primitives)
M
Mean (class in torchbearer.metrics.aggregators)
mean() (in module torchbearer.metrics.decorators)
MeanSquaredError (class in torchbearer.metrics.primitives)
Metric (class in torchbearer.metrics.metrics)
MetricList (class in torchbearer.metrics.metrics)
MetricTree (class in torchbearer.metrics.metrics)
Model (class in torchbearer.torchbearer)
ModelCheckpoint() (in module torchbearer.callbacks.checkpointers)
MostRecent (class in torchbearer.callbacks.checkpointers)
MultiStepLR (class in torchbearer.callbacks.torch_scheduler)
N
no_grad() (in module torchbearer.metrics.metrics)
O
on_backward() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.gradient_clipping.GradientClipping method)
(torchbearer.callbacks.gradient_clipping.GradientNormClipping method)
(torchbearer.metrics.timer.TimerMetric method)
on_criterion() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.weight_decay.WeightDecay method)
(torchbearer.metrics.timer.TimerMetric method)
on_criterion_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.metrics.timer.TimerMetric method)
on_end() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.csv_logger.CSVLogger method)
(torchbearer.callbacks.early_stopping.EarlyStopping method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.tensor_board.AbstractTensorBoard method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.metrics.timer.TimerMetric method)
on_end_epoch() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.checkpointers.Best method)
(torchbearer.callbacks.checkpointers.Interval method)
(torchbearer.callbacks.checkpointers.MostRecent method)
(torchbearer.callbacks.csv_logger.CSVLogger method)
(torchbearer.callbacks.early_stopping.EarlyStopping method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.callbacks.tensor_board.TensorBoardImages method)
(torchbearer.callbacks.tensor_board.TensorBoardProjector method)
(torchbearer.callbacks.terminate_on_nan.TerminateOnNaN method)
(torchbearer.callbacks.torch_scheduler.TorchScheduler method)
(torchbearer.metrics.timer.TimerMetric method)
on_end_training() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.printer.ConsolePrinter method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.metrics.timer.TimerMetric method)
on_end_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.printer.ConsolePrinter method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.metrics.timer.TimerMetric method)
on_forward() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.metrics.timer.TimerMetric method)
on_forward_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.metrics.timer.TimerMetric method)
on_lambda() (torchbearer.callbacks.decorators.LambdaCallback method)
on_sample() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.callbacks.torch_scheduler.TorchScheduler method)
(torchbearer.metrics.timer.TimerMetric method)
on_sample_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.metrics.timer.TimerMetric method)
on_start() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.checkpointers.Best method)
(torchbearer.callbacks.early_stopping.EarlyStopping method)
(torchbearer.callbacks.gradient_clipping.GradientClipping method)
(torchbearer.callbacks.gradient_clipping.GradientNormClipping method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.tensor_board.AbstractTensorBoard method)
(torchbearer.callbacks.torch_scheduler.TorchScheduler method)
(torchbearer.callbacks.weight_decay.WeightDecay method)
(torchbearer.metrics.timer.TimerMetric method)
on_start_epoch() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.metrics.timer.TimerMetric method)
on_start_training() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.torch_scheduler.TorchScheduler method)
(torchbearer.metrics.timer.TimerMetric method)
on_start_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.metrics.timer.TimerMetric method)
on_step_training() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.csv_logger.CSVLogger method)
(torchbearer.callbacks.printer.ConsolePrinter method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.callbacks.terminate_on_nan.TerminateOnNaN method)
(torchbearer.callbacks.torch_scheduler.TorchScheduler method)
(torchbearer.metrics.timer.TimerMetric method)
on_step_validation() (in module torchbearer.callbacks.decorators)
(torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.printer.ConsolePrinter method)
(torchbearer.callbacks.printer.Tqdm method)
(torchbearer.callbacks.tensor_board.TensorBoard method)
(torchbearer.callbacks.tensor_board.TensorBoardImages method)
(torchbearer.callbacks.tensor_board.TensorBoardProjector method)
(torchbearer.callbacks.terminate_on_nan.TerminateOnNaN method)
(torchbearer.metrics.timer.TimerMetric method)
once() (in module torchbearer.callbacks.decorators)
once_per_epoch() (in module torchbearer.callbacks.decorators)
only_if() (in module torchbearer.callbacks.decorators)
P
PORT (torchbearer.callbacks.tensor_board.VisdomParams attribute)
predict() (torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
predict_generator() (torchbearer.torchbearer.Model method)
process (torchbearer.metrics.metrics.Metric attribute)
process() (torchbearer.metrics.aggregators.Mean method)
(torchbearer.metrics.aggregators.Std method)
(torchbearer.metrics.default.DefaultAccuracy method)
(torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.metrics.MetricList method)
(torchbearer.metrics.metrics.MetricTree method)
(torchbearer.metrics.timer.TimerMetric method)
(torchbearer.metrics.wrappers.BatchLambda method)
process_final (torchbearer.metrics.metrics.Metric attribute)
process_final() (torchbearer.metrics.aggregators.Mean method)
(torchbearer.metrics.aggregators.Std method)
(torchbearer.metrics.default.DefaultAccuracy method)
(torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.metrics.MetricList method)
(torchbearer.metrics.metrics.MetricTree method)
process_final_train() (torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.wrappers.EpochLambda method)
(torchbearer.metrics.wrappers.ToDict method)
process_final_validate() (torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.wrappers.EpochLambda method)
(torchbearer.metrics.wrappers.ToDict method)
process_train() (torchbearer.metrics.aggregators.RunningMetric method)
(torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.wrappers.EpochLambda method)
(torchbearer.metrics.wrappers.ToDict method)
process_validate() (torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.wrappers.EpochLambda method)
(torchbearer.metrics.wrappers.ToDict method)
R
RAISE_EXCEPTIONS (torchbearer.callbacks.tensor_board.VisdomParams attribute)
ReduceLROnPlateau (class in torchbearer.callbacks.torch_scheduler)
replay() (torchbearer.trial.Trial method)
reset() (torchbearer.metrics.aggregators.Mean method)
(torchbearer.metrics.aggregators.RunningMetric method)
(torchbearer.metrics.aggregators.Std method)
(torchbearer.metrics.default.DefaultAccuracy method)
(torchbearer.metrics.metrics.Metric method)
(torchbearer.metrics.metrics.MetricList method)
(torchbearer.metrics.metrics.MetricTree method)
(torchbearer.metrics.timer.TimerMetric method)
(torchbearer.metrics.wrappers.EpochLambda method)
(torchbearer.metrics.wrappers.ToDict method)
RocAucScore (class in torchbearer.metrics.roc_auc_score)
run() (torchbearer.trial.Trial method)
running_mean() (in module torchbearer.metrics.decorators)
RunningMean (class in torchbearer.metrics.aggregators)
RunningMetric (class in torchbearer.metrics.aggregators)
S
sample() (torchbearer.trial.Sampler method)
Sampler (class in torchbearer.trial)
SEND (torchbearer.callbacks.tensor_board.VisdomParams attribute)
SERVER (torchbearer.callbacks.tensor_board.VisdomParams attribute)
State (class in torchbearer.state)
state_dict() (torchbearer.callbacks.callbacks.Callback method)
(torchbearer.callbacks.callbacks.CallbackList method)
(torchbearer.callbacks.checkpointers.Best method)
(torchbearer.callbacks.checkpointers.Interval method)
(torchbearer.torchbearer.Model method)
(torchbearer.trial.CallbackListInjection method)
(torchbearer.trial.Trial method)
state_key() (in module torchbearer.state)
StateKey (class in torchbearer.state)
Std (class in torchbearer.metrics.aggregators)
std() (in module torchbearer.metrics.decorators)
StepLR (class in torchbearer.callbacks.torch_scheduler)
T
TensorBoard (class in torchbearer.callbacks.tensor_board)
TensorBoardImages (class in torchbearer.callbacks.tensor_board)
TensorBoardProjector (class in torchbearer.callbacks.tensor_board)
TerminateOnNaN (class in torchbearer.callbacks.terminate_on_nan)
TimerMetric (class in torchbearer.metrics.timer)
to() (torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
to_dict() (in module torchbearer.metrics.decorators)
ToDict (class in torchbearer.metrics.wrappers)
TopKCategoricalAccuracy (class in torchbearer.metrics.primitives)
torchbearer (module)
torchbearer.callbacks (module)
torchbearer.callbacks.callbacks (module)
torchbearer.callbacks.checkpointers (module)
torchbearer.callbacks.csv_logger (module)
torchbearer.callbacks.decorators (module)
torchbearer.callbacks.early_stopping (module)
torchbearer.callbacks.gradient_clipping (module)
torchbearer.callbacks.printer (module)
torchbearer.callbacks.tensor_board (module)
torchbearer.callbacks.terminate_on_nan (module)
torchbearer.callbacks.torch_scheduler (module)
torchbearer.callbacks.weight_decay (module)
torchbearer.cv_utils (module)
torchbearer.metrics (module)
torchbearer.metrics.aggregators (module)
torchbearer.metrics.decorators (module)
torchbearer.metrics.default (module)
torchbearer.metrics.metrics (module)
torchbearer.metrics.primitives (module)
torchbearer.metrics.roc_auc_score (module)
torchbearer.metrics.timer (module)
torchbearer.metrics.wrappers (module)
torchbearer.state (module)
torchbearer.torchbearer (module)
torchbearer.trial (module)
TorchScheduler (class in torchbearer.callbacks.torch_scheduler)
Tqdm (class in torchbearer.callbacks.printer)
train() (torchbearer.metrics.default.DefaultAccuracy method)
(torchbearer.metrics.metrics.AdvancedMetric method)
(torchbearer.metrics.metrics.Metric method)
(torchbearer.metrics.metrics.MetricList method)
(torchbearer.metrics.metrics.MetricTree method)
(torchbearer.metrics.wrappers.ToDict method)
(torchbearer.torchbearer.Model method)
(torchbearer.trial.Trial method)
train_valid_splitter() (in module torchbearer.cv_utils)
Trial (class in torchbearer.trial)
U
update() (torchbearer.state.State method)
update_device_and_dtype() (in module torchbearer.trial)
update_time() (torchbearer.metrics.timer.TimerMetric method)
USE_INCOMING_SOCKET (torchbearer.callbacks.tensor_board.VisdomParams attribute)
V
VisdomParams (class in torchbearer.callbacks.tensor_board)
W
WeightDecay (class in torchbearer.callbacks.weight_decay)
with_generators() (torchbearer.trial.Trial method)
with_test_data() (torchbearer.trial.Trial method)
with_test_generator() (torchbearer.trial.Trial method)
with_train_data() (torchbearer.trial.Trial method)
with_train_generator() (torchbearer.trial.Trial method)
with_val_data() (torchbearer.trial.Trial method)
with_val_generator() (torchbearer.trial.Trial method)
Read the Docs
v: 0.2.0
Versions
latest
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.