codingforentrepreneurs / OpenCV-Python-Series

An OpenCV & Python Tutorial Series and Reference.
399 stars 550 forks source link

EOFError: Ran out of input #14

Closed flukedev8 closed 4 years ago

flukedev8 commented 4 years ago

i have a problem 😂🤣

labels = {"person_name": 1} with open("labels.pickle", 'rb') as f: og_labels = pickle.load(f) labels = {v:k for k,v in og_labels.items()}

Traceback (most recent call last): File "FeacID.py", line 11, in og_labels = pickle.load(f) EOFError: Ran out of input

how to fix it ? help me please 😂😂👨‍💻

flukedev8 commented 4 years ago

ok i can fix it i changed somthing
labels = {"person_name": 1} is labela = {'person_name': 1 }