Closed niihori closed 3 years ago
@niihori thanks for well formed issue report. @eaidova @eizamaliev could you please take a look at this? Is there something should be corrected on our side?
@niihori thank you for your report. I prepared fix: https://github.com/openvinotoolkit/open_model_zoo/pull/2486
System information (version)
Detailed description
I am suspecting my careless mistake, but I report an issue below anyway.
When I ran accuracy checker with brain-tumor-segmentation-0001, it raised
TypeError
exception with the following message:Despite
self.data_source
should be the instance ofpathlib.Path
at line 504 of data_reader.py, it was actually 'str' since noNiftiImageReader
's methods convertedself.data_source
fromstr
topathlib.Path
.BaseReader.configure()
was disappeared fromNiftiImageReader
asBaseReader.configure()
was overridden byNiftiImageReader.configure()
.If my inspection is really right, some of the other functions implemented in data_reader.py have the same implementation issue as well.
A workaround is to call
super.configure()
inNiftiImageReader.configure()
.Steps to reproduce
Attached is my accuracy-check.yml. Some of the values specified in my yaml file may be wrong.
accuracy-check.yml.txt
Issue submission checklist