Revision 3ba4725e067b439ef7997b9063e3986ea938a3b4 authored by Amanpreet Singh on 19 March 2021, 22:17:27 UTC, committed by Facebook GitHub Bot on 19 March 2021, 22:18:53 UTC
Summary: The calculation of length for multidataloader used get_batch_size to divide total dataset length which is incorrect as get_batch_size is per device rather than global batch size. This PR fixes it and fixes snapshot interval calculation as well. This in turn: - Fixes max_epochs support - ETA - All other things dependent on this Pull Request resolved: https://github.com/facebookresearch/mmf/pull/820 Test Plan: Tested locally with MVLT runs Reviewed By: ytsheng, madian9 Differential Revision: D27184804 Pulled By: apsdehal fbshipit-source-id: d18aeb52b7e280f33c3b9e7509dafa123ed1c629
1 parent 08fb370
File | Mode | Size |
---|---|---|
interfaces | ||
transformers | ||
unit | ||
__init__.py | -rw-r--r-- | 985 bytes |
alignment.py | -rw-r--r-- | 9.2 KB |
ban.py | -rw-r--r-- | 3.2 KB |
base_model.py | -rw-r--r-- | 11.7 KB |
butd.py | -rw-r--r-- | 7.1 KB |
cnn_lstm.py | -rw-r--r-- | 3.5 KB |
fusions.py | -rw-r--r-- | 7.2 KB |
lorra.py | -rw-r--r-- | 2.2 KB |
lxmert.py | -rw-r--r-- | 27.7 KB |
m4c.py | -rw-r--r-- | 21.9 KB |
m4c_captioner.py | -rw-r--r-- | 748 bytes |
mmbt.py | -rw-r--r-- | 25.0 KB |
mmf_bert.py | -rw-r--r-- | 16.0 KB |
mmf_transformer.py | -rw-r--r-- | 14.6 KB |
movie_mcan.py | -rw-r--r-- | 9.8 KB |
pythia.py | -rw-r--r-- | 18.6 KB |
top_down_bottom_up.py | -rw-r--r-- | 2.5 KB |
unimodal.py | -rw-r--r-- | 3.3 KB |
vilbert.py | -rw-r--r-- | 57.1 KB |
visdial_multi_modal.py | -rw-r--r-- | 3.3 KB |
visual_bert.py | -rw-r--r-- | 23.5 KB |
Computing file changes ...