Skip to main content

Marian Tensorboard

TensorBoard integration for Marian NMT. marian-tensorboard generates charts for TensorBoard or Azure ML Metrics from Marian's training logs.

It started as a project at MTMA 2022 and conceptually at MTM 2019.

Installation

Using PyPI:

pip install marian-tensorboard

With optional extras for MLflow or Azure ML support:

pip install marian-tensorboard[mlflow]    # requires Python >= 3.10
pip install marian-tensorboard[azureml]

Locally:

git clone https://github.com/marian-nmt/marian-tensorboard
cd marian-tensorboard
virtualenv -p python3 venv
source ./venv/bin/activate
python3 setup.py install

Both will add new marian-tensorboard command.

Usage

Local machine

marian-tensorboard -f examples/train.encs.*.log

Open a web browser at https://localhost:6006. The script will update the TensorBoard charts every --update-freq seconds unless --offline is used.

Azure ML

marian-tensorboard -f path/to/train.log [-t tb azureml]

Then on Azure Machine Learning VM go to the Metrics tab or start a TensorBoard server under the Endpoints tab.

Note that logging into Azure ML Metrics is automatically enabled if Azure ML Run ID is detected. Specify -t azureml to disable TensorBoard logging. If Azure ML is enabled, the script will not start an own TensorBoard server instance.

Contributors

  • Amr Hendy
  • Kevin Duh
  • Roman Grundkiewicz
  • Marcin Junczys-Dowmunt

See CHANGELOG.md.

License

See LICENSE.md.

Metadata

Release files for marian-tensorboard 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marian-tensorboard 0.3.1
File Size Uploaded Provenance Actions
marian_tensorboard-0.3.1.tar.gz 13.2 kB Without provenance Details for marian_tensorboard-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for marian-tensorboard 0.3.1
File Interpreter ABI Platform Actions
marian_tensorboard-0.3.1-py3-none-any.whl Python 3 none any Details for marian_tensorboard-0.3.1-py3-none-any.whl

Total release size: 24.0 kB

Release files / marian_tensorboard-0.3.1.tar.gz

Download URL marian_tensorboard-0.3.1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d87e979f4c772f5414ab6359ca5544988b95a60b3e0b8c609bfeef0c21e20eb4
BLAKE2b-256 checksum
How to use checksums
0fab2a9ba14efbd8ca8362d8415e914f53fe101af3cee4ad111583db86134e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / marian_tensorboard-0.3.1-py3-none-any.whl

Download URL marian_tensorboard-0.3.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47aa6ba227ce851cd5a281472fb51f3fce61a276b6342cf795d77be8c8e347ef
BLAKE2b-256 checksum
How to use checksums
95c0b6d4867a1390755f7cd4ab25a5a3fad520a2a0298031d389461a0d9db5ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for marian-tensorboard 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page