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

Error in Loading checkpoint file for facenet512 #1238

Open
tahanaveed97 opened this issue May 2, 2023 · 0 comments
Open

Error in Loading checkpoint file for facenet512 #1238

tahanaveed97 opened this issue May 2, 2023 · 0 comments

Comments

@tahanaveed97
Copy link

tahanaveed97 commented May 2, 2023

I am getting this error when I am loading my trained checkpoints. Please help me to overcome this.
AssertionError: Some objects had attributes which were not restored:
<tf.Variable 'Conv2d_1a_3x3/kernel:0' shape=(3, 3, 3, 32) dtype=float32, numpy

The function I have used:

def loadModel():
model = Facenet.InceptionResNetV2(dimension = 512)
model.load_weights('20230502-113715/model-20230502-113715.ckpt-1016')

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

1 participant