Comments (2)
Thank you for the feedback. From what I saw for the causal tapir colab demo, the inference on 50 frames 20 points 256x256 resolution may take 5GB GPU memory. Note that this is only a valid number for this specific setting.
from tapnet.
It's not easy to give a single nuber because it depends heavily on what you're trying to do. The live demo (which runs on a 480x480 image runs fine on my 8GB M4000 even when I limit JAX to 0.05% of the memory via XLA_PYTHON_CLINENT_MEM_FRACTION=0.05
(which still somehow allocates 1GB of memory; there's probably another flag I need to tweak). But obviously, more points, larger frames, and longer videos processed in batch mode, you can easily end up with a tensor that takes the whole memory.
I agree that we should add a bit more info on memory usage, but JAX doesn't make it super easy as it tends to only be careful about freeing tensors when memory is limited, so we can't just look at overall usage. However, almost any discrete GPU (in fact, almost any GPU in general) should be able to run something (e.g. 1 frame at a time at 256x256), and even CPU mode is decently fast for small images.
from tapnet.
Related Issues (20)
- OnnxExporterError: Unsupported: ONNX export of operator GridSample with 5D volumetric input. HOT 5
- ValueError: All `hk.Module`s must be initialized inside an `hk.transform` HOT 12
- ValueError: converting frame count is not supported. HOT 8
- robotap's query points selection question HOT 5
- Torchscript compatibility HOT 6
- Has anyone implemented it with tensorrt? HOT 1
- None of the algorithms provided by cuDNN heuristics worked; trying fallback algorithms HOT 2
- Pytorch <2.1.0 can't load the checkpoints correctly HOT 1
- Pretrained Weights for Pytorch Version of Online Tapir/BootsTapir HOT 2
- IndexError: boolean index did not match indexed array along dimension 1; dimension is 256 but corresponding boolean dimension is 990 HOT 2
- Training TAPIR PyTorch version script? HOT 7
- BootsTAP Training Dataset HOT 1
- `plot_tracks_v2` has bug when plotting with `trackgroup` argument. HOT 2
- KeyError: 'global_step' When I load the weight of TAPIR HOT 5
- CUDA out of memory issue when using PyTorch weights instead of JAX weights. HOT 2
- pytorch version TAPIR 's training file HOT 1
- Annotation Tool for TAP-VID HOT 2
- TAPIR PyTorch checkpoint size mismatch with model HOT 5
- TAPIR training time stats HOT 2
- TAPIR performance degradation with cudnn9 HOT 3
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 tapnet.