updates
This commit is contained in:
parent
7283f52d0c
commit
dae9b8f4b5
|
@ -145,3 +145,5 @@ def main(opt):
|
|||
if __name__ == '__main__':
|
||||
torch.cuda.empty_cache()
|
||||
main(opt)
|
||||
if platform == 'darwin': # MacOS (local)
|
||||
os.system('open ' + opt.output_folder)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Start
|
||||
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 && cd yolov3 && python3 train.py
|
||||
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 && cd yolov3 && python3 train.py -epochs 2
|
||||
|
||||
# Resume
|
||||
python3 train.py -resume 1
|
||||
|
|
|
@ -436,7 +436,7 @@ def plot_results():
|
|||
import matplotlib.pyplot as plt
|
||||
plt.figure(figsize=(16, 8))
|
||||
s = ['X', 'Y', 'Width', 'Height', 'Objectness', 'Classification', 'Total Loss', 'Precision', 'Recall', 'mAP']
|
||||
for f in ('results.txt',
|
||||
for f in ('results5.txt','results_new.txt','results3.txt',
|
||||
):
|
||||
results = np.loadtxt(f, usecols=[2, 3, 4, 5, 6, 7, 8, 9, 10]).T # column 16 is mAP
|
||||
for i in range(9):
|
||||
|
|
Loading…
Reference in New Issue