Skip to content
Snippets Groups Projects
Commit bc4451ce authored by Maciej Wielgosz's avatar Maciej Wielgosz
Browse files

pipeline for oracle cloud deployment, frist version done

parent a3905422
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,12 @@ def main(path_to_config_file):
for file in las_segmented_files:
os.system("cp {} {}".format(file, config["general"]["output_folder"]))
### if both semantic and instance segmentation are run transfer data to the output folder
if config["general"]["run_sematic_segmentation"] and config["general"]["run_instance_segmentation"]:
source_folder = os.path.join(config["general"]["input_folder"], "results")
# copy all the files and folders from the source folder to the output folder
os.system("cp -r {} {}".format(source_folder + '/*', config["general"]["output_folder"]))
if __name__ == "__main__":
parser = argparse.ArgumentParser('Run the application in a production environment.')
parser.add_argument("--path_to_config_file", type=str, default="./config/config.yaml")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment