How to set that not save the picture of the verification result during the training process[Docs] #1975
-
Branchmain branch https://mmagic.readthedocs.io/en/latest/ 📚 The doc issueHello,I want to speed up the training, how to set the validation without saving images. Suggest a potential alternative/fixNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
hi @11923303233 would you mind providing the config file you used? |
Beta Was this translation helpful? Give feedback.
-
I used configs/real_esrgan/realesrnet_c64b23g32_4xb12-lr2e-4-1000k_df2k-ost.py |
Beta Was this translation helpful? Give feedback.
-
train_cfg is IterBasedTrainLoop; |
Beta Was this translation helpful? Give feedback.
-
hi @11923303233 To disable saving images during validation, you have several solutions,
|
Beta Was this translation helpful? Give feedback.
-
Trank you for your answer! Previously, I only paid attention to other modules, not to BasicVisualizationHook |
Beta Was this translation helpful? Give feedback.
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-L257C38You 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.BasicVisualizationHookTo disable saving images during validation, you have several solutions,
BasicVisualizationHook
from your config, then you will not save images during both validation and test.