oscarknagg / few-shot

Repository for few-shot learning machine learning projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'class_name' in python3.7/.../base.py file

kgarg8 opened this issue · comments

Hi Oscar,

I ran into this issue while running your code, it points some error in python source code files.
I suspect that you are on different (<3.7) python version, can you share your version?

(venv) kgarg8@edsger:~/kgarg8-workspace/few-shot$ python -m experiments.proto_nets --dataset omniglot --k-test 5 --n-test 1 omniglot_nt=1_kt=60_qt=5_nv=1_kv=5_qv=1 Indexing background... 0it [00:00, ?it/s] Traceback (most recent call last): File "/home/kgarg8/kgarg8-workspace/few-shot/venv/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3078, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 140, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 162, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1492, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1500, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'class_name'