kaira.utils.seed_everything

kaira.utils.seed_everything(seed: int, cudnn_benchmark: bool = False, cudnn_deterministic: bool = True)[source]

Seed all random number generators to make runs reproducible.

Parameters:
  • seed (int) – The seed value for random number generators.

  • cudnn_benchmark (bool) – If True, allows the use of CuDNN’s auto-tuner to find the best algorithm for your hardware. Setting this False might have performance implications.

  • cudnn_deterministic (bool) – If True, makes CuDNN operations deterministic. Setting this False might have performance implications.

Examples using kaira.utils.seed_everything

Channel Comparison

Channel Comparison

Original DeepJSCC Model (Bourtsoulatze 2019) with Training

Original DeepJSCC Model (Bourtsoulatze 2019) with Training

Deep Joint Source-Channel Coding (DeepJSCC) Model - Bourtsoulatze2019 Implementation

Deep Joint Source-Channel Coding (DeepJSCC) Model - Bourtsoulatze2019 Implementation