Commit 0cac7d4b authored by mihaivanea's avatar mihaivanea
Browse files

Fixing errors

parent e02467ff
......@@ -12,4 +12,4 @@ fddb/*
analysed_fddb/FDDB-folds/*
analysed_fddb/2002/*
analysed_fddb/2003/*
WIDER_train/*
WIDER_train/images/*
......@@ -19,8 +19,9 @@ def round_array(array):
def analyse(dataset, source_file, t1, t2, t3, factor):
threshold = [t1, t2, t3]
out_name = "analysed_" + source_file[:(len(source_file) - 4)] + "_out" \
+ source_file[(len(source_file) - 4):]
out_name = "analysed_" + source_file[:(len(source_file) - 4)] + "_for_" \
+ str(t1) + '-' + str(t2) + '-' + str(t3) + '-' + str(factor) \
+ "_out" + source_file[(len(source_file) - 4):]
system("touch " + out_name)
log_file = open(out_name, 'w')
lines = [line.rstrip('\n') for line in open(source_file)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment