Skip to content

v3.4.8

Choose a tag to compare

@EthanTreg EthanTreg released this 28 Jan 17:56

Additions

  • Added all network architectures, loss functions, transforms, and Network to PyTorch safe globals.
  • Added set_optimiser and set_scheduler to BaseNetwork to set the default scheduler and optimiser.
  • Added weights_only optional argument to load_net.
  • Added weights only compatible loss functions.
  • Added flatten_target optional argument to Linear.
  • Added test decoder and encoder architectures.
  • Added optional offset and scale arguments to Normalise transform if data is not provided.
  • Added repr to BaseNetwork.

Changes

  • Changed package versions to latest versions.
  • Changed network loading to be compatible with PyTorch weights only loading.
  • Changed load_net to use weights only by default.
  • Changed optimiser and scheduler saving/loading to save/load state dictionaries.

Fixes

  • Fixed optimiser loading not linking with loaded network.
  • Fixed list indexing and boolean operation problems with Shortcut layer.
  • Fixed incorrect loading of Network state dictionary.
  • Fixed improper file path creation.