boheumd / A2Summ

The official implementation of 'Align and Attend: Multimodal Summarization with Dual Contrastive Losses' (CVPR 2023)
https://boheumd.github.io/A2Summ/
61 stars 10 forks source link

ModuleNotFoundError: No module named 'ortools.algorithms.pywrapknapsack_solver' #15

Open daodiweier opened 5 months ago

daodiweier commented 5 months ago

Dear author, when I run the program according to the running code you provided, I always report an error showing that there is no pywrapknapsack_solver in ortools.algorithms, may I ask where the error occurred, sincerely looking forward to your reply

Quoccuong1004 commented 5 months ago

Dear author, when I run the program according to the running code you provided, I always report an error showing that there is no pywrapknapsack_solver in ortools.algorithms, may I ask where the error occurred, sincerely looking forward to your reply

I update the code base on the instruction in https://developers.google.com/optimization/pack/knapsack and it worked.

daodiweier commented 5 months ago

Thank you for your reply. I have made corresponding modifications according to the link you gave, and there is no problem. Thank you again