1****系统环境
硬件环境(Ascend/GPU/CPU): Ascend
MindSpore版本: 2.2
执行模式(PyNative/ Graph): 不限
2****报错信息
model built, but weights is unloaded, since the config has no attribute or is None.
3****解决方案
模型mode如果为train或者finetune,则该阶段其实不需要设置checkpoint_name_or_path,所以这里的日志正常,只要在load_checkpoint设置了模型地址即可。