Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signed-off-by: NIKESH KRISHNAN <[email protected]> #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 20, 2020

  1. Signed-off-by: NIKESH KRISHNAN <[email protected]>

    ISSUE WHILE RUNNING generate_rgb_data.py:
    TypeError: Layout of the output array is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)
    
    FIx:
    
    CHANGE      rgb_clean = rgb_clean[padh[j]:-padh[j],padw[j]:-padw[j],:]
                rgb_noisy = rgb_noisy[padh[j]:-padh[j],padw[j]:-padw[j],:]
    
    TO
                rgb_clean = rgb_clean[padh[j]:-padh[j],padw[j]:-padw[j],:].copy()
                rgb_noisy = rgb_noisy[padh[j]:-padh[j],padw[j]:-padw[j],:].copy()
    nikeshkrishnan committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    18aef8e View commit details
    Browse the repository at this point in the history