(ubuntu) Please help model.save error in keras

Asked 2 years ago, Updated 2 years ago, 71 views

model.fit(TrainX, TrainY, batch_size=30, epochs=3, verbose=1)

model.save("models.h5")

error :

File "/usr/local/lib/python3.7/site-packages/h5py/_hl/group.py", line 143, in create_dataset 
 if '/' in name:
TypeError: a bytes-like object is required, not 'str'

ubuntu keras tensorflow machine-learning

2022-09-20 19:30

1 Answers

https://github.com/h5py/h5py/issues/1732


2022-09-20 19:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.