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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marian_tensorboard-0.3.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file marian_tensorboard-0.3.0.tar.gz.

File metadata

  • Download URL: marian_tensorboard-0.3.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.21

File hashes

Hashes for marian_tensorboard-0.3.0.tar.gz
Algorithm Hash digest
SHA256 89a02f460226377a981782bd8480f919bbe3c4dd1b36be70a4b8b13f205dbe85
MD5 878c30b5f793de19dc26c3084f495c39
BLAKE2b-256 9e8782dc8ec0033d8bb4a30e5ecfa36d8f0e0ffdede782242ca858fd14313d23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marian_tensorboard-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f505a77860977b4fcd3c5542b5d357b3434a4774c455da16e87cf58a05ae8db3
MD5 e350bbcb3aa4c5a63ad9bbad7ffea33a
BLAKE2b-256 34e9e5af355ad7fcf0e35f94a46e7e8bebdb7badabd9503dd1a867c506f9bae7

See more details on using hashes here.

Supported by

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