Skip to main content

TensorBoard integration for Marian NMT

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marian-tensorboard-0.2.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

marian_tensorboard-0.2.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file marian-tensorboard-0.2.1.tar.gz.

File metadata

  • Download URL: marian-tensorboard-0.2.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for marian-tensorboard-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2a1ddaabc9911cbdb2120a9a2275452d15fe96f8b5ebf31bd778700e539c7662
MD5 f3c9e0bbae0d625769f35a20b09003cd
BLAKE2b-256 18d26e5c3d00d93af98fd1642393ae4e0c95fc85e5c6c9148be48f09db77fb00

See more details on using hashes here.

File details

Details for the file marian_tensorboard-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for marian_tensorboard-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2987d5ee6d10abf4ba78f32e83f2fe310f5caee56e555187d83a1effbd72215c
MD5 2e49137f379e7bfbc4d820d9c5b6568b
BLAKE2b-256 db8e64c316b0bb3a6e853ff9d4d4dcf2f565df14716ca236692c4eb574101f38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page