@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user