diff --git a/monoloco/__init__.py b/monoloco/__init__.py index 248c25d..fdbea92 100644 --- a/monoloco/__init__.py +++ b/monoloco/__init__.py @@ -1,4 +1,6 @@ -"""Open implementation of MonoLoco++ / MonStereo.""" +""" +Open implementation of MonoLoco / MonoLoco++ / MonStereo +""" -__version__ = '0.2.3' +__version__ = '0.5.0' diff --git a/monoloco/run.py b/monoloco/run.py index b926479..e1c9b8f 100644 --- a/monoloco/run.py +++ b/monoloco/run.py @@ -44,7 +44,7 @@ def cli(): help='increase contrast to annotations by making image whiter') predict_parser.add_argument('--font-size', default=0, type=int, help='annotation font size') predict_parser.add_argument('--monocolor-connections', default=False, action='store_true', - help='use a single color per instance') + help='use a single color per instance') predict_parser.add_argument('--disable-cuda', action='store_true', help='disable CUDA') predict_parser.add_argument('--focal', help='focal length in mm for a sensor size of 7.2x5.4 mm. Default nuScenes sensor', diff --git a/monoloco/test.py b/monoloco/test.py deleted file mode 100644 index 77a3bf5..0000000 --- a/monoloco/test.py +++ /dev/null @@ -1,24 +0,0 @@ -''' -String of binary digits of length n, -can we find out the probability that are at least 2 consequtive ones - -2 --> (1,1) out of 4 possibilities -3 --> (0, 1, 1), (1, 1, 0) , (1,1,1) -4 --> (0, 1, 1, 1) (1, 1, 1,1) (1,1, 0, 0)... -''' - -n = 8 - -def generate_strings(length): - """ - (0, 0, 0), (1, 0, 0), (1, 0, 1) - """ - - -def is_there_a_one(string): - for idx, el in enumerate(string[:-1]): - if el == 0: - continue - if string[idx+1] == 1: - return 1 - return 0 \ No newline at end of file