Code Monkey home page Code Monkey logo

um-dsrg / rumpy Goto Github PK

View Code? Open in Web Editor NEW
28.0 6.0 1.0 190.14 MB

Open source image super-resolution toolbox containing various functionality for training a diverse number of state-of-the-art deep learning models. Also acts as the companion code for the MDPI Sensors journal paper titled 'The Best of Both Worlds: A Framework for Combining Degradation Prediction with High Performance Super-Resolution Networks'

Home Page: https://www.um.edu.mt/projects/deep-fir/

License: GNU General Public License v3.0

CSS 0.38% Python 94.44% HTML 1.99% JavaScript 3.18%
blind-super-resolution contrastive-learning convolutional-neural-networks deep-learning framework gui image-restoration meta-attention python pytorch

rumpy's People

Contributors

cnpgs avatar keithgeorgeciantar avatar mattaq31 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rumpy's Issues

How to load model??

How are we supposed to load a model?
I cant find any downloaded models
Screenshot from 2023-05-11 17-30-03

Kindly Help

Fail to train Q-EDSR

Hi ,
RUMPy is a great framework!I successfully trained the EDSR model according to the documentation, but when I used the same data set to train the Q-EDSR model. There is an runtime error . It seems to be a problem with the model deconstruction.
Q-EDSR training configuration file refers to the “Documentation/sample_config_files/div2k/q-edsr.toml”

Running epoch 0
Training cleared to run.
Training Run:
train_data <torch.utils.data.dataloader.DataLoader object at 0x7f2ab9585f10>
0%| | 0/500 [00:01<?, ?it/s]
Traceback (most recent call last):
File "/home/ts03/anaconda3/envs/rumpy/bin/train_sisr", line 33, in
sys.exit(load_entry_point('RUMpy', 'console_scripts', 'train_sisr')())
File "/home/ts03/anaconda3/envs/rumpy/lib/python3.7/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/ts03/anaconda3/envs/rumpy/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/ts03/anaconda3/envs/rumpy/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ts03/anaconda3/envs/rumpy/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/shared_framework/net_train.py", line 95, in experiment_setup
experiment.run_experiment() # initiates model training
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/shared_framework/training/base_handler.py", line 345, in run_experiment
training_loss = self.train()
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/shared_framework/training/base_handler.py", line 220, in train
losses, _ = self.model.train_batch(**batch) # entire training scheme occurs here
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/SISR/models/interface.py", line 101, in train_batch
return self.model.run_train(x=lr, y=hr, **kwargs)
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/SISR/models/attention_manipulators/init.py", line 186, in run_train
input_data, extra_channels = self.channel_concat_logic(x, extra_channels, metadata, metadata_keys)
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/SISR/models/attention_manipulators/init.py", line 152, in channel_concat_logic
extra_channels = self.generate_channels(x, metadata, metadata_keys)
File "/home/ts03/workspace/ricky/rumpy/RUMpy/rumpy/SISR/models/attention_manipulators/init.py", line 103, in generate_channels
extra_channels[index, ...] = extra_channels[index, :] * added_info
RuntimeError: The size of tensor a (10) must match the size of tensor b (0) at non-singleton dimension 0

eval_sisr command showing error.

Hi
I was trying to use eval_sisr command but it is showing
error1

" ### AttributeError: 'SISRInterface' object has no attribute 'name' "
This is my config file
error2

Kindly help.

Model training

I am trying to install and run DeepFIR on a MAC. I am confused on how exactly to train the models and load them into the Results folder. Are there pre-trained models available for use?

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.