Shortcuts

ride.finetune

Module Contents

Classes

Finetunable

Adds finetune capabilities to model

Functions

load_model_weights(file, hparams_passed, model_state_key)

try_pyth_load(file, model_state_key)

try_pickle_load(file)

Attributes

logger

ride.finetune.logger[source]
class ride.finetune.Finetunable(hparams: pytorch_lightning.utilities.parsing.AttributeDict, *args, **kwargs)[source]

Bases: ride.unfreeze.Unfreezable

Adds finetune capabilities to model

This module is automatically added when RideModule is inherited

hparams: Ellipsis[source]
static configs() ride.core.Configs[source]
validate_attributes()[source]
map_loaded_weights(file, loaded_state_dict)[source]
on_init_end(hparams, *args, **kwargs)[source]
ride.finetune.load_model_weights(file: str, hparams_passed, model_state_key)[source]
ride.finetune.try_pyth_load(file, model_state_key)[source]
ride.finetune.try_pickle_load(file)[source]
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.