Skip to content

Commit

Permalink
Post merge fix reference of old param groups helper fn locations
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Nov 13, 2024
1 parent 326e5dc commit 5dae918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions tests/test_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
from torch.testing._internal.common_utils import TestCase
from torch.nn import Parameter

from timm.optim.optim_factory import param_groups_layer_decay, param_groups_weight_decay
from timm.scheduler import PlateauLRScheduler

from timm.optim import create_optimizer_v2, list_optimizers, get_optimizer_class
from timm.optim import param_groups_layer_decay, param_groups_weight_decay
from timm.scheduler import PlateauLRScheduler

import importlib
import os
Expand Down
3 changes: 2 additions & 1 deletion timm/optim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
from .sgdp import SGDP

from ._optim_factory import list_optimizers, get_optimizer_class, create_optimizer_v2, \
create_optimizer, optimizer_kwargs, OptimInfo, OptimizerRegistry
create_optimizer, optimizer_kwargs, OptimInfo, OptimizerRegistry
from ._param_groups import param_groups_layer_decay, param_groups_weight_decay

0 comments on commit 5dae918

Please sign in to comment.