Closed colbybanbury closed 8 months ago
shutil copy overwrites by default But gfile copy does not
Given that the file is copied to a tmp path, it actually probably does make sense to just always overwrite the file.
Moving this issue to the new repo location. My mistake
load_model() in saving/saving_api.py calls file_utils.copy() with the argument 'overwrite', which does not exist in utils/file_utils.py
https://github.com/keras-team/keras-core/blob/3a464f904dc8dd09de9c51d248a7fe7c575d7f3e/keras_core/saving/saving_api.py#L169
Removing
overwrite=True
from the function call fixes the error but is probably not the desired behavior.Full Error: