Skip To Main Content
Support Knowledge Base

Unable to Obtain Expected File Size after Serializing HDF5 Format into SavedModel Format

Content Type: Troubleshooting   |   Article ID: 000092781   |   Last Reviewed: 11/16/2022

Description

  • Installed the prerequisites for TensorFlow* 2 by running install_prerequisites_tf2.sh.
  • Serialized HDF5 format into SavedModel format but getting smaller file size than expected.

 

Resolution

  • Check the installed TensorFlow* 2 version with Python*:

import tensorflow

print(tensorflow.__version__)

 

  • Upgrade manually TensorFlow* 2 version if the installed TensorFlow* 2 version does not match with the specific version stated in requirements_tf2.txt.

pip install tensorflow==X.X.X

 

Related Products

This article applies to 1 products.