Skip to content

[HFUT_Student]使用其他数据集(ASSISTment_2015-2016)测试模型出错 #35

@yypan-sys

Description

@yypan-sys

根据提示,不支持auto download,需要自行下载到本地
下载的数据为rawdata
然后进行raw_to_mid变换得到middata
所以更新框架,如下:
run_edustudio(
dataset='ASSIST_1516',
cfg_file_name=None,
traintpl_cfg_dict={'cls': 'GeneralTrainTPL','device': 'cpu'},
datatpl_cfg_dict={
'cls': 'KTInterCptUnfoldDataTPL',
'load_data_from': 'rawdata',
'raw2mid_op': 'R2M_ASSIST_1516'
},
modeltpl_cfg_dict={'cls': 'AKT',},
evaltpl_cfg_dict={'clses': ['PredictionEvalTPL'],}
)
但是经过测试,1213的数据集可以正常启动训练
但是1516的数据集会出现报错,如下:
unique_cpt_seq = df_exer['cpt_seq:token_seq'].explode().unique()
TypeError: 'NoneType' object is not subscriptable
分析得:1516数据集rawdata明显缺少信息
以1213的rawdata为例,包含start_time等缺失了的信息
解决方法:
检查datatpl框架,或许可以修改选取项M2C_BuildSeqInterFeats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions