Closed kuoiii closed 1 year ago
Hi! Thanks for your report. It turns out, there was a small bug in the dynamic embedding, which is now fixed. We also updated our notebook and we included an example with SDVRP here, which is the same as quickstart but with the SDVRP environment as an example. You may also modify it and try other environments :)
We pushed some fixes including the above to the latest release, so please make sure you run pip install --upgrade rl4co
!
Closing since answered - feel free to re-open should you have any further issues ;)
Hello, I find a bug when i want to run the sdvrp problem, here is my settings below config = DictConfig( {"data": { "train_size": 10000, "val_size": 100, "test_size": 2, "batch_size": 50, "generate_data": True }, "optimizer": {"lr": 1e-4}, "path": {"data_dir": "data111/"}, } )
Environment, Model, and Lightning Module
Then it raise error : glimpse_k = cached.glimpse_key + glimpse_key_dynamic RuntimeError: The size of tensor a (21) must match the size of tensor b (20) at non-singleton dimension 1 it looks like you haven't complete the sdvrp_env? Because when i run the older version, i found that you haven't complete this env. Thanks for your reading.