facebookresearch / consistent_depth
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 36 files with 3,146 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,001 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,157 lines of code)
    • 24 very small files (988 lines of code)
0% | 0% | 31% | 36% | 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% | 31% | 36% | 31%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 43% | 40% | 15%
tools0% | 0% | 100% | 0% | 0%
utils0% | 0% | 0% | 42% | 57%
loss0% | 0% | 0% | 62% | 37%
loaders0% | 0% | 0% | 100% | 0%
monodepth0% | 0% | 0% | 0% | 100%
optimizer0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
depth_fine_tuning.py
in root
303 10
scale_calibration.py
in root
253 9
make_video.py
in tools
227 13
colmap_processor.py
in tools
218 20
optical_flow_flownet2_homography.py
in root
195 11
flow.py
in root
178 8
image_io.py
in utils
145 7
video.py
in root
141 7
consistency_loss.py
in loss
134 9
video_dataset.py
in loaders
133 11
frame_sampling.py
in utils
118 10
load_colmap.py
in utils
113 9
process.py
in root
100 6
params.py
in root
95 9
visualization.py
in utils
89 4
geometry.py
in utils
87 12
frame_range.py
in utils
68 9
calibration.py
in utils
65 4
calibrate.py
in utils
60 6
monodepth2_model.py
in monodepth
58 6
mannequin_challenge_model.py
in monodepth
46 6
midas_v2_model.py
in monodepth
45 3
consistency.py
in utils
42 4
joint_loss.py
in loss
36 2
geometry_np.py
in utils
33 5
loss_params.py
in loss
31 2
helpers.py
in utils
28 5
url_helpers.py
in utils
25 1
depth_model_registry.py
in monodepth
19 3
depth_model.py
in monodepth
18 4
torch_helpers.py
in utils
13 1
parameter_loss.py
in loss
12 2
__init__.py
in optimizer
9 1
main.py
in root
7 -
__init__.py
in utils
1 -
__init__.py
in monodepth
1 -
Files With Most Units (Top 20)
File# lines# units
colmap_processor.py
in tools
218 20
make_video.py
in tools
227 13
geometry.py
in utils
87 12
optical_flow_flownet2_homography.py
in root
195 11
video_dataset.py
in loaders
133 11
depth_fine_tuning.py
in root
303 10
frame_sampling.py
in utils
118 10
params.py
in root
95 9
scale_calibration.py
in root
253 9
consistency_loss.py
in loss
134 9
frame_range.py
in utils
68 9
load_colmap.py
in utils
113 9
flow.py
in root
178 8
image_io.py
in utils
145 7
video.py
in root
141 7
calibrate.py
in utils
60 6
process.py
in root
100 6
mannequin_challenge_model.py
in monodepth
46 6
monodepth2_model.py
in monodepth
58 6
geometry_np.py
in utils
33 5
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
mannequin_challenge_model.py
in monodepth
46 6 1