albinxavi
commited on
Commit
•
eae28a9
1
Parent(s):
de19d39
Change default value of hide label argument to False (#2923)
Browse files
detect.py
CHANGED
@@ -171,7 +171,7 @@ if __name__ == '__main__':
|
|
171 |
parser.add_argument('--name', default='exp', help='save results to project/name')
|
172 |
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment')
|
173 |
parser.add_argument('--line-thickness', default=3, type=int, help='bounding box thickness (pixels)')
|
174 |
-
parser.add_argument('--hide-labels', default=
|
175 |
parser.add_argument('--hide-conf', default=True, action='store_true', help='hide confidences')
|
176 |
opt = parser.parse_args()
|
177 |
print(opt)
|
|
|
171 |
parser.add_argument('--name', default='exp', help='save results to project/name')
|
172 |
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment')
|
173 |
parser.add_argument('--line-thickness', default=3, type=int, help='bounding box thickness (pixels)')
|
174 |
+
parser.add_argument('--hide-labels', default=False, action='store_true', help='hide labels')
|
175 |
parser.add_argument('--hide-conf', default=True, action='store_true', help='hide confidences')
|
176 |
opt = parser.parse_args()
|
177 |
print(opt)
|