Closed RookieHong closed 4 years ago
Does this work?
coco_attr_fpath = os.path.join(
data_dir,
'coco_attr/cocottributes_eccv_version.pkl'
)
with open(coco_attr_fpath, 'rb') as fid:
attr_dset = pickle.load(fid, encoding='latin1')
It works, thanks!!
I tried to load it using pickle in Python 3.7, an error is raised when loading it using pickle.load:
Then I tried with parameter encoding='iso-8859-1' and then another error is raised: