Skip to content
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

Checkpoints are too old #4

Open
5thofnovemberr opened this issue May 26, 2024 · 2 comments
Open

Checkpoints are too old #4

5thofnovemberr opened this issue May 26, 2024 · 2 comments

Comments

@5thofnovemberr
Copy link

5thofnovemberr commented May 26, 2024

Tensorflow 2 (Keras 3.1.1) only supports .keras or .h5 files but the checkpoints for this repository seem to be for tensorflow 1.x? Running the test.py I'm seeing the following error

File format not supported: filepath=./models/vgg/exported. Keras 3 only supports V3 .kerasand.weights.h5files, or legacy V1/V2.h5 files. in lpips_tensorflow.py:22

@jangting
Copy link

I got same error message.

@jangting
Copy link

After reinstalling tensorflow 2.4.0, the error disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants