调试
This commit is contained in:
@ -501,6 +501,7 @@ def parse_opt(weights,savemodel,epoches,img_size,batch_size,device,known=False):
|
||||
|
||||
if weights == None:
|
||||
weights = ROOT /'yolov5s.pt'
|
||||
print('ROOT###############',ROOT)
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--weights', type=str, default=weights, help='initial weights path')
|
||||
parser.add_argument('--savemodel', type=str, default=savemodel, help='initial weights path')
|
||||
|
Reference in New Issue
Block a user