You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: global workspace scheduler arg as a callback (#169)
The previous implementation (#132) could not work with new scheduler as
it could
not take the optimizer as param.
Here, the scheduler should be a callback instead:
```python
def get_scheduler(optimizer: Optimizer) -> LRScheduler:
return StepLR(otimizer, ...)
gw = GlobalWorkspace(
...
scheduler=get_scheduler
)
```
0 commit comments