narender-rk10 / MyProctor.ai-AI-BASED-SMART-ONLINE-EXAMINATION-PROCTORING-SYSYTEM

This is a AI Based Smart Exam Proctoring System using python flask, mysql as database, yolov4
146 stars 98 forks source link

Issue with loading saved model #34

Open OlayinkaSoftware opened 1 year ago

OlayinkaSoftware commented 1 year ago

Hi Narender,

I am having issue loading the model. This is the error message below:

File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\app.py", line 29, in import camera File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\camera.py", line 293, in landmark_model = get_landmark_model() File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\face_landmarks.py", line 7, in get_landmark_model model = keras.models.load_model(saved_model) File "c:\users\olayinka.adu\desktop\monitor\monitor\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler raise e.with_traceback(filtered_tb) from None File "c:\users\olayinka.adu\desktop\monitor\monitor\lib\site-packages\h5py_hl\files.py", line 533, in init fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr) File "c:\users\olayinka.adu\desktop\monitor\monitor\lib\site-packages\h5py_hl\files.py", line 226, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py\h5f.pyx", line 106, in h5py.h5f.open OSError: Unable to open file (file signature not found)

Kindly assist.

AbdulWahid26 commented 2 months ago

Have you found any solution for this issue?

iamgarriTech commented 2 months ago

I had to build from scratch

On Thu, Apr 18, 2024, 3:34 PM AbdulWahid26 @.***> wrote:

Have you found any solution for this issue?

— Reply to this email directly, view it on GitHub https://github.com/narender-rk10/MyProctor.ai-AI-BASED-SMART-ONLINE-EXAMINATION-PROCTORING-SYSYTEM/issues/34#issuecomment-2064025355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVRAEZUVYEW6AHAB35XCEBLY57KWNAVCNFSM6AAAAAAQVCXCC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRUGAZDKMZVGU . You are receiving this because you commented.Message ID: <narender-rk10/MyProctor. ai-AI-BASED-SMART-ONLINE-EXAMINATION-PROCTORING-SYSYTEM/issues/34/2064025355 @github.com>

AbdulWahid26 commented 2 months ago

If you could share. It will be really helpful.

AbdulWahid26 commented 2 months ago

I had to build from scratch On Thu, Apr 18, 2024, 3:34 PM AbdulWahid26 @.***> wrote: Have you found any solution for this issue? — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVRAEZUVYEW6AHAB35XCEBLY57KWNAVCNFSM6AAAAAAQVCXCC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRUGAZDKMZVGU . You are receiving this because you commented.Message ID: <narender-rk10/MyProctor. ai-AI-BASED-SMART-ONLINE-EXAMINATION-PROCTORING-SYSYTEM/issues/34/2064025355 @github.com>

If you could share it would be helpful.