Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
tensorflow2
tensorflow-2.6.0-tf-keras-hdf5-3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tensorflow-2.6.0-tf-keras-hdf5-3.patch of Package tensorflow2
--- a/tensorflow-2.6.0/tensorflow/python/keras/saving/hdf5_format.py +++ b/tensorflow-2.6.0/tensorflow/python/keras/saving/hdf5_format.py @@ -681,7 +681,7 @@ def load_weights_from_hdf5_group(f, laye for name in layer_names: g = f[name] weight_names = load_attributes_from_hdf5_group(g, 'weight_names') - if weight_names: + if np.any(weight_names): filtered_layer_names.append(name) layer_names = filtered_layer_names if len(layer_names) != len(filtered_layers):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor