Skip to content

Commit 1bbfece

Browse files
authored
[FEAT] Add example of modifying the default configure_optimizers() behavior (use of ReduceLROnPlateau scheduler) (#1015)
1 parent 2f0e19e commit 1bbfece

File tree

2 files changed

+288
-2
lines changed

2 files changed

+288
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ nbdev_export
6969
If you're working on the local interface you can just use `nbdev_test --n_workers 1 --do_print --timing`.
7070

7171
### Cleaning notebooks
72-
Since the notebooks output cells can vary from run to run (even if they produce the same outputs) the notebooks are cleaned before committing them. Please make sure to run `nbdev_clean --clear_all` before committing your changes. If you clean the library's notebooks with this command please backtrack the changes you make to the example notebooks `git checkout nbs/examples`, unless you intend to change the examples.
72+
Since the notebooks output cells can vary from run to run (even if they produce the same outputs) the notebooks are cleaned before committing them. Please make sure to run `nbdev_clean --clear_all` before committing your changes. If you clean the library's notebooks with this command please backtrack the changes you make to the example notebooks `git checkout nbs/docs`, unless you intend to change the examples.
7373

7474
## Do you want to contribute to the documentation?
7575

@@ -78,6 +78,6 @@ Since the notebooks output cells can vary from run to run (even if they produce
7878
1. Find the relevant notebook.
7979
2. Make your changes.
8080
3. Run all cells.
81-
4. If you are modifying library notebooks (not in `nbs/examples`), clean all outputs using `Edit > Clear All Outputs`.
81+
4. If you are modifying library notebooks (not in `nbs/docs`), clean all outputs using `Edit > Clear All Outputs`.
8282
5. Run `nbdev_preview`.
8383
6. Clean the notebook metadata using `nbdev_clean`.

nbs/docs/tutorials/21_configure_optimizers.ipynb

Lines changed: 286 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)