ai4co / rl4co

A PyTorch library for all things Reinforcement Learning (RL) for Combinatorial Optimization (CO)
https://rl4.co
MIT License
455 stars 84 forks source link

Change of default hydra rundir plus hydra tutorial #131

Closed LTluttmann closed 8 months ago

LTluttmann commented 8 months ago

Description

Closes #132

In the current implementation, the definition of the hydra.run.dir leads to an error if a different logger than wandb is used. Therefore, put the definition of the special wandb run.dir into the wandb logger config and use a default one in the hydra config instead.

Moreover, added a very basic hydra tutorial notebook.

Motivation and Context

Changes to hydra config as discussed with @fedebotu in https://github.com/ai4co/rl4co/discussions/119

Types of changes

What types of changes does your code introduce? Remove all that do not apply:

Checklist

Go over all the following points, and put an x in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!