Skip to content

Releases

Release v0.3.21

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 13 Nov 19:38
021faba

v0.3.21

This release fixes several bugs that affected training results in 0.3.x and adds a proper test suite so they don't come back. We recommend everyone on 0.3.x update.

Training fixes

  • Fixed the particle pixel count in 2D, which made the estimated particle fraction (pi) about 7x too high.
  • Fixed negative sampling, which could draw "negative" crops on top of labeled particles.
  • Fixed data loader workers producing identical batches, as found #260 by @i7878 and @bsobol.
  • topaz train now accepts TIFF and PNG micrographs, not just MRC.

Extraction and segmentation

  • Fixed the 3D radius search in topaz extract (--targets with --dims 3).
  • --patch-size now works the same way in extract and segment: it is the size of the region scored per patch, and padding of half the model's receptive field is added automatically. Larger patches are faster but use more memory.
  • Fixed segment --patch-size crashing, and extract crashing when --output is an existing directory.

Image and file handling

  • MRC headers written by preprocess and downsample now have the correct size, pixel size and statistics.
  • PNG and JPEG images load with their original values instead of raw 0-255.
  • Fixed convert --invert-y, reading VIA .csv files with pandas 2, and coordinate writers dropping z_coord.
  • Fixed average precision for float64 inputs.

Testing and packaging

  • New pytest suite (341 tests) run on Python 3.8 to 3.13 before every release. See test/walkthrough.ipynb for what each test checks.
  • Pretrained denoising models no longer need pkg_resources.
  • Python 3.13 patch releases (3.13.x) can now install topaz.

Thanks to everyone who reported issues!

Release v0.3.20

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 11 May 18:34
  • Merged PR from @bsobol removing extra 'file=sys.stderr' in report()

Release v0.3.19

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 09 May 06:08
  • Fixed bugs in dataloaders that limited worker usage.
  • Added options to preload training data into memory ('auto' setting will preload if dataset is <80% of free memory).
  • Denoise command (via denoise_stream) by default returns list of paths instead of list of images.

Release v0.3.18

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 27 Jan 20:03
95abc95

Added flush to training loop print statements to avoid buffering output.

Release v0.3.17

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 05 Dec 23:29

Incorporating create_particle_stack bug fixes

Release v0.3.16

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 08 Sep 22:08
Fix typo and increase version

Release v0.3.14

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 05 Sep 03:03

New in v0.3.X

  • Major refactoring of logic out of commands for modularity
  • Refactored datasets and sampling allow larger training sets with mixed micrograph sizes
  • Particle extraction can now be performed in patches (thanks to @jake4844 for help with this)
  • Topaz train now additionally reports adjusted_precision, as a proportion of the theoretical max precision (pi)
  • Can now read long argument lists using "@list_of_many_files.txt" in place of filenames or wildcards (thanks to #192 from @nfrasser)
  • 3D particle-picking is in development on the dev-topaz3d branch
  • Various bug fixes

Release v0.3.13

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 25 Aug 23:18

New in v0.3.X

  • Major refactoring of logic out of commands for modularity
  • Refactored datasets and sampling allow larger training sets with mixed micrograph sizes
  • Particle extraction can now be performed in patches (thanks to @jake4844 for help with this)
  • Topaz train now additionally reports adjusted_precision, as a proportion of the theoretical max precision (pi)
  • Can now read long argument lists using "@list_of_many_files.txt" in place of filenames or wildcards (thanks to #192 from @nfrasser)
  • 3D particle-picking is in development on the dev-topaz3d branch
  • Various bug fixes

Release v0.3.12

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 25 Aug 22:07

New in v0.3.X

  • Major refactoring of logic out of commands for modularity
  • Refactored datasets and sampling allow larger training sets with mixed micrograph sizes
  • Particle extraction can now be performed in patches (thanks to @jake4844 for help with this)
  • Topaz train now additionally reports adjusted_precision, as a proportion of the theoretical max precision (pi)
  • Can now read long argument lists using "@list_of_many_files.txt" in place of filenames or wildcards (thanks to #192 from @nfrasser)
  • 3D particle-picking is in development on the dev-topaz3d branch
  • Various bug fixes

Release v0.3.11

Choose a tag to compare

@DarnellGranberry DarnellGranberry released this 27 Jun 15:16

New in v0.3.X

  • Major refactoring of logic out of commands for modularity
  • Refactored datasets and sampling allow larger training sets with mixed micrograph sizes
  • Particle extraction can now be performed in patches (thanks to @jake4844 for help with this)
  • Topaz train now additionally reports adjusted_precision, as a proportion of the theoretical max precision (pi)
  • Can now read long argument lists using "@list_of_many_files.txt" in place of filenames or wildcards (thanks to #192 from @nfrasser)
  • 3D particle-picking is in development on the dev-topaz3d branch
  • Various bug fixes