XPixelGroup / BasicSR

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.
https://basicsr.readthedocs.io/en/latest/
Apache License 2.0
6.85k stars 1.19k forks source link

Can't create lmdb #87

Open Ichigo14 opened 5 years ago

Ichigo14 commented 5 years ago

Sorry i'm new for this. I have this error.

Read images... [ ] 0/2653, elapsed: 0s, ETA: Start... Traceback (most recent call last): File "create_lmdb.py", line 22, in <module> pbar.update('Read {}'.format(v)) File "C:\ESRGAN-master\BasicSR-master\codes\utils\progress_bar.py", line 40, in update fps = self.completed / elapsed ZeroDivisionError: float division by zero

xinntao commented 5 years ago

The error means the elapsed time is zero. May check the configurations. You can also comment on the progress_bar lines, which only for printing some info.