Skip to content

metric is NaN #20

@JacoboJin

Description

@JacoboJin

I met this problem while I run the test.sh
root@Ic75ba579f00d014e0:/hy-tmp/EGVSR# bash test.sh
./experiments_BD/EGVSR/001/
2022-07-25 15:10:19,482 [INFO]: ========================================
2022-07-25 15:10:19,482 [INFO]: Testing model: EGVSR_iter420000
2022-07-25 15:10:19,482 [INFO]: ========================================
2022-07-25 15:10:23,526 [INFO]: Testing on test1: Vid4
2022-07-25 15:10:24,329 [INFO]: Average
/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py:3474: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/usr/local/lib/python3.8/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
2022-07-25 15:10:24,331 [INFO]: PSNR: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: LPIPS: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: tOF: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: ----------------------------------------
2022-07-25 15:10:24,331 [INFO]: Testing on test2: ToS3
2022-07-25 15:10:25,094 [INFO]: Average
2022-07-25 15:10:25,095 [INFO]: PSNR: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: LPIPS: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: tOF: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: ----------------------------------------
2022-07-25 15:10:25,095 [INFO]: Finish testing
2022-07-25 15:10:25,095 [INFO]: ========================================

So I should do what and I am troubled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions