求问,多输入的sample_weight输入格式是怎样的呀!
keras吧
全部回复
仅看楼主
level 1
晏子萶秋 楼主
孩子哭了,怎么搞都不对!
最后一行,直接输入[weights_P,weights_refer_P],报错list没有shape属性。
输入np.array([weights_P, weights_refer_P]),提示需要输入一个2d数组,但这个shape是(2,)
然后我把这两个weight拼接成(2,num_sample,dim)的形式,更不行,因为它要求是2d的数组!
我现在有点怀疑是版本的错误吗?tensorflow 1没法做多输入的mode为"temporal"么,呜呜,大神求解!
2021年09月07日 04点09分 1
level 1
晏子萶秋 楼主
dd
2021年09月07日 04点09分 2
level 1
晏子萶秋 楼主
dd
2021年09月07日 06点09分 3
1