blueoil icon indicating copy to clipboard operation
blueoil copied to clipboard

ilsvrc2012 failed in convert

Open lm-lily opened this issue 4 years ago • 1 comments

The following error occurred when running blueoil convert for ilsvrc_2012: TypeError: 'property' object is not iterable

Config file: blueoil/configs/core/classification/darknet_quantize_ilsvrc_2012.py Dataset file: blueoil/datasets/ilsvrc_2012.py

lm-lily avatar May 30 '20 07:05 lm-lily

The classes definition style in dataset file could be the cause of the error: (e.g. ilsvrc_2012, caltech101)

   @property
   @functools.lru_cache(maxsize=None)
   def classes(self):
        .....

The dataset files with direct classes definition classes = [...] are free from this error.

lm-lily avatar May 31 '20 01:05 lm-lily