SNBQT / Limited-Data-Rolling-Bearing-Fault-Diagnosis-with-Few-shot-Learning

This is the corresponding repository of paper Limited Data Rolling Bearing Fault Diagnosis with Few-shot Learning
292 stars 45 forks source link

KeyError Traceback (most recent call last) D:\Anaconda3\envs\tensorflow35\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 2441 try: -> 2442 return self._engine.get_loc(key) 2443 except KeyError: pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5280)() pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5126)() pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:20523)() pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:20477)() KeyError: 'model' #6

Open JY990829 opened 10 months ago

JY990829 commented 10 months ago

When I run the last part of the code in experimentC, the error occurred as shown below:

KeyError Traceback (most recent call last) D:\Anaconda3\envs\tensorflow35\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 2441 try: -> 2442 return self._engine.get_loc(key) 2443 except KeyError:

pandas_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas_libs\index.c:5280)()

pandas_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas_libs\index.c:5126)()

pandas_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas_libs\hashtable.c:20523)()

pandas_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas_libs\hashtable.c:20477)()

KeyError: 'model'

运行ExperimentC报错2023-12-21

If anyone has encountered this error before? How can I resolve it? Thank you very much for your reply.

JY990829 commented 10 months ago
续:运行ExperimentC报错2023-12-21