Closed JavanehBahrami closed 8 months ago
Any update on this?
@ahsanMuh @JavanehBahrami , you can load the tensorflow model directy using the below script.
model = load_model("pre-trained_weights/model_face_net_files-20231223T152222Z-001/model_face_net_files",custom_objects=
{"Adamw":tfa.optimizers.AdamW}) # updated the loading function
print("model input: ",model.input)
print("model output: ",model.output)
@ahsanMuh @JavanehBahrami I updated the real time testing code with new changes. Please use it for testing.
Hi how to load faceNet to get inference from realtime_testing.py ? I used this way: I load the checkpoint inside the pretrained model that you have added on the net, butit gives me an error
the error is:
Please, I will be appreciate if you can help me @dsabarinathan