Comments (3)
You're seeing compile time, not runtime. Every time the size of the input tensors changes (different resolution, different number of frames, different number of query points), the entire inference graph needs to be recompiled, which takes on the order of minutes.
The solution is typically to make sure you're always running with the same size input. You can pad the query points with zeros if necessary without changing the output for the other points.
from tapnet.
JAX also prints out this in the command line.
from tapnet.
Thanks @cdoersch , that's correct. Most of the that was recompilation time. I'm now padding my data and keeping the dimensions same for every run.
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.