microsoft / SpeciesClassification
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 61 files with 5,801 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,923 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,073 lines of code)
    • 39 very small files (1,805 lines of code)
0% | 0% | 33% | 35% | 31%
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% | 33% | 35% | 30%
pyx0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
PyTorchClassification0% | 0% | 68% | 11% | 20%
PyTorchClassification/pretrained0% | 0% | 100% | 0% | 0%
FasterRCNNDetection0% | 0% | 40% | 59% | 0%
FasterRCNNDetection/model0% | 0% | 0% | 58% | 41%
FasterRCNNDetection/data0% | 0% | 0% | 55% | 44%
FasterRCNNDetection/utils0% | 0% | 0% | 75% | 25%
misc0% | 0% | 0% | 51% | 48%
ROOT0% | 0% | 0% | 100% | 0%
FasterRCNNDetection/misc0% | 0% | 0% | 0% | 100%
PyTorchClassification/imagenet-nonanimal-test0% | 0% | 0% | 0% | 100%
PyTorchClassification/snakes0% | 0% | 0% | 0% | 100%
DetectionClassificationAPI0% | 0% | 0% | 0% | 100%
AnalyzePredictions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
train.py
in PyTorchClassification
493 12
data_loader.py
in PyTorchClassification
374 19
data_loader_cv.py
in PyTorchClassification
325 19
models.py
in PyTorchClassification
294 17
inceptionv3.py
in PyTorchClassification/pretrained
232 17
train.py
in FasterRCNNDetection
205 3
trainer.py
in FasterRCNNDetection
191 10
creator_tool.py
in FasterRCNNDetection/model/utils
178 10
classify_images.py
in root
175 4
faster_rcnn.py
in FasterRCNNDetection/model
134 8
roi_cupy.py
in FasterRCNNDetection/model/utils
132 -
vis_tool.py
in FasterRCNNDetection/utils
132 15
eval_tool.py
in FasterRCNNDetection/utils
129 3
run_training.py
in PyTorchClassification
129 3
run_snakes_training.py
in PyTorchClassification
117 3
non_maximum_suppression.py
in FasterRCNNDetection/model/utils/nms
111 4
make_species_extended.py
in misc
111 2
convert_folders_to_coco_format.py
in misc
109 2
coco_camera_traps_dataset.py
in FasterRCNNDetection/data
107 7
iwildcam_dataset.py
in FasterRCNNDetection/data
107 7
detection_api.py
in FasterRCNNDetection
107 4
dataset.py
in FasterRCNNDetection/data
104 16
util.py
in FasterRCNNDetection/data
99 7
roi_module.py
in FasterRCNNDetection/model
95 8
vott_dataset.py
in FasterRCNNDetection/data
87 6
onnx_validate.py
in PyTorchClassification
87 1
train_fast.py
in FasterRCNNDetection/misc
86 2
run_serengeti_training.py
in PyTorchClassification
86 3
region_proposal_network.py
in FasterRCNNDetection/model
85 5
faster_rcnn_vgg16.py
in FasterRCNNDetection/model
83 5
onnx_export.py
in PyTorchClassification
75 3
bbox_tools.py
in FasterRCNNDetection/model/utils
73 5
folder_to_coco.py
in PyTorchClassification/snakes
67 2
voc_dataset.py
in FasterRCNNDetection/data
66 5
onnx_test_driver.py
in PyTorchClassification
65 -
run_cct_training.py
in PyTorchClassification
65 3
test-images.py
in PyTorchClassification/imagenet-nonanimal-test
64 1
add_new_images_to_json.py
in misc
59 1
merge_iNat_and_animals_extension.py
in misc
52 1
config.py
in FasterRCNNDetection/utils
51 2
fix_iNatAll_json.py
in misc
45 1
api.py
in DetectionClassificationAPI
42 4
select-train-val-images.py
in PyTorchClassification/imagenet-nonanimal-test
40 1
array_tool.py
in FasterRCNNDetection/utils
35 4
classify_image.py
in PyTorchClassification
35 2
annotate_video.py
in FasterRCNNDetection/misc
34 -
precision_and_recall_from_cm.py
in AnalyzePredictions
33 -
test.py
in DetectionClassificationAPI
30 1
sanity_check_json.py
in misc
29 -
pyx
_nms_gpu_post.pyx
in FasterRCNNDetection/model/utils/nms
27 1
Files With Most Units (Top 20)
File# lines# units
data_loader.py
in PyTorchClassification
374 19
data_loader_cv.py
in PyTorchClassification
325 19
models.py
in PyTorchClassification
294 17
inceptionv3.py
in PyTorchClassification/pretrained
232 17
dataset.py
in FasterRCNNDetection/data
104 16
vis_tool.py
in FasterRCNNDetection/utils
132 15
train.py
in PyTorchClassification
493 12
creator_tool.py
in FasterRCNNDetection/model/utils
178 10
trainer.py
in FasterRCNNDetection
191 10
faster_rcnn.py
in FasterRCNNDetection/model
134 8
roi_module.py
in FasterRCNNDetection/model
95 8
coco_camera_traps_dataset.py
in FasterRCNNDetection/data
107 7
iwildcam_dataset.py
in FasterRCNNDetection/data
107 7
util.py
in FasterRCNNDetection/data
99 7
vott_dataset.py
in FasterRCNNDetection/data
87 6
voc_dataset.py
in FasterRCNNDetection/data
66 5
faster_rcnn_vgg16.py
in FasterRCNNDetection/model
83 5
region_proposal_network.py
in FasterRCNNDetection/model
85 5
bbox_tools.py
in FasterRCNNDetection/model/utils
73 5
api.py
in DetectionClassificationAPI
42 4
Files With Long Lines (Top 18)

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

File# lines# units# long lines
train.py
in PyTorchClassification
493 12 12
convert_folders_to_coco_format.py
in misc
109 2 5
onnx_export.py
in PyTorchClassification
75 3 3
vott_dataset.py
in FasterRCNNDetection/data
87 6 2
train.py
in FasterRCNNDetection
205 3 2
classify_image.py
in PyTorchClassification
35 2 2
data_loader.py
in PyTorchClassification
374 19 2
onnx_test_driver.py
in PyTorchClassification
65 - 2
classify_images.py
in root
175 4 2
merge_iNat_and_animals_extension.py
in misc
52 1 2
sanity_check_json.py
in misc
29 - 2
api.py
in DetectionClassificationAPI
42 4 1
annotate_video.py
in FasterRCNNDetection/misc
34 - 1
criterions.py
in PyTorchClassification
24 4 1
test-images.py
in PyTorchClassification/imagenet-nonanimal-test
64 1 1
models.py
in PyTorchClassification
294 17 1
onnx_validate.py
in PyTorchClassification
87 1 1
run_training.py
in PyTorchClassification
129 3 1