load_weights` requires h5py when loading weights from HDF5

需要安装指定版本的h5py

安装过程中会出现 h5py error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 的错误

解决办法:

sudo pip install cython

sudo apt-get install libhdf5-dev

sudo pip install h5py

你可能感兴趣的:(环境搭建,python,开发语言)