Keras Core Addons: Useful extra functionality for Keras Core.
Project description
Keras Core Addons
Keras Core Addons is a repository of contributions that conform to well-established API patterns, but implement new functionality not available in Keras Core. Keras Core natively supports a large number of operators, layers, metrics, losses, and optimizers. However, in a fast moving field like ML, there are many interesting new developments that cannot be integrated into core Keras Core (because their broad applicability is not yet clear, or it is mostly used by a smaller subset of the community).
Unlike the package this is inspired by (Tensorflow Addons), Keras Core Addons maintains a near similar structure to
Keras Core, with the activations
, layers
and losses
structure being continued. This is for potential adoption into
Keras Core being as seamless as possible.
Setup and Installation
Installing from PyPI
Yes, we have published kca
on PyPI! To install kca
and all its dependencies, the easiest method would be to use
pip
to query PyPI. This should, by default, be present in your Python installation. To, install run the following
command in a terminal or Command Prompt / Powershell:
$ pip install kca
Depending on the OS, you might need to use pip3
instead. If the command is not found, you can choose to use the
following command too:
$ python -m pip install kca
Here too, python
or pip
might be replaced with py
or python3
and pip3
depending on the OS and installation
configuration. If you have any issues with this, it is always helpful to consult
Stack Overflow.
Installing from Source
To install from source, you need to get the following:
Git
Git is needed to install this repository. This is not completely necessary as you can also install the zip file for this repository and store it on a local drive manually. To install Git, follow this guide.
After you have successfully installed Git, you can run the following command in a terminal / Command Prompt etc:
$ git clone https://github.com/terminalai/kca.git
This stores a copy in the folder kca
. You can then navigate into it using cd kca
.
Poetry
This project can be used easily via a tool know as Poetry. This allows you to easily reflect edits made in the original
source code! To install poetry
, you can also install it using pip
by typing in the command as follows:
$ pip install poetry
Again, if you have any issues with pip
, check out here.
After this, you can use the following command to install this library:
$ poetry install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.