Skip to content

v2023.12.22.3

Compare
Choose a tag to compare
@feranick feranick released this 22 Dec 03:06
· 72 commits to master since this release

Changelog:

  1. Introduced new versioning system consistent with common practices.
  2. SpectraKeras
    • Added support for TF 2.15.0 and newer, and Python 3.11.
    • Models are now natively saved using the high-level format .keras, rather then the legacy .h5. Models saved with previous versions in the .h5 format can be seamlessly open by the new version.
    • Improved visualization of quantization operations.
  3. Utilities
    • New: AddMixHighFreqMaker.py: Data augmentation via data average of high frequency datapoints.
    • New:ThresholdCrossValidMaker.py: Choose randomly selected datapoints only from classes with multiple members (high frequency)
    • New:ShowClasses.py: Show unique classes in training/validation dataset.
    • RruffDataMaker.py, GenericDataMaker.py,XmuDataMaker.py: Set boundaries to minimum of spectra, rather than zero. Fix setting boundaries to actual minima.
    • RandomCrossValidMaker.py: Increase granularity in percentage while naming training/test files. Show unique classes in validation set, and check for classes with multiple members (ask to save files if that is the case). Added flag to allow fully random seeding of selection for split. Code cleanup.
    • MixMakerRruff.py: Make plotting of the mixture optional. Fixed deprecated call.
    • PlotRruffSpectraRound.py,PlotRruffSpectra.py: Fixed bug and deprecated call.
    • PlotMultiASCII.py: Fix bugs and remove legend in plot.
  4. Other
    • Folder cleanup
  5. Known issues
    • Inference using Coral EdgeTPU requires Tflite-runtime 2.11.1 or lower (on Linux). This can be compiled from TensorFlow source by following directions listed here. This will be fixed in the version of SpectraKeras (and EdgeTPU libraries), planned along the release of TF 2.16.0 in 2024.