Comments (4)
In my preliminary testing, when running iSeeBetterTest.py using parameters
Namespace(chop_forward=False, data_dir='./Vid4', debug=False, file_list='ggbb_png.txt', future_frame=True, gpu_mode=True, gpus=1, model='weights/netG_epoch_4_1.pth', model_type='RBPN', nFrames=7, other_dataset=True, output='Results/', residual=False, seed=123, testBatchSize=1, threads=8, upscale_factor=4)
on an NVIDIA V100 machine, a grayscale png sequence of 100 frames where each frame measures 96x72(Note: 384x288 original input, but iSeeBetter downscales it by the scale factor for future re-upscaling to original size and testing I think, not 100% sure) and uses around ~20 kB/frame (80kB/frame original, see previous note), takes a (ballpark) 0.2-0.3s per frame(see full output attached). This would extrapolate to around 6-9s of processing time for one second of 96x72 30fps ~0.6 MBps "video". Those are the numbers I have as of now
from iseebetter.
Hey, thanks for such a rapid response, very insightful
the provided parameters show testBatchSize=1, could this be increased to speed the network? What is the memory usage during the inference?
from iseebetter.
Yeah no worries, I was messing around with it anyway.
Yo lol I didn't even notice that but hell yeah that speeds things up. In the attached file, I've listed the output times per batch(so divide the times by the testBatchSize
I guess) and normal RAM usage at idle and during the process. Unfortunately I'm using Colab and I can't goddamn figure out how to check vram usage during execution of the loop, which is the what you actually wanted to see I'm guessing. What I can tell you is that the GPU was a V100 with ~16gigs of memory and it fails(CUDA out of memory.
somewhere between a testBatchSize
of 20 and 24, so I guess it uses around 16gigs somewhere around that batch size. But yeah, seems like it came down to around 0.05s/frame by testBatchSize=20
.
from iseebetter.
alright, thanks, this was a great help
from iseebetter.
Related Issues (20)
- problem of training result
- Is it possible to use multiple GPUs to run tests?
- Trying to upscale from HD to 4K CUDA out of memory even with 48GB VRAM, CPU mode doesn't work HOT 1
- OpenCV dependency missing
- Trouble with installation: requirements.txt complains and pyfow fails HOT 1
- Exception in thread Thread-1: ValueError: signal number 32 out of range HOT 2
- About fine tuning discriminator
- CUDA out of memory HOT 2
- Problem when testing
- I CAN'T RUN THE TEST WITH THE --upscale_factor
- Issue in Reproducing the same result as mentioned in paper HOT 3
- Errror loading pretrained model HOT 5
- Results in MSU Video Super Resolution Benchmark
- Did someone get it to work with pytorch >=v1.8.0?
- why does batch have batch[0]、batch[1].......
- 如何输入视频进行测试?
- RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
- How to run on custom video.
- pretrained model
- Colab Notebook
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 iseebetter.