Skip to content

Commit 154a872

Browse files
authored
Merge pull request #83 from kozistr/fix/colab-env
[Fix] python 3.7 for Colab envrionment
2 parents 3c491f3 + 29114e2 commit 154a872

File tree

6 files changed

+395
-221
lines changed

6 files changed

+395
-221
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ check:
1818

1919
requirements:
2020
python -m poetry export -f requirements.txt --output requirements.txt --without-hashes
21-
python -m poetry export --dev -f requirements.txt --output requirements-dev.txt --without-hashes
21+
python -m poetry export -f requirements.txt --output requirements-dev.txt --without-hashes --with dev

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ Also, you can load the optimizer via `torch.hub`
6060
optimizer = opt(model.parameters())
6161

6262

63+
And you can check the supported optimizers & lr schedulers.
64+
65+
::
66+
67+
from pytorch_optimizer import get_supported_optimizers, get_supported_lr_schedulers
68+
69+
supported_optimizers = get_supported_optimizers()
70+
supported_lr_schedulers = get_supported_lr_schedulers()
71+
72+
6373
Supported Optimizers
6474
--------------------
6575

0 commit comments

Comments
 (0)