Repository navigation
v0.0.1.dev13
Pre-release
Pre-release
Notable Changes:
- new Auto-Encoders:
AeTripletAe(Aeversion ofTripletVae)AdaAe(Aeversion ofAdaVae)AdaNegTripletAe(Aeversion ofAdaNegTripletVae)
- custom dataset MNIST example in the docs
Breaking Changes
- flattened
disent.frameworks.vaeanddisent.frameworks.aemodules,unsupervised,weaklysupervised, andsupervisedsubmodules no longer exist. - remove latent parameter classes from VAEs, VAEs now directly encode distributions with the
encode_dists()function, this simplified a lot of other code. - Datasets now only return
'x'in the observation dictionary if anaugmentis specified, ~5% performance boost - some dependencies are optional, more work is still required to minimise dependencies
- Removed
sample_random_traversal_factors,sample_random_cycle_factorsfromStateSpaceand replaced with generic functionsample_random_factor_traversal - renamed all autoencoders
AEtoAe
Other Changes:
- hdf5 dataset performance fix, now up to 5x faster when not loaded into memory
- all Auto-Encoders have new config options to disable the augment loss, recon loss, or detach the decoder so that no loss flows back through the encoder. VAEs can additionally have the regularisation loss disabled.
- new
laplacelatent distribution, can be specified in VAE configs. - triplet loss helper functions
- flatness components metric helper functions for use elsewhere:
compute_linear_score,compute_axis_score FftKernelaugment module inheriting fromtorch.nn.Module, applies a channel-wise convolution to the input.to_standardised_tensorfix for non-PIL.Image.Imageinputs- more math helper functions:
torch_normalizenormalise values along an axis between 0 and 1torch_mean_generalizednow supports thekeepdimargument
disent.visualise.visualise_moduleremoved old redundant code adapted from disentanglement_libdisent.visualise.visualise_utiladditionsmake_image_gridandmake_animated_image_gridauto-detect border colour from input dtype- replaced
cycle_factorwithget_factor_traversalthat accepts different modes:intervalandcycle
- cleaned up experiments
++ many more additions and minor fixes ++