Skip to content

Advanced Features

Ravin D edited this page Oct 9, 2024 · 1 revision

Advanced Features in PyDeepFlow

1. Custom Loss Functions:

You can define your custom loss function and pass it to the model.

2. GPU Acceleration:

Utilize GPU with CuPy for faster training.

3. Learning Rate Scheduling:

Customizable learning rate schedulers for dynamic adjustment of the learning rate during training.

# Define a step decay learning rate scheduler
scheduler = LearningRateScheduler

(lr_type='step_decay', initial_lr=0.01, drop_factor=0.5, step_size=10)