facebookresearch / Ego-Exo
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 145 files with 14,402 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 18 medium size files (5,900 lines of codeclsfd_ftr_w_mp_ins)
    • 22 small files (3,491 lines of code)
    • 105 very small files (5,011 lines of code)
0% | 0% | 40% | 24% | 34%
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% | 54% | 30% | 14%
yaml0% | 0% | 0% | 5% | 94%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
slowfast/utils0% | 0% | 51% | 25% | 22%
slowfast/models0% | 0% | 52% | 31% | 16%
slowfast/datasets0% | 0% | 35% | 57% | 6%
tools/epic0% | 0% | 99% | 0% | <1%
tools0% | 0% | 81% | 0% | 18%
tools/handobj0% | 0% | 99% | 0% | <1%
tools/kd0% | 0% | 99% | 0% | <1%
slowfast/config0% | 0% | 81% | 0% | 18%
ROOT0% | 0% | 0% | 79% | 20%
slowfast/visualization0% | 0% | 0% | 68% | 31%
configs/Kinetics0% | 0% | 0% | 0% | 100%
configs/ego-exo0% | 0% | 0% | 0% | 100%
configs/AVA0% | 0% | 0% | 0% | 100%
configs/Charades0% | 0% | 0% | 0% | 100%
configs/SSv20% | 0% | 0% | 0% | 100%
slowfast0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
video_model_builder.py
in slowfast/models
500 10
object_detection_evaluation.py
in slowfast/utils/ava_evaluation
480 23
meters.py
in slowfast/utils
460 38
cv2_transform.py
in slowfast/datasets
398 31
resnet_helper.py
in slowfast/models
376 13
train_net.py
in tools/epic/handobj
324 5
train_net.py
in tools/handobj
320 5
checkpoint.py
in slowfast/utils
312 14
train_net.py
in tools/kd
311 5
kinetics_aux.py
in slowfast/datasets
299 9
train_net.py
in tools/epic
294 5
demo_net.py
in tools
293 7
handobj_models.py
in slowfast/models
289 14
train_net.py
in tools
288 5
ava_dataset.py
in slowfast/datasets
272 7
np_box_list_ops.py
in slowfast/utils/ava_evaluation
258 17
per_image_evaluation.py
in slowfast/utils/ava_evaluation
217 7
defaults.py
in slowfast/config
209 2
misc.py
in slowfast/utils
197 13
decoder.py
in slowfast/datasets
193 6
ava_eval_helper.py
in slowfast/utils
191 9
handobj_kd_models.py
in slowfast/models
188 5
environment.yaml
in root
188 -
tensorboard_vis.py
in slowfast/visualization
184 7
epic.py
in slowfast/datasets
177 6
kinetics.py
in slowfast/datasets
173 4
ssv2.py
in slowfast/datasets
172 4
np_box_mask_list_ops.py
in slowfast/utils/ava_evaluation
172 12
transform.py
in slowfast/datasets
171 14
charades.py
in slowfast/datasets
158 4
distributed.py
in slowfast/utils
158 14
utils.py
in slowfast/datasets
155 11
multigrid.py
in slowfast/utils
144 5
batchnorm_helper.py
in slowfast/models
141 9
kd_models.py
in slowfast/models
126 4
handobj_multi_models.py
in slowfast/models
124 4
ava_helper.py
in slowfast/datasets
121 4
charades_aux.py
in slowfast/datasets
120 1
head_helper.py
in slowfast/models
120 4
epic_aux.py
in slowfast/datasets
118 1
stem_helper.py
in slowfast/models
100 6
loader.py
in slowfast/datasets
98 4
nonlocal_helper.py
in slowfast/models
85 3
utils.py
in slowfast/visualization
84 3
standard_fields.py
in slowfast/utils/ava_evaluation
79 -
benchmark.py
in slowfast/utils
78 1
SLOWFAST_16x8_R50_multigrid.yaml
in configs/Charades
78 -
SLOWFAST_32x2_R50_SHORT.yaml
in configs/AVA
77 -
SLOWFAST_16x8_R50_multigrid.yaml
in configs/SSv2
76 -
SLOWFAST_16x8_R50.yaml
in configs/Charades
75 -
Files With Most Units (Top 20)
File# lines# units
meters.py
in slowfast/utils
460 38
cv2_transform.py
in slowfast/datasets
398 31
object_detection_evaluation.py
in slowfast/utils/ava_evaluation
480 23
np_box_list_ops.py
in slowfast/utils/ava_evaluation
258 17
transform.py
in slowfast/datasets
171 14
checkpoint.py
in slowfast/utils
312 14
distributed.py
in slowfast/utils
158 14
handobj_models.py
in slowfast/models
289 14
misc.py
in slowfast/utils
197 13
resnet_helper.py
in slowfast/models
376 13
np_box_mask_list_ops.py
in slowfast/utils/ava_evaluation
172 12
utils.py
in slowfast/datasets
155 11
video_model_builder.py
in slowfast/models
500 10
kinetics_aux.py
in slowfast/datasets
299 9
ava_eval_helper.py
in slowfast/utils
191 9
np_box_list.py
in slowfast/utils/ava_evaluation
49 9
batchnorm_helper.py
in slowfast/models
141 9
label_map_util.py
in slowfast/utils/ava_evaluation
70 8
demo_net.py
in tools
293 7
tensorboard_vis.py
in slowfast/visualization
184 7
Files With Long Lines (Top 10)

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

File# lines# units# long lines
train_net.py
in tools/kd
311 5 1
train_net.py
in tools/epic/handobj
324 5 1
train_net.py
in tools/epic
294 5 1
train_net.py
in tools/handobj
320 5 1
kinetics_aux.py
in slowfast/datasets
299 9 1
C2D_NLN_8x8_R50_IN1K.yaml
in configs/Kinetics
58 - 1
I3D_8x8_R50_IN1K.yaml
in configs/Kinetics
58 - 1
I3D_NLN_8x8_R50_IN1K.yaml
in configs/Kinetics
58 - 1
C2D_8x8_R50_IN1K.yaml
in configs/Kinetics
58 - 1
cfg
setup.cfg
in root
22 - 1