Mainly refactored from the SCAAML project.
- TODO
To use this library you need to have a working version of TensorFlow 2.x.
Development dependencies:
- 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 .
(shortpip install -e .
or legacypython setup.py develop
)
- Activate your Python virtual environment
- Install Rust
- Run
maturin develop --release
- Run
python -m pytest
from the project root directory -- no tests should be skipped
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
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.