Giter Club home page Giter Club logo

egvsr's People

Contributors

thmen 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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

egvsr's Issues

Real-time SR?

Is it possible to use this GAN for real-time video super resolution? Maybe for video conferencing?

Do you only get a good result if you have an HQ video unlike RealESRGAN?

Do you only get a good result if you have an HQ video?

I can upscale videos if I have the hq and lq version.
But how can I upscale a video without hq version?

So far I've done it with RealESRGAN, so it's always worked well.
Did I understand it correctly that TecoGan can do it only better, or did I get it vill. wrong?

Got extremely low score with Vid4

I tested your code with Vid4 using your Model EGVSR and the pretrained weight EGVSR_iter420000.pth but got extremely low score. And the generated images are really blurry.Why does it happen?
image

[Download Testset]

Hi :)

Can you please give me more information about how to download the testsets?
I'm not able to understand the language of the website you provided!

Thank you in advice!

Your Results in New Super-Resolution Benchmarks

Hello,

MSU Graphics & Media Lab Video Group has recently launched two new Super-Resolution Benchmarks.

Your method achieved 12th place in Super-Resolution for Video Compression Benchmark in 'x265 compression' category. We look forward to your future work!

We would be grateful for your feedback on our work.

metric is NaN

I met this problem while I run the test.sh
root@Ic75ba579f00d014e0:/hy-tmp/EGVSR# bash test.sh
./experiments_BD/EGVSR/001/
2022-07-25 15:10:19,482 [INFO]: ========================================
2022-07-25 15:10:19,482 [INFO]: Testing model: EGVSR_iter420000
2022-07-25 15:10:19,482 [INFO]: ========================================
2022-07-25 15:10:23,526 [INFO]: Testing on test1: Vid4
2022-07-25 15:10:24,329 [INFO]: Average
/usr/local/lib/python3.8/dist-packages/numpy/core/fromnumeric.py:3474: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/usr/local/lib/python3.8/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
2022-07-25 15:10:24,331 [INFO]: PSNR: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: LPIPS: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: tOF: nan (x1.0)
2022-07-25 15:10:24,331 [INFO]: ----------------------------------------
2022-07-25 15:10:24,331 [INFO]: Testing on test2: ToS3
2022-07-25 15:10:25,094 [INFO]: Average
2022-07-25 15:10:25,095 [INFO]: PSNR: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: LPIPS: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: tOF: nan (x1.0)
2022-07-25 15:10:25,095 [INFO]: ----------------------------------------
2022-07-25 15:10:25,095 [INFO]: Finish testing
2022-07-25 15:10:25,095 [INFO]: ========================================

So I should do what and I am troubled

how to run the test program

I put some images into dir /data/Vid4/GT for test, but I don't know what's the mean of "data/Vid4/Gaussian4xLR",

python codes/main.py --exp_dir test --mode test --model EGVSR --opt /opt/EGVSR-master/experiments_BD/EGVSR/001/test.yml

2021-07-22 11:01:23,123 [INFO]: ========================================
2021-07-22 11:01:23,123 [INFO]: Testing model: EGVSR_iter420000
2021-07-22 11:01:23,123 [INFO]: ========================================
2021-07-22 11:01:24,793 [INFO]: Testing on test1: Vid4
Traceback (most recent call last):
File "codes/main.py", line 341, in
test(opt)
File "codes/main.py", line 182, in test
test_loader = create_dataloader(opt, dataset_idx=dataset_idx)
File "/opt/daizhsh/EGVSR-master/codes/data/init.py", line 58, in create_dataloader
dataset = PairedFolderDataset(data_opt, scale=opt['scale'])
File "/opt/daizhsh/EGVSR-master/codes/data/paired_folder_dataset.py", line 21, in init
lr_keys = sorted(os.listdir(self.lr_seq_dir))
FileNotFoundError: [Errno 2] No such file or directory: 'data/Vid4/Gaussian4xLR'

Thank you for you reply!

obvious artifact in the last frame of foliage

I used Vid4/BDx4/foliage to test egvsr. My cmd line is as below

python codes/main.py --exp_dir ./experiments_BD/EGVSR/001 --mode test --opt test.yml --gpu_id 0 --model TecoGAN

The issue is obvious artifact in the last frame of foliage (please check attachement, in the tree area
0049
)

TrainDatasets

Due to network limitations in mainland China, we cannot connect to vimeo.com to download the training set, so please provide a link to the VimeoTecoGAN website.Thank you !!

(open-mmlab) smartcity@smartcity-X780-G30:/media/smartcity/E6AA1145AA1113A1/CaiFeifan/TecoGAN$ python3 dataPrepare.py --start_id 2000 --duration 120 --REMOVE --disk_path /media/smartcity/E6AA1145AA1113A1/CaiFeifan/datasets/VimeoTecoGAN/
[Configurations]:
start_id: 2000
duration: 120
disk_path: /media/smartcity/E6AA1145AA1113A1/CaiFeifan/datasets/VimeoTecoGAN/
summary_dir: /media/smartcity/E6AA1145AA1113A1/CaiFeifan/datasets/VimeoTecoGAN/log/
REMOVE: True
TEST: False
End of configuration
Try loading 308x120.
https://vimeo.com/121649159
[vimeo] 121649159: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/121649159
Skipped invalid link or other error:https://vimeo.com/121649159
https://vimeo.com/40439273
[vimeo] 40439273: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/40439273
Skipped invalid link or other error:https://vimeo.com/40439273
https://vimeo.com/87389090
[vimeo] 87389090: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/87389090
Skipped invalid link or other error:https://vimeo.com/87389090
https://vimeo.com/335874600
[vimeo] 335874600: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/335874600
Skipped invalid link or other error:https://vimeo.com/335874600
https://vimeo.com/114053015
[vimeo] 114053015: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/114053015
Skipped invalid link or other error:https://vimeo.com/114053015
https://vimeo.com/160578133
[vimeo] 160578133: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/160578133
Skipped invalid link or other error:https://vimeo.com/160578133
https://vimeo.com/148058982
[vimeo] 148058982: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/148058982
Skipped invalid link or other error:https://vimeo.com/148058982
https://vimeo.com/150225201
[vimeo] 150225201: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out')))
youtube_dl error:https://vimeo.com/150225201
Skipped invalid link or other error:https://vimeo.com/150225201
https://vimeo.com/145096806

bash test.sh

Bash test How should I write the parameters after sh-- exp_ dir ./ experiments_$ {degradation}/${model}/${exp_id}
--mode test
--model ${model}
--opt test. yml
--gpu_ id ${gpu_id}
Can you give me an example? There is no problem with my path. It keeps reminding me that I can't find the file

Practical usability

It's great that you provide elaborate ways to compare this method against previous models on known datasets, but from a practical usability standpoint those script are not very useful...

It would be amazing if you could provide a sample script like
upsample.py --input.mp4 that simply upscales an input video...

Getting results lower than the paper

Hi. I have tried your code as
bash test.sh "BD" "EGVSR"
I am getting results much lower than the paper"Real-Time Super-Resolution System of 4K-Video Based on Deep Learning" mentioned on the Vid4 Dataset. Here is the screen grab.
image

Run profile.sh failed

bash profile.sh BI TecoGAN 3x540x960
Traceback (most recent call last):
  File "./codes/main.py", line 13, in <module>
    from metrics.metric_calculator import MetricCalculator
  File "/home/tianqing/pyprojects/EGVSR/codes/metrics/metric_calculator.py", line 11, in <module>
    from .LPIPS.models.dist_model import DistModel
  File "/home/tianqing/pyprojects/EGVSR/codes/metrics/LPIPS/models/__init__.py", line 11, in <module>
    from metrics.LPIPS.models import dist_model
  File "/home/tianqing/pyprojects/EGVSR/codes/metrics/LPIPS/models/dist_model.py", line 21, in <module>
    from . import networks_basic as networks
  File "/home/tianqing/pyprojects/EGVSR/codes/metrics/LPIPS/models/networks_basic.py", line 15, in <module>
    import metrics.LPIPS.models as util
AttributeError: module 'metrics.LPIPS' has no attribute 'models'

Generator model of EGVSR

Untitled

I don't understand what the symbol (+) is trying to get the resized residual and the SRNET output done.
When implementing on egvsr_nets.py, there is no clue about performing these things.
Can you explain the flow of the model on details?

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.