gaxler/dataset_agnostic_segmentation

Objects array cannot be loaded

amitrajitbose opened this issue · 1 comments

I am getting this error when I am trying to train the ICDAR 2013 dataset. This shows up after approx 50% of the training is done.

Error Log

File "/home/abcd/dataset_agnostic_segmentation/data/icdar.py", line 102, in _load_or_cache
    gt_dict, damaged_ids = np.load(str(cache_path))
  File "/home/acbd/miniconda3/envs/heatmap/lib/python2.7/site-packages/numpy/lib/npyio.py", line 447, in load
    pickle_kwargs=pickle_kwargs)
  File "/home/abcd/miniconda3/envs/heatmap/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array
    raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False

@gaxler

Made changes to the code for data/icdar.py