neptune-sacred 1.0.1


pip install neptune-sacred

  Latest version

Released: Jul 26, 2023


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 :: Implementation :: CPython

Topic
  • Scientific/Engineering :: Artificial Intelligence
  • Software Development :: Libraries :: Python Modules

Neptune + Sacred Integration

Neptune is a tool used for experiment tracking, model registry, data versioning, and live model monitoring. This integration lets you use it as a UI (frontend) for the experiments you track in Sacred.

What will you get with this integration?

  • Log, display, organize, and compare ML experiments in a single place
  • Version, store, manage, and query trained models, and model building metadata
  • Record and monitor model training, evaluation, or production runs live

What will be logged to Neptune?

  • Hyperparameters
  • Losses and metrics
  • Training code (Python scripts or Jupyter notebooks) and Git information
  • Dataset version
  • Model configuration
  • Other metadata

image Example custom dashboard in the Neptune app

Resources

Example

On the command line:

pip install neptune-sacred

In Python:

import neptune

# Start a run
run = neptune.init_run(
    project = "common/sacred-integration",
    api_token = neptune.ANONYMOUS_API_TOKEN,
)

# Create a Sacred experiment
experiment = Experiment("image_classification", interactive=True)

# Add NeptuneObserver and run the experiment
experiment.observers.append(NeptuneObserver(run=run))
experiment.run()

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
flatten-dict
importlib-metadata
neptune (>=1.0.0)
sacred