We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from edustudio.quickstart import run_edustudio
run_edustudio( dataset='FrcSub', cfg_file_name=None, traintpl_cfg_dict={ 'cls': 'GeneralTrainTPL', }, datatpl_cfg_dict={ 'cls': 'CDInterExtendsQDataTPL', 'load_data_from': "cachedata", # specify the loading stage of the dataset 'cache_id': 'cache_default', # cache id, valid when is_save_cache=True }, modeltpl_cfg_dict={ 'cls': 'KaNCD', }, evaltpl_cfg_dict={ 'clses': ['PredictionEvalTPL', 'InterpretabilityEvalTPL'], } ) 这是官网代码,报错 Traceback (most recent call last): File "E:\EduStudio-main\run.py", line 135, in run_edustudio( File "E:\EduStudio-main\edustudio\quickstart\quickstart.py", line 72, in run_edustudio raise e File "E:\EduStudio-main\edustudio\quickstart\quickstart.py", line 57, in run_edustudio traintpl = cls(cfg) File "E:\EduStudio-main\edustudio\traintpl\gd_traintpl.py", line 25, in init super().init(cfg) File "E:\EduStudio-main\edustudio\traintpl\base_traintpl.py", line 54, in init self.datatpl = self.get_datatpl_obj() File "E:\EduStudio-main\edustudio\traintpl\base_traintpl.py", line 87, in get_datatpl_obj datatpl: BaseDataTPL = self.datatpl_cls.from_cfg(self.cfg) File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 107, in from_cfg return cls(cfg, **kwargs) File "E:\EduStudio-main\edustudio\datatpl\common\edu_datatpl.py", line 30, in init super().init(cfg, df, df_train, df_valid, df_test, status) File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 72, in init self.check_cache() File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 269, in check_cache raise ValueError(f"check cache error: {diff}") ValueError: check cache error: {'values_changed': {"root['is_save_cache']": {'new_value': False, 'old_value': True}}}
The text was updated successfully, but these errors were encountered:
感谢您的反馈!我们已在最新代码中处理了该问题
Sorry, something went wrong.
No branches or pull requests
from edustudio.quickstart import run_edustudio
run_edustudio(
dataset='FrcSub',
cfg_file_name=None,
traintpl_cfg_dict={
'cls': 'GeneralTrainTPL',
},
datatpl_cfg_dict={
'cls': 'CDInterExtendsQDataTPL',
'load_data_from': "cachedata", # specify the loading stage of the dataset
'cache_id': 'cache_default', # cache id, valid when is_save_cache=True
},
modeltpl_cfg_dict={
'cls': 'KaNCD',
},
evaltpl_cfg_dict={
'clses': ['PredictionEvalTPL', 'InterpretabilityEvalTPL'],
}
) 这是官网代码,报错
Traceback (most recent call last):
File "E:\EduStudio-main\run.py", line 135, in
run_edustudio(
File "E:\EduStudio-main\edustudio\quickstart\quickstart.py", line 72, in run_edustudio
raise e
File "E:\EduStudio-main\edustudio\quickstart\quickstart.py", line 57, in run_edustudio
traintpl = cls(cfg)
File "E:\EduStudio-main\edustudio\traintpl\gd_traintpl.py", line 25, in init
super().init(cfg)
File "E:\EduStudio-main\edustudio\traintpl\base_traintpl.py", line 54, in init
self.datatpl = self.get_datatpl_obj()
File "E:\EduStudio-main\edustudio\traintpl\base_traintpl.py", line 87, in get_datatpl_obj
datatpl: BaseDataTPL = self.datatpl_cls.from_cfg(self.cfg)
File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 107, in from_cfg
return cls(cfg, **kwargs)
File "E:\EduStudio-main\edustudio\datatpl\common\edu_datatpl.py", line 30, in init
super().init(cfg, df, df_train, df_valid, df_test, status)
File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 72, in init
self.check_cache()
File "E:\EduStudio-main\edustudio\datatpl\common\general_datatpl.py", line 269, in check_cache
raise ValueError(f"check cache error: {diff}")
ValueError: check cache error: {'values_changed': {"root['is_save_cache']": {'new_value': False, 'old_value': True}}}
The text was updated successfully, but these errors were encountered: