KGAT_last-fm报错

在训练KGAT模型时,在last.fm数据集上遇到内部错误,具体表现为Dst tensor is not initialized。错误出现在训练的第139个epoch,尽管训练指标如recall、precision、hit和ndcg有所显示,但在保存权重并进行测试时发生了错误。问题可能与TensorFlow的设备分配和初始化有关。
摘要由CSDN通过智能技术生成
  1. 报错(139报错)
    KGAT_last-fm报错
    Epoch 119 [262.2s + 57.4s]: train==[65.18733=20.97127 + 43.56342 + 0.65262], recall=[0.08422, 0.16985], precision=[0.03384, 0.01735], hit=[0.35055, 0.60010], ndcg=[0.13051, 0.21696]
    Epoch 129 [262.9s + 62.6s]: train==[60.66845=20.37745 + 39.62215 + 0.66882], recall=[0.08444, 0.17008], precision=[0.03393, 0.01735], hit=[0.35135, 0.60014], ndcg=[0.13133, 0.21763]
    Epoch 139 [958.1s + 75.9s]: train==[55.55648=19.43076 + 35.44190 + 0.68381], recall=[0.08477, 0.17052], precision=[0.03402, 0.01733], hit=[0.35275, 0.59968], ndcg=[0.13134, 0.21732]
    save the weights in path: weights/last-fm/kgat_si_sum_bi_l3/64-32-16/l0.0001_r1e-05-1e-05
    Traceback (most recent call last):
    File “/home/ubuntu/conda/conda3/envs/t
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值