Skip to content

How to set that not save the picture of the verification result during the training process[Docs] #1975

Answered by zengyh1900
11923303233 asked this question in How-to
Discussion options

You must be logged in to vote

hi @11923303233
According to your provided config file, I think you are using BasicVisualizationHook to save images during validation, https://github.com/open-mmlab/mmagic/blob/main/configs/real_esrgan/realesrnet_c64b23g32_4xb12-lr2e-4-1000k_df2k-ost.py#L257C16-L257C38
You can check more details about BasicVisualizationHook in our API documents https://mmagic.readthedocs.io/en/latest/autoapi/mmagic/engine/hooks/index.html#mmagic.engine.hooks.BasicVisualizationHook

To disable saving images during validation, you have several solutions,

  1. directly remove BasicVisualizationHook from your config, then you will not save images during both validation and test.
  2. disable saving images by setting au…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zengyh1900
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How-to
Labels
kind/doc fix, add or improve documentations
2 participants
Converted from issue

This discussion was converted from issue #1972 on August 09, 2023 03:24.