Pradeep Sharma
Sep 4, 2018 · 1 min read

i am getting this error.. why?

<ipython-input-38-157c9bda2cd6> in <module>()
----> 1 run()

<ipython-input-37-64d22405bc30> in run()
10 sample = random.sample(files, 3)
11
---> 12 batch_extractor(images_path)
13
14 ma = Matcher('features.pck')

<ipython-input-34-d520ed11d882> in batch_extractor(images_path, pickled_db_path)
41 # saving all our feature vectors in pickled file
42 with open(pickled_db_path, 'w') as fp:
---> 43 pickle.dump(result, fp)

TypeError: write() argument must be str, not bytes

    Pradeep Sharma

    Written by