We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`Traceback (most recent call last):
File "model.py", line 528, in loss_expr = model.neg_log_loss(instance.sentence, instance.tags)
File "model.py", line 192, in neg_log_loss forward_score = self.forward(observations)
File "model.py", line 212, in forward alphas_t.append(log_sum_exp(next_tag_expr))
File "model.py", line 202, in log_sum_exp return max_score_expr + dy.log(dy.sum_cols(dy.transpose(dy.exp(scores - max_score_expr_broadcast))))
AttributeError: module 'dynet' has no attribute 'sum_cols'`
The text was updated successfully, but these errors were encountered:
sum_cols(x) has been deprecated. Please use sum_dim(x, [1]) instead.
sum_cols(x)
sum_dim(x, [1])
Sorry, something went wrong.
No branches or pull requests
`Traceback (most recent call last):
File "model.py", line 528, in
loss_expr = model.neg_log_loss(instance.sentence, instance.tags)
File "model.py", line 192, in neg_log_loss
forward_score = self.forward(observations)
File "model.py", line 212, in forward
alphas_t.append(log_sum_exp(next_tag_expr))
File "model.py", line 202, in log_sum_exp
return max_score_expr + dy.log(dy.sum_cols(dy.transpose(dy.exp(scores - max_score_expr_broadcast))))
AttributeError: module 'dynet' has no attribute 'sum_cols'`
The text was updated successfully, but these errors were encountered: