change version
This commit is contained in:
parent
34fa7a5933
commit
3b97afb89e
@ -1,4 +1,6 @@
|
||||
|
||||
"""Open implementation of MonoLoco++ / MonStereo."""
|
||||
"""
|
||||
Open implementation of MonoLoco / MonoLoco++ / MonStereo
|
||||
"""
|
||||
|
||||
__version__ = '0.2.3'
|
||||
__version__ = '0.5.0'
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user