Comments (6)
Input:
!python /content/VSFA/test_demo.py --video_path='/content/VSFA/ACMMM_2019_supplementary_44/video pair/better-MAH_02693_8s.mp4' --model_path=/content/VSFA/models/VSFA.pt
output:
RuntimeError: CUDA out of memory. Tried to allocate 3.96 GiB (GPU 0; 15.90 GiB total capacity; 9.73 GiB already allocated; 2.47 GiB free; 12.72 GiB reserved in total by PyTorch)
from vsfa.
This question is my computer configuration or using way?
from vsfa.
@JavanTang You should read the test_demo.py
carefully.
Or at least you can run python test_demo.py --help
to get more information.
Actually, you can set frame_batch_size
to 16, then it only needs about 9G GPU memory.
The supplementary video pairs are just used for illustrating the motivation of this paper.
We provide the test_demo.py
with the test.mp4
example (which has a smaller resolution than my supplementary video pairs, so it can be run with default frame_batch_size
, 32).
To save GPU memory, a smaller frame_batch_size
is preferred.
from vsfa.
@lidq92 Well. Video length increases, can increase memory? Try to test 32 seconds video on my side, but my memory more than 12 gb, is this normal?
from vsfa.
@JavanTang Read the test_demo.py
, or at least I strongly suggest you run python test_demo.py --help
to get more information.
It is obvious that the video spatial resolution has an effect on the GPU memory.
"It only needs about 9G GPU memory for a 1080P video with setting frame_batch_size=16
.
from vsfa.
@lidq92 Ok, thank you
from vsfa.
Related Issues (20)
- 跨数据库测试 HOT 3
- hyper-parameters & motion-related features HOT 5
- 时间记忆效应参数选择 HOT 1
- VSFA's Performance comparision with VIIDEO HOT 2
- Pretrained Weights HOT 6
- Question about V-BLIINDS&NIQE HOT 2
- Loss Function! HOT 2
- The question about GRU setting HOT 1
- Question about CORNIA HOT 1
- How to download LIVE-VQC? Is there baidu disk link ? Thanks for a help HOT 10
- Performance on LIVE-VQC HOT 6
- How to get the data/KoNViD-1kinfo.mat? HOT 1
- 有关 Content-Aware Feature Extraction部分的spatial global average pooling operation的问题 HOT 2
- 请问数据读取是否有问题呢? HOT 1
- [Qustion] On the training the CNN networks HOT 2
- [Qustion] Overfitting problem HOT 4
- Is it possible to share VBLIINDS features for live qualcomm and konvid-1k? HOT 1
- 请问KoNViD-1k数据集没有指定的验证集嘛 HOT 1
- Results in MSU Video Quality Metrics Benchmark
- 视频文件读取问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsfa.