facebookresearch / video-long-term-feature-banks
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 66 files with 7,509 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 11 medium size files (3,117 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,632 lines of code)
    • 44 very small files (2,760 lines of code)
0% | 0% | 41% | 21% | 36%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 57% | 30% | 12%
yaml0% | 0% | 10% | 0% | 89%
cu0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 0% | 100%
cc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/datasets0% | 0% | 54% | 27% | 18%
lib/utils0% | 0% | 60% | 32% | 7%
lib/models0% | 0% | 70% | 23% | 6%
lib/core0% | 0% | 99% | 0% | <1%
configs/detectron0% | 0% | 80% | 0% | 19%
tools0% | 0% | 0% | 76% | 23%
caffe2_customized_ops/video0% | 0% | 0% | 64% | 35%
configs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
metrics.py
in lib/utils
497 24
checkpoints.py
in lib/utils
334 16
dataloader.py
in lib/datasets
313 20
model_builder_video.py
in lib/models
286 18
resnet_video.py
in lib/models
275 2
config.py
in lib/core
251 5
image_processor.py
in lib/datasets
251 21
epic.py
in lib/datasets
240 16
epic_object_detector.yaml
in configs/detectron
238 -
lfb_helper.py
in lib/models
225 12
ava.py
in lib/datasets
207 10
misc.py
in lib/utils
190 15
charades.py
in lib/datasets
173 11
ava_data_input.py
in lib/datasets
169 8
data_input_helper.py
in lib/datasets
162 6
train_net.py
in tools
159 3
lfb_loader.py
in tools
156 7
ava_eval_helper.py
in lib/utils
147 9
nonlocal_helper.py
in lib/models
147 3
resnet_helper.py
in lib/models
116 5
bn_helper.py
in lib/utils
112 8
cu
affine_nd_op.cu
in caffe2_customized_ops/video
101 -
evaluate_actions.py
in tools
98 6
charades_data_input.py
in lib/datasets
97 8
epic_data_input.py
in lib/datasets
92 7
ava_r50_lfb_nl_3l.yaml
in configs
86 -
ava_r101_lfb_nl_3l.yaml
in configs
86 -
ava_r50_lfb_max.yaml
in configs
84 -
ava_r101_lfb_nl.yaml
in configs
84 -
ava_r101_lfb_avg.yaml
in configs
84 -
ava_r101_lfb_max.yaml
in configs
84 -
ava_r50_lfb_avg.yaml
in configs
84 -
ava_r50_lfb_nl.yaml
in configs
84 -
charades_r101_lfb_max.yaml
in configs
79 -
charades_r101_lfb_nl.yaml
in configs
79 -
charades_r101_lfb_avg.yaml
in configs
79 -
epic_noun_r50_lfb_nl.yaml
in configs
78 -
epic_verb_r50_lfb_nl.yaml
in configs
78 -
charades_r50_lfb_avg.yaml
in configs
78 -
epic_verb_r50_lfb_avg.yaml
in configs
78 -
epic_noun_r50_lfb_avg.yaml
in configs
78 -
charades_r50_lfb_nl.yaml
in configs
78 -
epic_verb_r50_lfb_max.yaml
in configs
78 -
charades_r50_lfb_max.yaml
in configs
78 -
epic_noun_r50_lfb_max.yaml
in configs
78 -
ava_r50_baseline.yaml
in configs
76 -
ava_r101_baseline.yaml
in configs
76 -
epic_noun_r50_baseline.yaml
in configs
70 -
epic_verb_r50_baseline.yaml
in configs
70 -
head_helper.py
in lib/models
68 3
Files With Most Units (Top 20)
File# lines# units
metrics.py
in lib/utils
497 24
image_processor.py
in lib/datasets
251 21
dataloader.py
in lib/datasets
313 20
model_builder_video.py
in lib/models
286 18
epic.py
in lib/datasets
240 16
checkpoints.py
in lib/utils
334 16
misc.py
in lib/utils
190 15
lfb_helper.py
in lib/models
225 12
charades.py
in lib/datasets
173 11
ava.py
in lib/datasets
207 10
ava_eval_helper.py
in lib/utils
147 9
ava_data_input.py
in lib/datasets
169 8
charades_data_input.py
in lib/datasets
97 8
bn_helper.py
in lib/utils
112 8
lfb_loader.py
in tools
156 7
coordinator.py
in lib/datasets
46 7
epic_data_input.py
in lib/datasets
92 7
lr_policy.py
in lib/utils
41 7
evaluate_actions.py
in tools
98 6
data_input_helper.py
in lib/datasets
162 6
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
e2e_keypoint_rcnn_X-101-32x8d-FPN_s1x_ava.yaml
in configs/detectron
57 - 1