ml-collections
ML Collections is a library of Python collections designed for ML usecases.
1.1.0
2.2M downloads/mo
#3218 most downloaded on PyPI
google/ml_collections
What this package is like to depend on
Last release 1 years ago
17 Apr 2025
Ships fairly regularly
a new release about every 1.4 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
6 years old
4 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
4 releases · Aug 2020 to Apr 2025Releases
latest 4-
1.1.017 Apr 2025Commits, not release notes
This project publishes no release notes. Between
v1.0.0andv1.1.0there were 10 commits, 9 of them substantive:- remove usage of Six Py2+3 compatibility layer
- Better error message when flag parsing fail
- Support overwriting ConfigDict through flags
- Support
accept_new_attributesinDEFINE_config_dict. - Pass
allow_dotted_keysto recursive call ofConfigDict. - Set allow_dotted_keys equal to original class during copy operations
- Fix error when assigning a reference field to a dict field
- Reraise error keep original message
- Release ml_collections 1.1.0
-
1.0.011 Nov 2024Commits, not release notes
This project publishes no release notes. Between
v0.1.1andv1.0.0there were 105 commits, 96 of them substantive:- Create python-publish to publish a release
- Update python-publish to use Twine to push to pypi
- Internal change only.
- Improve readability of a typing error message to make it clear what is the original type and what is it the type of new variable where overriding failed.
- Fix DEFINE_config_dataclass to have the correct type when accessed via flags and to belong to the correct module.
- Use
astmodule to split string. Remove broken Python2 support. - Config_dict: provide a little more detail in a certain error message.
- Adding file to keep only in the github repo.
- Typo in README.md
- Make the examples use the public API.
- Update recommended usage of absl.flags.
- Silence some pytype errors.
- Use preferred import pattern
from ml_collections import config_flags. - Add an ability to provide custom parser function for DEFINE_config_dataclass, so that an entire dataclass can be specified.
- Make ml_collection imports more targeted (config_dict or config_flags).
- Remove unused comments related to Python 2 compatibility.
- Remove unused comments related to Python 2 compatibility.
- Remove unused comments related to Python 2 compatibility.
- Remove unused comments related to Python 2 compatibility.
- Support overriding enum values with flags.
…and 76 more.
-
0.1.127 Jan 2022Nothing published for this version
-
0.1.024 Aug 2020Nothing published for this version