zhiCHEN96 / ConceptWhitening

MIT License
117 stars 28 forks source link

isic-concepts #15

Open DakhliRym opened 1 year ago

DakhliRym commented 1 year ago

Hello, thank you for providing your code, I was trying to test the concept whitening on isic dataset, and I got this error:

1 Traceback (most recent call last): File "extract_isic_concepts.py", line 26, in meta_data = json.load(f) File "C:\Python3.6\lib\json__init.py", line 299, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "C:\Python3.6\lib\json\init__.py", line 354, in loads return _default_decoder.decode(s) File "C:\Python3.6\lib\json\decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python3.6\lib\json\decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Can you please provide more details on how should be the isic dataset architecture (hierarchy of files) and what we should have exactly in the descriptions folder?