|
|
|
|
|
|
|
|
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment') |
|
|
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment') |
|
|
opt = parser.parse_args() |
|
|
opt = parser.parse_args() |
|
|
print(opt) |
|
|
print(opt) |
|
|
check_requirements() |
|
|
|
|
|
|
|
|
check_requirements(exclude=('pycocotools', 'thop')) |
|
|
|
|
|
|
|
|
with torch.no_grad(): |
|
|
with torch.no_grad(): |
|
|
if opt.update: # update all models (to fix SourceChangeWarning) |
|
|
if opt.update: # update all models (to fix SourceChangeWarning) |