aws-samples / aws-ml-jp
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 68 files with 4,814 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,115 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,837 lines of code)
    • 52 very small files (1,862 lines of code)
0% | 0% | 23% | 38% | 38%
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% | 25% | 39% | 35%
h0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
meta0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
vision/amazon-sagemaker-pytorch-detectron20% | 0% | 64% | 0% | 35%
sagemaker/distributed-training0% | 0% | 72% | 0% | 27%
sagemaker/sagemaker-inference0% | 0% | 0% | 78% | 21%
autogluon/tabular-prediction0% | 0% | 0% | 81% | 18%
sagemaker/hpo-pytorch-mnist0% | 0% | 0% | 72% | 27%
sagemaker/sagemaker-experiments0% | 0% | 0% | 84% | 15%
nlp/nlp_amazon_review0% | 0% | 0% | 63% | 36%
inference/edge0% | 0% | 0% | 25% | 74%
ai-services/forecast0% | 0% | 0% | 76% | 23%
sagemaker/workshop0% | 0% | 0% | 0% | 100%
mlops/sagemaker-pipelines0% | 0% | 0% | 0% | 100%
sagemaker/sagemaker-processing0% | 0% | 0% | 0% | 100%
mlops/edge-deploy0% | 0% | 0% | 0% | 100%
sagemaker/tensorflow2-training-and-serving0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
training.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k
358 4
coco.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/evaluation
289 6
train_pytorch_single_maskrcnn.py
in sagemaker/distributed-training
235 5
train_pytorch_smdataparallel_maskrcnn.py
in sagemaker/distributed-training
233 5
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6
train.py
in sagemaker/sagemaker-inference/pytorch/code_mme
183 8
train.py
in sagemaker/sagemaker-inference/pytorch/code_inf1
162 8
train.py
in sagemaker/sagemaker-inference/pytorch/code_async
162 8
train.py
in sagemaker/sagemaker-inference/pytorch/code_byoc
156 7
mnist.py
in sagemaker/hpo-pytorch-mnist
153 9
mnist_train.py
in sagemaker/sagemaker-experiments/pytorch_mnist/src
153 9
train.py
in sagemaker/sagemaker-inference/pytorch/code_lambda
137 6
train_and_deploy.py
in nlp/nlp_amazon_review/GluonNLP_BERT/src
121 2
dlr.h
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1/classifier
115 -
fcst_utils.py
in ai-services/forecast/amazon_forecast_tutorial/common/util
104 7
cnn_mnist_after.py
in sagemaker/workshop/lab_bring-your-own-model/tensorflow
92 4
inference.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
91 5
catalog.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/datasets
90 4
classifier_train.py
in inference/edge/greengrass-ml-inference/src
73 4
cnn_mnist_before.py
in sagemaker/workshop/lab_bring-your-own-model/tensorflow
72 2
custom_trainer.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/engine
65 5
predict_sku110k.py
in vision/amazon-sagemaker-pytorch-detectron2/container_serving
65 5
preprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/preprocess
64 1
inference.py
in mlops/edge-deploy/artifacts
60 3
input.html
in sagemaker/hpo-pytorch-mnist
58 -
postprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/postprocess
53 2
preprocess.py
in sagemaker/sagemaker-processing/processing_with_bring_your_own_container_for_beginner/preprocess_script
51 1
subscriber.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Subscriber/1.0.0
49 4
utils.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/evaluation
48 3
mnist.py
in sagemaker/tensorflow2-training-and-serving
48 3
hooks.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/engine
47 2
IoTPublisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.0
46 1
IoTPublisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1
45 1
e2e_mask_rcnn_R_50_FPN_1x_64GPU_4bs.yaml
in sagemaker/distributed-training
45 -
e2e_mask_rcnn_R_50_FPN_1x_16GPU_4bs.yaml
in sagemaker/distributed-training
45 -
e2e_mask_rcnn_R_50_FPN_1x_32GPU_4bs.yaml
in sagemaker/distributed-training
45 -
e2e_mask_rcnn_R_50_FPN_1x_8GPU_4bs.yaml
in sagemaker/distributed-training
45 -
preprocess.py
in sagemaker/sagemaker-processing/processing_with_bring_your_own_container_for_beginner/container/preprocess_code
43 1
publisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Publisher/1.0.0
41 -
predictor.py
in sagemaker/sagemaker-inference/tensorflow/container/tfserve
41 4
transform.py
in nlp/nlp_amazon_review/GluonNLP_BERT/src/bert/data
36 2
factory.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/evaluation
34 2
meta
compiled.meta
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1/classifier
33 -
classification.py
in nlp/nlp_amazon_review/GluonNLP_BERT/src/bert/model
32 4
notebook_utils.py
in ai-services/forecast/amazon_forecast_tutorial/common/util
30 4
inference.py
in sagemaker/sagemaker-inference/pytorch/code_async
29 4
mnist_deploy.py
in sagemaker/sagemaker-experiments/pytorch_mnist/src
28 3
com.example.Publisher-1.0.0.yaml
in inference/edge/greengrass-ml-inference/src/ggv2/components/recipes
22 -
com.example.Subscriber-1.0.0.yaml
in inference/edge/greengrass-ml-inference/src/ggv2/components/recipes
22 -
Files With Most Units (Top 20)
File# lines# units
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14
mnist.py
in sagemaker/hpo-pytorch-mnist
153 9
mnist_train.py
in sagemaker/sagemaker-experiments/pytorch_mnist/src
153 9
train.py
in sagemaker/sagemaker-inference/pytorch/code_inf1
162 8
train.py
in sagemaker/sagemaker-inference/pytorch/code_async
162 8
train.py
in sagemaker/sagemaker-inference/pytorch/code_mme
183 8
fcst_utils.py
in ai-services/forecast/amazon_forecast_tutorial/common/util
104 7
train.py
in sagemaker/sagemaker-inference/pytorch/code_byoc
156 7
coco.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/evaluation
289 6
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6
train.py
in sagemaker/sagemaker-inference/pytorch/code_lambda
137 6
custom_trainer.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/engine
65 5
predict_sku110k.py
in vision/amazon-sagemaker-pytorch-detectron2/container_serving
65 5
inference.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
91 5
train_pytorch_single_maskrcnn.py
in sagemaker/distributed-training
235 5
train_pytorch_smdataparallel_maskrcnn.py
in sagemaker/distributed-training
233 5
classifier_train.py
in inference/edge/greengrass-ml-inference/src
73 4
subscriber.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Subscriber/1.0.0
49 4
classification.py
in nlp/nlp_amazon_review/GluonNLP_BERT/src/bert/model
32 4
notebook_utils.py
in ai-services/forecast/amazon_forecast_tutorial/common/util
30 4
Files With Long Lines (Top 10)

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

File# lines# units# long lines
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6 3
classifier_train.py
in inference/edge/greengrass-ml-inference/src
73 4 1
IoTPublisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.0
46 1 1
IoTPublisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1
45 1 1
publisher.py
in inference/edge/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Publisher/1.0.0
41 - 1
preprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/preprocess
64 1 1
factory.py
in vision/amazon-sagemaker-pytorch-detectron2/container_training/sku-110k/evaluation
34 2 1
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14 1
inference.py
in sagemaker/sagemaker-inference/tensorflow/code
14 2 1
predictor.py
in sagemaker/sagemaker-inference/tensorflow/container/tfserve
41 4 1