Git Product home page Git Product logo

Comments (4)

Jamy-L avatar Jamy-L commented on July 20, 2024

Hello, I may have fixed the issue with the last commit: it had something to do the metada format which was slightly different from what we used during testing. The online demo has been updated too.

Please let me know is similar issues are persisting

from handheld-multi-frame-super-resolution.

dhalnon avatar dhalnon commented on July 20, 2024

Running it again and it results in this error:

DR=dr-limule-docker-gpu
Non-zero exit code (1): Parameters:

Upscaling factor: 2

Super-resolution with 25 images.

Robustness: enabled
-------------------------
t: 0.12
s1: 2.00
s2: 12.00
Mt: 0.80
Robustness denoising: enabled

Alignment:
-------------------------
ICA Iterations: 3

Fusion:
-------------------------
Kernel shape: handheld
k_stretch: 4.00
k_shrink: 2.00
k_detail: SNR based
k_denoise: SNR based

Processing with handheld super-resolution
Traceback (most recent call last):
File "/workdir/bin//demo.py", line 185, in
handheld_output, debug_dict = process(args.impath, options, params)
File "/workdir/bin/handheld_super_resolution/super_resolution.py", line 370, in process
ISO = int(str(tags['Image ISOSpeedRatings']))
KeyError: 'Image ISOSpeedRatings'

When I print the list of tags it tells me that the EXIF tag for the ISOSpeedRatings is EXIF ISOSpeedRatings not Image ISOSpeedRatings

After fixing that with a workaround (simply replacing Image with EXIF in that tag) and running it again I get this error:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USER\\Handheld-Multi-Frame-Super-Resolution\\data\\noise_model_std_ISO_125.npy'

My workaround for this is to simply change line 370 of super_resolution.py from

ISO = max(100, ISO)

to

ISO = max(200, ISO)

After this I run into a CUDA support error as I don't have access to a machine with an NVIDIA GPU at the moment

from handheld-multi-frame-super-resolution.

Jamy-L avatar Jamy-L commented on July 20, 2024

Thank you for the feedback, I have updated the code so that the ISO can be read more consistently. It should also now be rounded when reading the noise curve, so this type of error should not happen.

from handheld-multi-frame-super-resolution.

dhalnon avatar dhalnon commented on July 20, 2024

Online demo runs successfully, now with good results

from handheld-multi-frame-super-resolution.

Related Issues (14)

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.