Skip to content

Commit

Permalink
TensorLayerX 0.5.7 release (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laicheng0830 committed Sep 19, 2022
1 parent 9add5c7 commit 139d377
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

MAJOR = 0
MINOR = 5
PATCH = 6
PATCH = 7
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down
2 changes: 0 additions & 2 deletions tensorlayerx/files/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ def load_cropped_svhn(path='data', include_extra=True):
v = np.load(np_file, allow_pickle=True)
X_extra = v['X']
y_extra = v['y']
# print(X_train.shape, X_extra.shape)
logging.info(" adding n_extra {} to n_train {}".format(len(y_extra), len(y_train)))
t = time.time()
X_train = np.concatenate((X_train, X_extra), 0)
Expand Down Expand Up @@ -2691,7 +2690,6 @@ def load_hdf5_to_weights_in_order(filepath, network, skip=False):
"""
f = h5py.File(filepath, 'r')
weights = f['model_parameters']
print(weights.keys())
if len(weights.keys()) != len(set(weights.keys())):
raise Exception("Duplication in model npz_dict %s" % name)

Expand Down
2 changes: 1 addition & 1 deletion tensorlayerx/package_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAJOR = 0
MINOR = 5
PATCH = 6
PATCH = 7
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down

0 comments on commit 139d377

Please sign in to comment.