Skip to main content

Plot metrics from a Topaz training run

Project description



Plot metrics from a Topaz training run.


$ pip install topaztrainmetrics


$  topaztrainmetrics --help
Usage: topaztrainmetrics [OPTIONS] <file>

  Plot validation metrics from a Topaz training run.

  <file> is the results.txt file from standalone Topaz or the file from Topaz run within RELION.

  -l, --loss                Plot loss.
  -g, --gepenalty           Plot GE penalty.
  -p, --precision           Plot precision.
  -t, --tpr                 Plot true/false positive rates.
  -c, --auprc               Plot area under precision/recall curve (default).
  -x, --xaxis [iter|epoch]  X axis (iter or epoch; default: iter).
  -o, --output TEXT         File name to save the plot (optional: with no file
                            name, simply display plot on screen without saving
                            it; recommended file formats: .png, .pdf, .svg or
                            any format supported by matplotlib).

  -h, --help                Show this message and exit.

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

topaztrainmetrics-1.2.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

topaztrainmetrics-1.2-py3-none-any.whl (4.3 kB view hashes)

Uploaded py3

Supported by

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