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

I use my .mat image to test model have error #6

Open
ratsuki opened this issue Jan 24, 2018 · 2 comments
Open

I use my .mat image to test model have error #6

ratsuki opened this issue Jan 24, 2018 · 2 comments

Comments

@ratsuki
Copy link

ratsuki commented Jan 24, 2018

I just export original image to .mat type,and then to test it.
here is my error:

Warning: source code of class 'srresnet._Residual_Block' has changed. you can retrieve the original source code by accessing the object's source attribute or set torch.nn.Module.dump_patches = True and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
Traceback (most recent call last):
File "test.py", line 35, in
im_gt = sio.loadmat("Set5/" + opt.image + ".mat")['im_gt']
KeyError: 'im_gt'

And is there have any requirements about export image to .mat type?
Look forward to your answer!

@surajitsaikia27
Copy link

Did you solve the problem? I am encountering the same problem. The way the author created the testset is different since it has indexes.

@twtygqyy
Copy link
Owner

twtygqyy commented May 28, 2018

@surajitsaikia27 @ratsuki Please refer to the matlab code here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants