Giter VIP home page Giter VIP logo

Comments (4)

ciwei123 avatar ciwei123 commented on April 28, 2024

@304883563 请问您有LIVE或其他数据集可以分享下吗[email protected],非常感谢!!!

from dvqa.

haiqwang avatar haiqwang commented on April 28, 2024

我需要测试的视频是yuv大小大约是433M 1366x768 大约280多帧。使用CPU机器进行评分。机器内存4核32G。 运行一段时间。提示需要52G的内存。为何需要如此之大的内存?能否解答下。或者是否有参数可以调节。

首先,不建议使用CPU来跑模型,就算是解决了内存问题,CPU的运行时间会是GPU的几十倍。现在的代码是没有任何针对CPU的优化。当然,GPU模式也有很大的优化空间

直观地来说,有几个原因导致内存开销大。我们对YUV使用sliding windows采样,而且是有overlap的方式。模型运行期间也会产生高纬度的tensor,所以内存消耗比较大。另外,这是一个全参考模型,内存消耗又会加倍。数据预加载也会同步消耗内存。

在不改代码的前提下,一个比较简单的方式是减少单个测试序列的帧数,CPU/GPU内存消耗跟帧数成线性。

from dvqa.

haiqwang avatar haiqwang commented on April 28, 2024

@304883563 请问您有LIVE或其他数据集可以分享下吗[email protected],非常感谢!!!

需要你去数据集官网下载。一般这种数据集不允许redistribute。

from dvqa.

weweaq avatar weweaq commented on April 28, 2024

@haiqwang 你好,请问GPU运行情况下对显存占用有什么优化操作推荐我们去研究?我12G的显存,跑1980x1080分辨率的视频有点吃力。

from dvqa.

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.