facebookresearch / Detic
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 71 files with 7,583 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,556 lines of code)
    • 8 medium size files (2,380 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (2,031 lines of code)
    • 46 very small files (1,616 lines of code)
0% | 20% | 31% | 26% | 21%
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% | 22% | 34% | 29% | 13%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
detic/evaluation0% | 83% | 0% | 16% | 0%
detic/data/datasets0% | 40% | 30% | 18% | 9%
detic/modeling/roi_heads0% | 52% | 23% | 16% | 7%
detic/data0% | 0% | 78% | 0% | 21%
detic/modeling/backbone0% | 0% | 75% | 24% | 0%
detic/modeling0% | 0% | 88% | 0% | 11%
detic/modeling/meta_arch0% | 0% | 55% | 44% | 0%
ROOT0% | 0% | 55% | 44% | 0%
tools0% | 0% | 0% | 59% | 40%
detic0% | 0% | 0% | 78% | 21%
detic/modeling/text0% | 0% | 0% | 100% | 0%
configs0% | 0% | 0% | 0% | 100%
detic/data/transforms0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
oideval.py
in detic/evaluation
524 20
oid.py
in detic/data/datasets
523 1
detic_fast_rcnn.py
in detic/modeling/roi_heads
509 18
swintransformer.py
in detic/modeling/backbone
483 22
objects365.py
in detic/data/datasets
394 1
debug.py
in detic/modeling
309 9
custom_dataset_dataloader.py
in detic/data
276 12
d2_deformable_detr.py
in detic/modeling/meta_arch
245 11
detic_roi_heads.py
in detic/modeling/roi_heads
234 10
train_net.py
in root
230 4
custom_dataset_mapper.py
in detic/data
209 6
custom_rcnn.py
in detic/modeling/meta_arch
200 6
demo.py
in root
183 3
merge_lvis_coco.py
in tools
182 1
predictor.py
in detic
177 14
get_cc_tags.py
in tools
173 1
res5_roi_heads.py
in detic/modeling/roi_heads
157 5
timm.py
in detic/modeling/backbone
157 14
text_encoder.py
in detic/modeling/text
140 16
lvis_v1.py
in detic/data/datasets
122 3
preprocess_imagenet22k.py
in tools
112 4
coco_zeroshot.py
in detic/data/datasets
111 1
dump_clip_features.py
in tools
111 -
config.py
in detic
104 1
custom_coco_eval.py
in detic/evaluation
102 1
tar_dataset.py
in detic/data
100 8
Base-C2_L_R5021k_640b64_4x.yaml
in configs
81 -
custom_transform.py
in detic/data/transforms
80 7
register_oid.py
in detic/data/datasets
78 2
zero_shot_classifier.py
in detic/modeling/roi_heads
76 3
get_imagenet_21k_full_tar_json.py
in tools
71 -
create_lvis_21k.py
in tools
64 -
custom_solver.py
in detic
63 2
Base-DeformDETR_L_R50_4x.yaml
in configs
59 -
create_imagenetlvis_json.py
in tools
49 -
download_cc.py
in tools
45 -
Detic_LI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml
in configs
43 -
Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml
in configs
43 -
utils.py
in detic/modeling
42 3
custom_augmentation_impl.py
in detic/data/transforms
40 2
get_lvis_cat_info.py
in tools
38 -
custom_build_augmentation.py
in detic/data
34 1
Detic_OVCOCO_CLIP_R50_1x_max-size_caption.yaml
in configs
34 -
Detic_LI_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml
in configs
33 -
Detic_LbaseI_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml
in configs
33 -
Detic_OVCOCO_CLIP_R50_1x_caption.yaml
in configs
33 -
imagenet.py
in detic/data/datasets
32 1
Base_OVCOCO_C4_1x.yaml
in configs
31 -
Detic_OVCOCO_CLIP_R50_1x_max-size.yaml
in configs
30 -
Detic_LbaseCCcapimg_CLIP_R5021k_640b64_4x_ft4x_max-size.yaml
in configs
30 -
Files With Most Units (Top 20)
File# lines# units
swintransformer.py
in detic/modeling/backbone
483 22
oideval.py
in detic/evaluation
524 20
detic_fast_rcnn.py
in detic/modeling/roi_heads
509 18
text_encoder.py
in detic/modeling/text
140 16
predictor.py
in detic
177 14
timm.py
in detic/modeling/backbone
157 14
custom_dataset_dataloader.py
in detic/data
276 12
d2_deformable_detr.py
in detic/modeling/meta_arch
245 11
detic_roi_heads.py
in detic/modeling/roi_heads
234 10
debug.py
in detic/modeling
309 9
tar_dataset.py
in detic/data
100 8
custom_transform.py
in detic/data/transforms
80 7
custom_rcnn.py
in detic/modeling/meta_arch
200 6
custom_dataset_mapper.py
in detic/data
209 6
res5_roi_heads.py
in detic/modeling/roi_heads
157 5
preprocess_imagenet22k.py
in tools
112 4
train_net.py
in root
230 4
utils.py
in detic/modeling
42 3
zero_shot_classifier.py
in detic/modeling/roi_heads
76 3
lvis_v1.py
in detic/data/datasets
122 3
Files With Long Lines (Top 2)

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

File# lines# units# long lines
swintransformer.py
in detic/modeling/backbone
483 22 1
coco_zeroshot.py
in detic/data/datasets
111 1 1