facebookresearch / ConvNeXt
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 43 files with 3,977 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (784 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (1,796 lines of code)
    • 28 very small files (1,397 lines of code)
0% | 0% | 19% | 45% | 35%
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% | 19% | 45% | 35%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 63% | 23% | 13%
object_detection/configs/convnext0% | 0% | 0% | 91% | 8%
object_detection/configs/_base_0% | 0% | 0% | 96% | 3%
models0% | 0% | 0% | 71% | 28%
object_detection/mmdet/models0% | 0% | 0% | 86% | 13%
semantic_segmentation/backbone0% | 0% | 0% | 100% | 0%
semantic_segmentation/configs/convnext0% | 0% | 0% | 0% | 100%
semantic_segmentation/mmcv_custom0% | 0% | 0% | 0% | 100%
object_detection/mmcv_custom0% | 0% | 0% | 0% | 100%
object_detection/mmcv_custom/runner0% | 0% | 0% | 0% | 100%
semantic_segmentation/mmcv_custom/apex_runner0% | 0% | 0% | 0% | 100%
semantic_segmentation/configs/_base_0% | 0% | 0% | 0% | 100%
Longest Files (Top 43)
File# lines# units
utils.py
in root
396 40
main.py
in root
388 3
cascade_mask_rcnn_convnext_fpn.py
in object_detection/configs/_base_/models
198 -
optim_factory.py
in root
161 6
convnext.py
in models
147 13
engine.py
in root
134 2
cascade_mask_rcnn_convnext_small_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in1k.py
in object_detection/configs/convnext
132 -
cascade_mask_rcnn_convnext_large_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in22k.py
in object_detection/configs/convnext
132 -
cascade_mask_rcnn_convnext_base_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in1k.py
in object_detection/configs/convnext
132 -
cascade_mask_rcnn_convnext_xlarge_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in22k.py
in object_detection/configs/convnext
132 -
cascade_mask_rcnn_convnext_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in1k.py
in object_detection/configs/convnext
132 -
cascade_mask_rcnn_convnext_base_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco_in22k.py
in object_detection/configs/convnext
132 -
convnext.py
in object_detection/mmdet/models/backbones
123 9
convnext.py
in semantic_segmentation/backbone
123 9
mask_rcnn_convnext_fpn.py
in object_detection/configs/_base_/models
118 -
run_with_submitit.py
in root
89 8
layer_decay_optimizer_constructor.py
in object_detection/mmcv_custom
89 3
layer_decay_optimizer_constructor.py
in semantic_segmentation/mmcv_custom
89 3
customized_text.py
in object_detection/mmcv_custom
86 2
customized_text.py
in semantic_segmentation/mmcv_custom
86 2
datasets.py
in root
75 2
mask_rcnn_convnext_tiny_patch4_window7_mstrain_480-800_adamw_3x_coco_in1k.py
in object_detection/configs/convnext
72 -
convnext_isotropic.py
in models
60 7
checkpoint.py
in object_detection/mmcv_custom/runner
57 1
checkpoint.py
in semantic_segmentation/mmcv_custom/apex_runner
57 1
upernet_convnext_large_640_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
46 -
upernet_convnext_tiny_512_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
46 -
upernet_convnext_xlarge_640_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
46 -
upernet_convnext_base_512_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
46 -
upernet_convnext_base_640_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
46 -
upernet_convnext_base_512_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_base_640_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_tiny_512_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_small_512_160k_ade20k_ss.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_xlarge_640_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_large_640_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
45 -
upernet_convnext_small_512_160k_ade20k_ms.py
in semantic_segmentation/configs/convnext
44 -
upernet_convnext.py
in semantic_segmentation/configs/_base_/models
40 -
__init__.py
in object_detection/mmdet/models/backbones
19 -
default_runtime.py
in object_detection/configs/_base_
12 -
default_runtime.py
in semantic_segmentation/configs/_base_
11 -
__init__.py
in semantic_segmentation/mmcv_custom
7 -
__init__.py
in object_detection/mmcv_custom
4 -
Files With Most Units (Top 16)
File# lines# units
utils.py
in root
396 40
convnext.py
in models
147 13
convnext.py
in object_detection/mmdet/models/backbones
123 9
convnext.py
in semantic_segmentation/backbone
123 9
run_with_submitit.py
in root
89 8
convnext_isotropic.py
in models
60 7
optim_factory.py
in root
161 6
layer_decay_optimizer_constructor.py
in object_detection/mmcv_custom
89 3
main.py
in root
388 3
layer_decay_optimizer_constructor.py
in semantic_segmentation/mmcv_custom
89 3
datasets.py
in root
75 2
engine.py
in root
134 2
customized_text.py
in object_detection/mmcv_custom
86 2
customized_text.py
in semantic_segmentation/mmcv_custom
86 2
checkpoint.py
in object_detection/mmcv_custom/runner
57 1
checkpoint.py
in semantic_segmentation/mmcv_custom/apex_runner
57 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
utils.py
in root
396 40 1
main.py
in root
388 3 1
__init__.py
in semantic_segmentation/mmcv_custom
7 - 1