mmagic icon indicating copy to clipboard operation
mmagic copied to clipboard

add 'DIM online merge config demo'

Open CCODING04 opened this issue 3 years ago • 6 comments

I checked the DIM demo config, and found that there is no "online merge" demo. So I create it for convenience. MMEditing have already realized the code, but not shown us how to use it. Maybe dataset doc file could be detailed.

CCODING04 avatar Mar 11 '22 13:03 CCODING04

Thanks for your contribution, we will arrange to review these codes. Moreover, would you please provide a code snippet for training and testing with this config file?

wangruohui avatar Mar 13 '22 15:03 wangruohui

@wangruohui Unit test or just a simple use case?

CCODING04 avatar Mar 14 '22 04:03 CCODING04

@CCODING04

A simple case is OK. Have you trained with this configuration? Could you please upload the training log and the file of pre-trained weight?

wangruohui avatar Mar 15 '22 06:03 wangruohui

@wangruohui I'm training it. However, it seems like merge online is not a good choice cuz the curve of loss and validation metrics got violate vibration.

CCODING04 avatar Mar 15 '22 07:03 CCODING04

@wangruohui Actually, I did previously merge and got a good result. Is there any paper or articles talk about which and when to take composition of data is better?

CCODING04 avatar Mar 15 '22 08:03 CCODING04

DIM_cmp_MSE DIM_cmp_SAD @wangruohui I compared the online and offine results and plot it.

CCODING04 avatar Mar 17 '22 04:03 CCODING04

Please check this. @Z-Fran

zengyh1900 avatar Oct 10 '22 03:10 zengyh1900

Hi @CCODING04 , we plan to merge your code to MMEditing 2.0. So you need to do two jobs as follows:

  1. modify file name and directory to configs/dim/dim_stage1-v16_1xb1-1000k_comp1k_online-merge.py
  2. If there is no difference between dim_stage1-v16_1xb1-1000k_comp1k.py and your code except train pipeline, we suggest you can inherit the same codes, like _base_ = ['./dim_stage1-v16_1xb1-1000k_comp1k.py'] in dim_stage2-v16-pln_1xb1-1000k_comp1k.py. Then you can delete the same parts.

And you can give us the authority to commit codes to your repository to help you. Thanks again.

Z-Fran avatar Nov 04 '22 06:11 Z-Fran