No function pred_linearize
Loading model from models/joint_bert_dev=95.55_devuas=96.67_devlas=94.86.pt1...
Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex.
packages/torch/nn/_reduction.py:49: UserWarning: size_average and reduce args will be deprecated, please use reduction='sum' instead.
warnings.warn(warning.format(ret))
Parsing sentences...
Traceback (most recent call last):
File "src_joint/main.py", line 746, in
I have the same problem like below..!
Me too!
Try tho change: "tree.linearize()" to "tree.convert().linearize()"
Try tho change: "tree.linearize()" to "tree.convert().linearize()"
Thank you! The problem is solved for me.