Does MDEQ have different inference results for different batch sizes?
See original GitHub issueI’m running some experiments with MDEQ on ImageNet validation set and I get different activations (variable new_z1
in the mdeq_core.py
) for the DEQ layer for different batch sizes. I can see in the broyden
function that there’s no loop over the batch but since I’m not familiar with Broyden’s method and its implementation, I do not know if different images (within a batch) can interfere with each other or not directly or indirectly (by having an effect on the number of iterations in the solver for instance). Should I run inference on 1 image at a time?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
The batch size can affect inference results | OpenReview
It experimentally finds that the different batch sizes during training and inference will affect the model performance due to the matrix ...
Read more >Different batch size different result with inception_v2 #11295
During testing, if the batchsize=128, everything is ok. However, if the batchsize is smaller than 128 the results are different.
Read more >Multiscale Deep Equilibrium Models - Vladlen Koltun
We propose a new class of implicit networks, the multiscale deep equilibrium model. (MDEQ), suited to large-scale and highly hierarchical pattern ...
Read more >Sampling Strategies and Statistics Training Materials
Appropriate sampling strategies differ based on the sampling objectives (e.g, FACILITY characterization, verification of remediation, comparison to criteria ...
Read more >Training Graph Neural Networks with 1000 Layers - arXiv
We examine different iteration thresholds for DEQ-GNN with a channel size of 64 (DEQ-GNN-64) and a channel size of 224 (DEQ-. GNN-224) in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you check if this issue solves the problem?
Yes, that solved the issue. Thanks a lot!