Open free-qc opened 1 year ago
https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L341
the asp_start is calculated before left_tokens being truncated by running the codes below, which may cause that the length of aspect_mask exceeds opt.max_length. https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L355-L361
https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L341
the asp_start is calculated before left_tokens being truncated by running the codes below, which may cause that the length of aspect_mask exceeds opt.max_length. https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L355-L361