yzbouc / UVEB

MIT License
38 stars 2 forks source link

num_frame in the test config file #12

Open GraceZhuuu opened 1 month ago

GraceZhuuu commented 1 month ago
python basicsr/test.py -opt options/test/Deblur/test_Deblur_GOPRO.yml
cd results
datasets:
  test_1:  # the 1st test dataset
    name: GOPRO
    type: VideoRecurrentSplitClipsTestDataset
    dataroot_gt: /media/june/WD10T/UVEB/test/blur
    dataroot_lq: /media/june/WD10T/UVEB/test/blur
    cache_data: False
    io_backend:
      type: disk

    num_frame: 1
    num_overlap: 0

the num_frame in test_Deblur_GOPRO.yml is set to 1, is that correct ?

yzbouc commented 2 days ago

We are very sorry that we have been preparing for other work recently, so we were unable to respond to your question in a timely manner. 1 is just an example, you can set it to other values. The value should ideally be equal to the number of frames you set during training. If your memory is not large enough, you can set it to 1 during testing to reduce memory usage.