Skip to content

v2024.03.08.1

Compare
Choose a tag to compare
@feranick feranick released this 08 Mar 20:22
· 18 commits to master since this release

Changelog:

  1. SpectraKeras
    • Added support for TF 2.16.1. While keras v3 is the default in TF 2.16.1 (as opposed tov2 in previous releases), models created with keras v3 are incompatible with previous versions of TF. Spectrakeras has now a new flag kerasVersion in the SpectraKeras_XXX.ini, with default using keras v2. Models trained and saved with TF 2.15.0 and earlier as well as models trained and saved in TF2.16.1 in keras v2 mode are compatible. Models trained and saved in TF2.16.1 in keras v3 mode (kerasVersion=3inSpectraKeras_XXX.ini) are not backward compatible. If backward compatibility is a priority, keras v2 mode should be used.
    • A new flag kerasVersion = 2inSpectraKeras_XXX.ini. If using ini files from previous versions of SpectraKeras, please add the flag in the System section for correct operation.
    • Improved performance in reading inference files (especially during batch processing).
    • SpectraKeras-web: Initial release of a web based version that relies on the same python3 backend through PHP. This repo provides the index.php needed to run, not models, etc. This method is absolutely not scalable (compared to tensorflow-js), as the prediction is done server-side. It is only to allow web-access to SpectraKeras for limited personal use.
  2. Utilities
    • LabelFinder.py, RangeToDataMaker.py: code cleanup.
    • ConvertToTFLiteK2.py: Revised for compatibility with TF 2.16.1 using 'keras v2` and models saved with previous versions of TF.
    • ConvertToTFLiteK3.py: Revised for compatibility with TF 2.16.1 using 'keras v3`.
  3. Other
    *
  4. Known issues