Emotion
Emotion copied to clipboard
Not able to load the model
UserWarning: Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer. warnings.warn('Error in loading the saved optimizer '
I get the same in Ubuntu
UserWarning: Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer. warnings.warn('Error in loading the saved optimizer '
from lines 35 to 39, use this (opening 2 videocaptures at a time is causing the crash) . . . . . . cv2.namedWindow('window_frame') #video_capture = cv2.VideoCapture(0) cap = cv2.VideoCapture(0) while cap.isOpened(): # True: . . .