Code Monkey home page Code Monkey logo

Comments (8)

zerodohero avatar zerodohero commented on August 24, 2024

I have the same problem, and I can't use my own image to generate hyperresolution images, and I guarantee that gt is twice as much input as input. And I made the following mistakes when I was training.

Model Params: 225 K
==================== PRETRAINED MODEL Loading Succeeded ====================
==================== Reading Checkpoints ====================

**=================== Fail to find a Checkpoint ====================

==================== No model to load ======================================**
[*] Training Starts

Process finished with exit code -1073741819 (0xC0000005)

from mzsr.

liqilei avatar liqilei commented on August 24, 2024

Thanks for the nice work, and very well documentation.

I have some real low-resolution images without any ground-truth. I wanted to test your state-of-the-art MZSR model on that. I noticed that for testing as mention in the readme file I need "Ready for the input data (low-resolution) and corresponding kernel (kernel.mat file.)". I couldn't find any information neither in the paper nor in the repo regarding how to get the Kernel file. Could you please let me know what is the code for that? Did you use any other paper to compute the kernel? Thank you.

Hi, you can try https://github.com/sefibk/KernelGAN to estimate the kernel.

from mzsr.

liqilei avatar liqilei commented on August 24, 2024

I have the same problem, and I can't use my own image to generate hyperresolution images, and I guarantee that gt is twice as much input as input. And I made the following mistakes when I was training.

Model Params: 225 K
==================== PRETRAINED MODEL Loading Succeeded ====================
==================== Reading Checkpoints ====================

**=================== Fail to find a Checkpoint ====================

==================== No model to load ======================================**
[*] Training Starts

Process finished with exit code -1073741819 (0xC0000005)

I guess there is something wrong in the train_MZSR.tfrecord file. You may refer to MainSR to generate this file and try again.

from mzsr.

JWSoh avatar JWSoh commented on August 24, 2024

We have used kernel estimation algorithm based on
Pan et al. "Blind image deblurring using dark channel prior." CVPR 2016.
We have slightly modified for super-resolution.

Also, after we submit the paper, we have tried the recent algorithm KernelGAN,
Bell-Kligler et al. "Blind super-resolution kernel estimation using an internal-gan." NeurIPS. 2019.
which yields nice results.

from mzsr.

BassantTolba1234 avatar BassantTolba1234 commented on August 24, 2024

Dear Sir,
Amazing work ! Congratulation!!
please , I have a question.can you kindly provide me with the full path I should insert of checkpoint the trained large scale training model to be able to use it as a pre-trained to meta transfer training?
I'm waiting for your reply.
Thanks in advance

from mzsr.

BassantTolba1234 avatar BassantTolba1234 commented on August 24, 2024

Please @omidbazgirTTU I'm facing a problem when i load the pretrained model , specially when it reads the checkpoint
this is the error .. how did you kindly solve it please ??

NotFoundError (see above for traceback): Key MODEL/conv7/kernel/Adam_3 not found in checkpoint
[[Node: save/RestoreV2_69 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_69/tensor_names, save/RestoreV2_69/shape_and_slices)]]

from mzsr.

BassantTolba1234 avatar BassantTolba1234 commented on August 24, 2024

Please @liqilei I'm facing a problem when i load the pretrained model , specially when it reads the checkpoint
this is the error .. how did you kindly solve it please ??

NotFoundError (see above for traceback): Key MODEL/conv7/kernel/Adam_3 not found in checkpoint
[[Node: save/RestoreV2_69 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_69/tensor_names, save/RestoreV2_69/shape_and_slices)]]

from mzsr.

BassantTolba1234 avatar BassantTolba1234 commented on August 24, 2024

Please @JWSoh I'm facing a problem when i load the pretrained model , specially when it reads the checkpoint
this is the error .. how did you kindly solve it please ??

NotFoundError (see above for traceback): Key MODEL/conv7/kernel/Adam_3 not found in checkpoint
[[Node: save/RestoreV2_69 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_69/tensor_names, save/RestoreV2_69/shape_and_slices)]]

from mzsr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.