Update check_requirements() exclude list (#2974)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-04-29 21:16:23 +02:00
1 parent dbce1bc54c
commit a833ee2a46
6 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ if __name__ == '__main__':
parser.add_argument('--hide-conf', default=False, action='store_true', help='hide confidences')
opt = parser.parse_args()
print(opt)
check_requirements(exclude=('pycocotools', 'thop'))
check_requirements(exclude=('tensorboard', 'pycocotools', 'thop'))
with torch.no_grad():
if opt.update: # update all models (to fix SourceChangeWarning)