Model Diode Fault

This commit is contained in:
dl-desktop
2020-02-19 20:05:14 -03:00
parent e91f29cd2b
commit 8397400b07
95 changed files with 765 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import os
import argparse
def makedirs(path):
try:
@@ -20,9 +20,9 @@ def _main_(args):
makedirs(output_path)
print ('Training full_yolo3')
os.system('cd keras-yolo3-master/ && python train.py -c ../' + config_path.json+ ' > ../' + output_path + '/yolo3_full_yolo.output 2> ../' + output_path +'/yolo3_full_yolo.err')
os.system('cd keras-yolo3-master/ && python train.py -c ../' + config_path + ' > ../' + output_path + '/yolo3_full_yolo.output 2> ../' + output_path +'/yolo3_full_yolo.err')
print('Test full_yolo3')
os.system('cd keras-yolo3-master/ && python evaluate.py -c ../' + config_path.json+ ' > ../' + output_path + '/yolo3_full_yolo_test.output 2> ../' + output_path +'/yolo3_full_yolo_test.err')
os.system('cd keras-yolo3-master/ && python evaluate.py -c ../' + config_path+ ' > ../' + output_path + '/yolo3_full_yolo_test.output 2> ../' + output_path +'/yolo3_full_yolo_test.err')
if __name__ == '__main__':
argparser = argparse.ArgumentParser(description='train and evaluate ssd model on any dataset')