Code Monkey home page Code Monkey logo

sof-vsr's People

Contributors

longguangwang 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

sof-vsr's Issues

Issues with Memory Usage

Hi,

I'm trying to run SOF-VSR on a machine with 24gb VRAM and 64gb CPU RAM.

In CPU-only mode, I'm running into issues running the model on input images with resolutions larger than HD (1920 x 1080). In GPU-only mode, I can't run the model on input images with resolutions greater than 960 pixels.

Is this in-line with your research and findings? What input resolutions are possible with SOF-VSR? Or, is it only limited by the amount of hardware on your system? Thanks so much!

run on CPU only without GPU

hi @LongguangWang
thank you for your work
could you please show me how to run your code with cpu only, i try to add --cpu arg to demo_Vid4.py as parser.add_argument("--cpu", action="store_true",help="use cpu only") , then i run the test with
python demo_Vid4.py --video_name calendar --upscale_factor 4 --cpu
but it give me this error
Traceback (most recent call last):
File "demo_Vid4.py", line 54, in
main(cfg)
File "demo_Vid4.py", line 30, in main
net.cuda()
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\nn\modules\module.py", line 260, in cuda
return self._apply(lambda t: t.cuda(device))
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\nn\modules\module.py", line 187, in _apply
module._apply(fn)
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\nn\modules\module.py", line 187, in _apply
module._apply(fn)
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\nn\modules\module.py", line 193, in _apply
param.data = fn(param.data)
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\nn\modules\module.py", line 260, in
return self.apply(lambda t: t.cuda(device))
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\cuda_init
.py", line 161, in _lazy_init
check_driver()
File "C:\Users\ABDO\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\cuda_init
.py", line 75, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
thank you

About evaluation metric:T-MOVIE,MOVIE and VQM-VFD

Thank for your excellent work. It helps me a lot. I want to evaluate the consistency performance of my results . How do you implement these evaluation metrics:T-MOVIE, MOVIE and VQM-VFD? Is there source code package to use?

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 8th place in Super-Resolution for Video Compression Benchmark in 'x264 compression' category. We congratulate you on your result and look forward to your future work!

We would be grateful for your feedback on our work.

low retrained result

Hi, thanks for you wonderful work and open source.

After i retrained the code , i got the bad test result on vid4 dataset. Its psnr is 18.64,while the counterpart on paper is 26.01.

I think may be the two reasons:

  1. training set
    Since the CVDL dataset is to be processed to get training set . So my approach may be different from yours, which leads to this problem. Can you provide a well-processed training set or code of getting training set from CVDL dataset?

Is the published code different from what you trained before?

Best regard,

Results in MSU Video Super Resolution Benchmark

Hello,
MSU Video Group has recently launched Video Super Resolution Benchmark and evaluated this algorithm.

SOF-VSR-BD takes 11th place by subjective score, 10th place by PSNR, and 8th by our metric ERQAv1.0. SOF-VSR-BI takes 12th place by subjective score, 5th place by PSNR, and 7th by our metric ERQAv1.0. You can see the results here.

If you have any other VSR method you want to see in our benchmark, we kindly invite you to participate.
You can submit it for the benchmark, following the submission steps.

vid4 result with worse quality generated by 'demo_vid4.py'

Hello, thanks for your nice work on temporal consistency!

I tried using demo_vid4.py to generate SR videos on vid4 and get a worse result(in terms of temporal consistency, there are lots of flickering artifacts) compared which reported in paper, as follows:

temporal profile:
temporalProfile_calendar_SOF

calendar gif:
calendar

Could you give me some hints? Thanks in advance!

测试时,收尾会丢失

非常感谢您的工作。

测试是不知道为什么会丢失掉第一个SR图和最后一个SR图。

非常感谢!

Code bug in TestsetLoader?

Hi, Nice work

I found a confusing part of your TestsetLoader.
image
You normalize the LR tensors twice. One is in the code /255, then .div(255) again in toTensor()
image

I don't think it make sense.

Output has different number of frames

Hi,

I noticed that when running SOF-VSR on an input frame sequence with N frames, the output has (N - 2) frames. It doesn't produce the first and last frames in the sequence. What is the best way to get around this limitation? Should we duplicate the first and last frames of the input sequence before running the model? Thanks!

Where does 31 come from in optical_flow_warp?

Hello,

Nice work and code!

I have a question regarding the optical_flow_warp method. I understand that we want grid to have values in the range of [-1,1], but the multiplication with 31 seems arbitrary to me.

    flow_0 = torch.unsqueeze(image_optical_flow[:, 0, :, :] * 31 / (w - 1), dim=1)
    flow_1 = torch.unsqueeze(image_optical_flow[:, 1, :, :] * 31 / (h - 1), dim=1)

Can somebody further explain where this comes from?

Is it possible to add chop_forward

Hi @LongguangWang
i was wonder if it possible to add chop_forward to this great project to avoid run out of memory and Freezing the pc,i don't know if it even possible with this kind of Video Super-Resolution.
thank you

系统找不到指定的路径

首先感谢你的工作
今天下载以后,使用Pytorch 0.4.1,在cpu模式下运行

报错内容:
Traceback (most recent call last):
File "demo_Vid4.py", line 53, in
main(cfg)
File "demo_Vid4.py", line 48, in main
os.mkdir('results/' + video_name)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'results/calendar'

使用管理员模式运行也不行,请问应该怎么处理呢

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.