MCPcopy Create free account
hub / github.com/DeepGraphLearning/FewShotRE / eval

Method eval

fewshot_re_kit/framework.py:295–358  ·  view source on GitHub ↗

model: a FewShotREModel instance B: Batch size N: Num of classes for each batch K: Num of instances for each class in the support set Q: Num of instances for each class in the query set eval_iter: Num of iterations ckpt: Checkpoint path. Set a

(self,
            model,
            B, N, K, Q,
            eval_iter,
            na_rate=0,
            pair=False,
            ckpt=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mainFunction · 0.95
trainMethod · 0.95

Calls 3

__load_model__Method · 0.95
itemMethod · 0.95
accuracyMethod · 0.80

Tested by

no test coverage detected