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 5 seconds unless --offline is used.

Azure ML

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

Then on Azure Machine Learning VM go to the Metrics tab or start a TensorBoard server under the Endpoints tab. Using --azureml will try to set --work-dir automatically for the TensorBoard that is run internally at Azure ML and prevent the script from starting own instance.

Contributors

  • Amr Hendy
  • Kevin Duh
  • Roman Grundkiewicz

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.0.5.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

marian_tensorboard-0.0.5-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marian-tensorboard-0.0.5.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for marian-tensorboard-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7ab195eae333f35791622228da44a8a8c0cc1693cc543816a0a56c3c285b0e9b
MD5 921beeeba838f3a52bc89184779ffb9b
BLAKE2b-256 53bdc3d4c3d0e9727024d743ff722acf14ccfbe6b9e0c698b8a1b67c5ed07cd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marian_tensorboard-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d1bd086ed41673617c7c682713916eb439cd429240a27c3c43334ee8fec52f
MD5 f6a41c9a8ec7f47bcfa1c62f72890a61
BLAKE2b-256 a8120464421bb6204a9c3b92df21ad8dbd68172b1b8561d48f8c79defd0a4736

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