change path

This commit is contained in:
Daniel Saavedra
2020-02-25 22:18:56 -03:00
parent 67eb6a3fa9
commit 338e0e9ae9
9 changed files with 128 additions and 51 deletions

View File

@@ -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 + ' > ../' + output_path + '/yolo3_full_yolo.output 2> ../' + output_path +'/yolo3_full_yolo.err')
os.system('python keras-yolo3-master/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+ ' > ../' + output_path + '/yolo3_full_yolo_test.output 2> ../' + output_path +'/yolo3_full_yolo_test.err')
os.system('python keras-yolo3-master/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')