dragonlzm/ISAL

KeyError: 'Non-existent config key: MODEL.OUTPUT_MID_LAYER'

jokc28 opened this issue · 3 comments

Hi, I am currently trying to reproduce your work based on the code uploaded on github.
I wanted to do a quick training run on classification task based on the below command line.
bash run_isal.sh /workdir /datadir
pycls/configs/archive/cifar/resnet/R-18_nds_1gpu.yaml
--mining-method=influence --random-seed=0
However, I kept getting the error mentioned above, saying there is non-existent config key.
I tried googling but was out of luck. Hope you can advise me on how to appropriately reproduce your work, especially on classification task.
Thank you for your inspiring work.

could you please attach a screenshot of the error?

error

Thank you for your help in advance.
It would be grateful if you can give me some advice on how to fix the issue shown on the screenshot.

You can see in the file "https://github.com/dragonlzm/ISAL/blob/main/classification/src/train.py", it imports the pycls.core.config as config. The code logic here should import the content from the file here: "https://github.com/dragonlzm/ISAL/blob/main/classification/pycls/pycls/core/config.py". but from the error info you provided, it seems the code is importing the module from your installed pycls library.
Hoping this can help you.