-
Notifications
You must be signed in to change notification settings - Fork 5
Changelog
Fixes:
- Fixed issue #2 "Error : expected an indented block after 'except' statement on line 240"
- Updated version numbers and requirements_cu11.txt
Improvements and bugfixes:
- Fixed a bug in PyTorch-model loading
- Improved loading and handling of TensorFlow models
- Added support for Metal Performance Shaders (MPS)
- Added requirement file for virtual python environment on mac os
- Fixed incorrect decoding of 1-dimensional tensors of size 1
Fix:
- Removed the import of an unused python-package which caused errors
Bug fixes and improvements:
- Fixed an issue, which caused a wrong return value when specifying return_decompressed_model in decompress_model
- compress_model now also accepts arrays of type uint8, uint16, int8, int16 and float16 (but internally converts them into int32 or float32)
- improved guessing of block_id and parameter_types for TensorFlow and PyTorch
- NNCodec now accepts to only specify a subset of the tensors for block_id_and_param_type
Integration of minor fixes:
- The file 'imagenet_validation_files.txt' in framework/applications/datasets has not been copied during the installation process
- The folder 'tuning' is not required to be present when using ImageNet. The data used for fine tuning is specifed in 'imagenet_validation_files.txt'
Aligned requirements.txt with requirements_cu11.txt and updated handling of tensorflow state dictionaries such that it compatible with the current version of the "h5py" package.
Bugfix for compression of arbitrary numpy dictionaries with 'compress':
- The encoder crashed during encoding of arbitrary numpy dictionaries with the 'compress' function. This was caused by missing entries for the parameter types in the model_information dictionary.
Fixed setting a qp per tensor using the encoder parameter qp_per_tensor. The encoder crashed when using this parameter.
Updated the python requirement files. Now, instead of specifiying specific package versions, only minimum requirements are defined. This simplifies integration of NNCodec in existing python projects.
Fix for compression of integer tensors:
- Encoder and decoder crashed during compression/decompression of integer tensors
- Remove LSA parameters from parameters dict when the sanity check for block_id_and_param_type fails and lsa is disabled
- Fixed LSA/FT (crashed under certain conditions)
- Fixed model_executer creation for TensorFlow models on ImageNet
- Removed unsused code and improved naming of variables
- Initial release
Home | Installation-Guide | Usage | Copyright © 2019-2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.