Skip to content

Commit

Permalink
[Fix] Revise typos in eval_hook.py (#138)
Browse files Browse the repository at this point in the history
* add pre-commit hook for spell checking

* fix typo

* revise typo of eval_hook
  • Loading branch information
LeoXing1996 committed Oct 16, 2021
1 parent cf74337 commit 12a3a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmgen/core/evaluation/eval_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class TranslationEvalHook(GenerativeEvalHook):
evaluation during the training procedure.
In our config system, you only need to add `evaluation` with the detailed
configureations. Below is serveral usage cases for different situations.
configureations. Below is several usage cases for different situations.
What you need to do is to add these lines at the end of your config file.
Then, you can use this evaluation hook in the training procedure.
Expand All @@ -353,7 +353,7 @@ class TranslationEvalHook(GenerativeEvalHook):
interval=10000,
metrics=dict(type='FID', num_images=106, bgr2rgb=True))
#. Use FID and IS simutaneously and save the best checkpoints respectively
#. Use FID and IS simultaneously and save the best checkpoints respectively
.. code-block:: python
:linenos
Expand Down

0 comments on commit 12a3a83

Please sign in to comment.