-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Unable to create group (name already exists) problem #28
Comments
Hi, If you run the code multiple times, it raises this error, because it doesn't overwrite the data inside a given group contained in the H5 file.
Best, |
Thanks for reply. I picked the 2nd option and replace following scripts to dynamically change the name when I run the cell: import datetime as dt
dtime = dt.time()
now = dt.datetime.now()
zeit = now.strftime("%Y-%m-%d %H:%M:%S")
print(f"Last update of notebook:{zeit}")
X, y = load_data()
#replay = ReplayData(X, y, filename='hyperparms_in_action.h5', group_name='part1')
replay = ReplayData(X, y, filename='hyperparms_in_action.h5', group_name=f'part1_{zeit}') but still, those errors mentioned in the issue remain and couldn't figure out what's wrong when I run them in Google colab notebook. |
@dvgodoy is there any update from your side? |
Hi, The error you got Hope it helps. |
Hi, still can't solve it after downgrading. Please see the Google colab notebook.
|
Hi recently I faced a problem when I used this package as its Traceback is following:
I shared the google colab notebook which I could run on Aug 2, 2019, but now it threw out this
KeyError: 'samples'
in 2021. Please check the notebook and feel free to run it for quick debugging.Following is the configuration and package versions in google colab:
This is the full code:
I found the similar open issues here & here related to saving model via hdf5 file. I tried based on some suggestions 12195# and here to save the model with
tf
instead ofh5
inreplay_filename
which was unsuccessful. There is lots of post in this regard in SoFAny helps will be highly appreciated.
The text was updated successfully, but these errors were encountered: