ConMask
ConMask copied to clipboard
Error when I run the dkrl
Hi bxshi, when I run the dkrl.py, always raise ValueError: Cannot feed value of shape (2, 14904) for Tensor 'static/content_matrix/initial_value:0', which has shape '(14904,)'
https://github.com/bxshi/ConMask/blob/master/ndkgc/models/dkrl.py#L202
I can't find a correct way to fix it,could you help me ?
Hi Could you try https://github.com/bxshi/ConMask/blob/master/ndkgc/models/cnn_model.py instead? I think this file is the correct implementation of DKRL. I forgot to delete the old one...
On Sat, Jun 8, 2019 at 1:52 AM cxjtju [email protected] wrote:
Hi bxshi, when I run the dkrl.py, always raise ValueError: Cannot feed value of shape (2, 14904) for Tensor 'static/content_matrix/initial_value:0', which has shape '(14904,)'
https://github.com/bxshi/ConMask/blob/master/ndkgc/models/dkrl.py#L202 http://url
I can't find a correct way to fix it,could you help me ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bxshi/ConMask/issues/12?email_source=notifications&email_token=AAKBAQ3VWAZ5SKPZZFSCHA3PZNXORA5CNFSM4HWGNEAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYMAURA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKBAQ5UUWVPIAIMWXRDYMDPZNXORANCNFSM4HWGNEAA .
Hey bxshi,
Do you know what metric the original DKRL paper (AAAI version online) is reporting in table 5 (Entity) and table 6 (relation) in zero-shot scenario results ?. Could you please tell if they are reporting Hits@10 - raw or filter for entities ? are they reporting Hits@1 or Hits@10 for relations (table 6). Sorry, the question is a bit irrelevant to this thread, but I thought you might have run their code and already know the answer?