Mainly refactored from the SCAAML project.
See the documentation website: https://google.github.io/sedpack/.
TensorFlow 2.x is an optional dependency
required only when using the "tfrec" shard format or Dataset.as_tfdataset.
It can be installed via pip install "sedpack[tf]".
Development dependencies:
- python-dev and gcc for xxhash
- Clone the repository:
git clone https://github.com/google/sedpack - Install dependencies:
python3 -m pip install --require-hashes -r requirements.txt - Install the package in development mode:
python3 -m pip install --editable ".[dev]"(orpython3 -m pip install --editable .for a minimal installation without TensorFlow and development tools)
- Activate your Python virtual environment
- Install Rust
- Run
maturin develop --release - Run
python -m pytestfrom the project root directory -- no tests should be skipped when TensorFlow is installed (e.g., viapip install -e ".[dev]")
Make sure to have: sudo apt install python3 python3-pip python3-venv and
activated the virtual environment.
Install requirements: pip install --require-hashes -r base-tooling-requirements.txt
Update: pip-compile pyproject.toml --generate-hashes --upgrade and commit requirements.txt.
pip install sedpack (or pip install "sedpack[tf]" to include optional
TensorFlow support)
A tutorial and documentation is available at https://google.github.io/sedpack/.
Code for the tutorials is available in the docs/tutorials directory. For a
"hello world" see
https://google.github.io/sedpack/tutorials/mnist/.
This is not an official Google product.