Skip to content
Snippets Groups Projects
Commit 4c3ee9b5 authored by las1g21's avatar las1g21
Browse files

Merge branch 'Scene_Completion_Update' into 'master'

Scene completion update

See merge request !17
parents 6017a32c 4862091c
Branches main
No related tags found
1 merge request!17Scene completion update
...@@ -113,7 +113,7 @@ def get_completed_scene(shifted_disparity_path, shifted_t_path): ...@@ -113,7 +113,7 @@ def get_completed_scene(shifted_disparity_path, shifted_t_path):
output = stdout.read().decode() output = stdout.read().decode()
print(output) print(output)
remote_file_path = "/mainfs/ECShome/kproject/mona/MDBNet360_GDP/output/scene_completed_prediction.obj" remote_file_path = os.getenv("REMOTE_OUTPUT_PATH_OBJ")
current_dir = os.getcwd() current_dir = os.getcwd()
parent_dir = os.path.dirname(current_dir) parent_dir = os.path.dirname(current_dir)
local_file_folder = os.path.join(parent_dir, "edgenet-360/Output") local_file_folder = os.path.join(parent_dir, "edgenet-360/Output")
...@@ -121,7 +121,7 @@ def get_completed_scene(shifted_disparity_path, shifted_t_path): ...@@ -121,7 +121,7 @@ def get_completed_scene(shifted_disparity_path, shifted_t_path):
with SCPClient(client.get_transport()) as scp: with SCPClient(client.get_transport()) as scp:
scp.get(remote_file_path, local_file_path) # Download file scp.get(remote_file_path, local_file_path) # Download file
remote_file_path = "/mainfs/ECShome/kproject/mona/MDBNet360_GDP/output/scene_completed_prediction.mtl" remote_file_path = os.getenv("REMOTE_OUTPUT_PATH_MTL")
local_file_path = os.path.join(local_file_folder,"scene_completed_prediction.mtl") local_file_path = os.path.join(local_file_folder,"scene_completed_prediction.mtl")
with SCPClient(client.get_transport()) as scp: with SCPClient(client.get_transport()) as scp:
scp.get(remote_file_path, local_file_path) # Download file scp.get(remote_file_path, local_file_path) # Download file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment