Neptune.ai tensorflow-keras integration library
Project Links
Meta
Author: neptune.ai
Requires Python: >=3.7,<4.0
Classifiers
Development Status
- 4 - Beta
Environment
- Console
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: Apache Software License
Natural Language
- English
Operating System
- MacOS
- Microsoft :: Windows
- POSIX
- Unix
Programming Language
- Python :: 3
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: Implementation :: CPython
Topic
- Scientific/Engineering :: Artificial Intelligence
- Software Development :: Libraries :: Python Modules
Neptune + Keras integration
Experiment tracking for Keras-trained models.
What will you get with this integration?
- Log, organize, visualize, and compare ML experiments in a single place
- Monitor model training live
- Version and query production-ready models and associated metadata (e.g., datasets)
- Collaborate with the team and across the organization
What will be logged to Neptune?
- hyperparameters for every run,
- learning curves for losses and metrics during training,
- hardware consumption and stdout/stderr output during training,
- TensorFlow tensors as images to see model predictions live,
- training code and Git commit information,
- model weights,
- other metadata
Example charts in the Neptune UI with logged accuracy and loss
Resources
Example
On the command line:
pip install neptune-tensorflow-keras
In Python:
import neptune
from neptune.integrations.tensorflow_keras import NeptuneCallback
from neptune import ANONYMOUS_API_TOKEN
# Start a run
run = neptune.init_run(
project="common/tf-keras-integration",
api_token=ANONYMOUS_API_TOKEN,
)
# Create a NeptuneCallback instance
neptune_cbk = NeptuneCallback(run=run, base_namespace="metrics")
# Pass the callback to model.fit()
model.fit(
x_train,
y_train,
epochs=5,
batch_size=64,
callbacks=[neptune_cbk],
)
# Stop the run
run.stop()
Support
If you got stuck or simply want to talk to us, here are your options:
- Check our FAQ page
- You can submit bug reports, feature requests, or contributions directly to the repository.
- Chat! When in the Neptune application click on the blue message icon in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP),
- You can just shoot us an email at support@neptune.ai
2.2.2
Mar 14, 2024
2.2.1
Jan 29, 2024
2.2.0
Jul 24, 2023
2.1.1
Mar 31, 2023
2.1.0
Mar 13, 2023
2.0.1
Mar 06, 2023
2.0.0
Feb 06, 2023
1.2.1
Jan 24, 2023
1.2.0
Nov 07, 2022
1.1.0
Oct 04, 2022
1.0.0
Sep 23, 2022
0.9.9
Sep 07, 2021
0.9.8
Jul 07, 2021
0.9.7
Jun 18, 2021
0.9.6
Jun 17, 2021
0.9.5
Jun 01, 2021
0.9.4
May 27, 2021
0.9.3
Apr 30, 2021
0.9.2
Apr 29, 2021
0.9.1
Mar 25, 2021
0.9.0
Mar 24, 2021
0.0.3
Mar 23, 2021
0.0.1
Mar 15, 2021
0.0.0
Mar 15, 2021