Disent

Latest version: v0.8.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.7.1

What's Changed
* Make beta tc loss more stable using torch.logsumexp by meffmadd in https://github.com/nmichlo/disent/pull/41


**Full Changelog**: https://github.com/nmichlo/disent/compare/v0.7.0...v0.7.1

0.7.0

What's Changed
* Implement simple model checkpointing by meffmadd in https://github.com/nmichlo/disent/pull/37
+ relatively minor breaking change for experiment configs, now requires an additional checkpoint key

**Full Changelog**: https://github.com/nmichlo/disent/compare/v0.6.3...v0.7.0

0.6.3

What's Changed
* Fix x_shape config value in norm_conv64.yaml by meffmadd in https://github.com/nmichlo/disent/pull/35

New Contributors
* meffmadd made their first contribution in https://github.com/nmichlo/disent/pull/35

**Full Changelog**: https://github.com/nmichlo/disent/compare/v0.6.2...v0.6.3

0.6.2

Fixes

- Fix examples that use `num_workers != 0`. When using DataLoaders with multiple workers, these need to be run from within `if __name__ == '__main__': ...`
- Fix `torch_optimizer>=0.1.0,!=0.2` in `requirements.txt`

0.6.1

Fixes
- fix circular import in `disent.frameworks.vae` and `disent.frameworks.ae`
- fix requirements.txt, limit: `pytorch-lightning>=1.4.0,<1.7`

Tests
- Add test for circular import

Additions
- add dfc pairwise loss to dfc loss module

0.6.0

Fixes
- MPI3D was not correctly loaded, first few factors were misaligned
+ Recomputed statistics for new datasets and updated configs

Additions
- Added `disent.data.data.DataFileSprites`, a **custom** version of [sprites](https://paperswithcode.com/dataset/sprites)
+ Added experiment configs and computed dataset statistics
- Multiple version of `disent.dataset.data.Mpi3dData` now exist, for different use cases because the dataset is so large
+ added `Mpi3dHdf5Data` -- converts the files to hdf5 to stream from disk, but very slow to load into memory directly
+ added `Mpi3dNumpyData` -- loads the files directly into memory (quick), cannot read from disk
+ changed: `Mpi3dData` is now a wrapper around both of the above, and the mode can be specified with `in_memory`
- `disent.dataset.util.state_space.StateSpace`
+ Added init checks
+ Added helper method `invert_factor_idxs` that returns the unspecified factor indices, or the inverse set.
+ Added helper method `sample_indices` that samples valid indices in the range of the dataset.
+ Improved sampling and other methods that take in factors to first call `normalise_factor_idxs` so that we can use factor names in these functions instead.
+ Added helper method `sample_random_factor_traversal_grid` that samples a grid of traversals, one for each ground-truth factor.
- Added `disent.util.inout.paths.modify_ext(...)` that modifies the extension of a path

Breaking changes
- move `disent.dataset.util.npz` to `disent.dataset.util.formats.npz`
- move `disent.dataset.util.hdf5` to `disent.dataset.util.formats.hdf5`
- `disent.util.inout.hashing.hash_file` now has `missing_ok=False` by default

Minor Fixes
- Fix `stalefile` now correctly handles missing files
- Various plotting fixes, now functions support RGBa images not just grey or RGB images.

New Tests
- Added some new tests for both dataset formats and state spaces

TODO:
- Added `Teapots3dData` but it is not complete, needs to be converted to a "random" dataset, as this dataset does not actually have valid ground truth factors in the form of a state space, rather they are randomly sampled.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.