Skip to content

got an error when i run webapp.py #74

@rathinam8920

Description

@rathinam8920

(base) root@rcascl4-16:/home/administrator/Desktop/hms/system# python3 WebApp.py
/usr/bin/env: ‘th’: No such file or directory
Traceback (most recent call last):
File "WebApp.py", line 39, in
HomeSurveillance = SurveillanceSystem.SurveillanceSystem()
File "/home/administrator/Desktop/hms/system/SurveillanceSystem.py", line 126, in init
self.recogniser = FaceRecogniser.FaceRecogniser()
File "/home/administrator/Desktop/hms/system/FaceRecogniser.py", line 91, in init
(self.le, self.clf) = pickle.load(f) # Loads labels and classifier SVM or GMM
TypeError: a bytes-like object is required, not 'str'

please help to solve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions