RoyalSkye / Routing-MVMoE

[ICML 2024] "MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts"
https://openreview.net/forum?id=lsQnneYa8p
MIT License
47 stars 5 forks source link

About Checkpoints #1

Closed lsyysl9711 closed 4 months ago

lsyysl9711 commented 4 months ago

Thanks for sharing checkpoints and codes!

However, checkpoints for POMO-CVRP can't be loaded into any models since mismatch between tensors.

In MLTEncoder, to encode location/demand information, codes will use nn.Embedding(5,128). However, in the checkpoint POMO-CVRP.pt, the shape is nn.Embedding(3,128). So there is a mismatch.

RoyalSkye commented 4 months ago

Hi there, POMO-CVRP is a single-task solver rather than a multi-task solver. Could you try to set --problem="CVRP", --model_type="SINGLE"?

lsyysl9711 commented 4 months ago

Thanks for mentioning me this! I will try it!