facebookresearch / Motionformer
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 89 files with 10,947 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,381 lines of code)
    • 16 medium size files (4,678 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,886 lines of code)
    • 59 very small files (3,002 lines of code)
0% | 12% | 42% | 17% | 27%
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% | 15% | 48% | 21% | 14%
html0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
slowfast/utils0% | 38% | 27% | 14% | 19%
slowfast/datasets0% | 21% | 41% | 25% | 11%
slowfast/visualization0% | 0% | 61% | 33% | 4%
slowfast/models0% | 0% | 49% | 24% | 25%
ROOT0% | 0% | 79% | 0% | 20%
tools0% | 0% | 94% | 0% | 5%
slowfast/config0% | 0% | 99% | 0% | <1%
configs/SSV20% | 0% | 0% | 0% | 100%
configs/EK0% | 0% | 0% | 0% | 100%
configs/K4000% | 0% | 0% | 0% | 100%
configs/K6000% | 0% | 0% | 0% | 100%
data/kinetics_4000% | 0% | 0% | 0% | 100%
data/kinetics_6000% | 0% | 0% | 0% | 100%
slowfast0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
meters.py
in slowfast/utils
804 67
autoaugment.py
in slowfast/datasets
577 54
vit_helper.py
in slowfast/models
437 23
train_net.py
in tools
432 5
cv2_transform.py
in slowfast/datasets
403 32
checkpoint.py
in slowfast/utils
345 14
index.html
in root
334 -
defaults.py
in slowfast/config
320 2
ava_demo_precomputed_boxes.py
in slowfast/visualization
290 11
tensorboard_vis.py
in slowfast/visualization
288 11
demo_loader.py
in slowfast/visualization
247 18
video_visualizer.py
in slowfast/visualization
240 8
misc.py
in slowfast/utils
232 13
video_model_builder.py
in slowfast/models
232 7
kinetics.py
in slowfast/datasets
230 5
transform.py
in slowfast/datasets
227 18
ssv2.py
in slowfast/datasets
218 6
run_with_submitit.py
in root
203 9
decoder.py
in slowfast/datasets
194 6
async_predictor.py
in slowfast/visualization
190 22
utils.py
in slowfast/datasets
190 14
performer_helper.py
in slowfast/models
184 9
utils.py
in slowfast/visualization
179 17
epickitchens.py
in slowfast/datasets
173 6
distributed.py
in slowfast/utils
163 15
multigrid.py
in slowfast/utils
144 5
batchnorm_helper.py
in slowfast/models
141 9
loader.py
in slowfast/datasets
114 3
predictor.py
in slowfast/visualization
110 7
gradcam_utils.py
in slowfast/visualization
104 5
environment.yml
in root
93 -
nystrom_helper.py
in slowfast/models
88 2
joint_224_16x4.yaml
in configs/SSV2
84 -
motionformer_224_16x4.yaml
in configs/SSV2
84 -
motionformer_224_32x3.yaml
in configs/SSV2
84 -
divided_224_16x4.yaml
in configs/SSV2
84 -
motionformer_336_16x4.yaml
in configs/SSV2
84 -
joint_224_16x4.yaml
in configs/EK
80 -
motionformer_224_16x4.yaml
in configs/EK
80 -
motionformer_224_32x3.yaml
in configs/EK
80 -
divided_224_16x4.yaml
in configs/EK
80 -
motionformer_336_16x4.yaml
in configs/EK
80 -
benchmark.py
in slowfast/utils
78 1
joint_224_16x4.yaml
in configs/K400
78 -
motionformer_224_16x4.yaml
in configs/K400
78 -
motionformer_224_32x3.yaml
in configs/K400
78 -
divided_224_16x4.yaml
in configs/K400
78 -
motionformer_336_16x8.yaml
in configs/K400
78 -
joint_224_16x4.yaml
in configs/K600
78 -
motionformer_224_16x4.yaml
in configs/K600
78 -
Files With Most Units (Top 20)
File# lines# units
meters.py
in slowfast/utils
804 67
autoaugment.py
in slowfast/datasets
577 54
cv2_transform.py
in slowfast/datasets
403 32
vit_helper.py
in slowfast/models
437 23
async_predictor.py
in slowfast/visualization
190 22
demo_loader.py
in slowfast/visualization
247 18
transform.py
in slowfast/datasets
227 18
utils.py
in slowfast/visualization
179 17
distributed.py
in slowfast/utils
163 15
utils.py
in slowfast/datasets
190 14
checkpoint.py
in slowfast/utils
345 14
misc.py
in slowfast/utils
232 13
ava_demo_precomputed_boxes.py
in slowfast/visualization
290 11
tensorboard_vis.py
in slowfast/visualization
288 11
epickitchens_record.py
in slowfast/datasets
40 10
batchnorm_helper.py
in slowfast/models
141 9
performer_helper.py
in slowfast/models
184 9
run_with_submitit.py
in root
203 9
video_visualizer.py
in slowfast/visualization
240 8
video_record.py
in slowfast/datasets
24 8
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 17 long lines.

File# lines# units# long lines
index.html
in root
334 - 13
vit_helper.py
in slowfast/models
437 23 2
epickitchens.py
in slowfast/datasets
173 6 1
cfg
setup.cfg
in root
22 - 1