Improved formatting

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-07-15 16:06:24 +02:00
parent 758c8a7574
commit b819013771

View File

@ -46,8 +46,8 @@ def prepare(args: argparse.Namespace) -> None:
from twomartens.masterthesis import data from twomartens.masterthesis import data
file_names_photos, file_names_instances, \ file_names_photos, file_names_instances, \
instances = data.prepare_scenenet_data(conf.get_property("Paths.scenenet"), instances = data.prepare_scenenet_data(conf.get_property("Paths.scenenet"),
args.protobuf_path) args.protobuf_path)
with open(f"{conf.get_property('Paths.scenenet_gt')}/" with open(f"{conf.get_property('Paths.scenenet_gt')}/"
f"{args.ground_truth_path}/photo_paths.bin", "wb") as file: f"{args.ground_truth_path}/photo_paths.bin", "wb") as file:
pickle.dump(file_names_photos, file) pickle.dump(file_names_photos, file)