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

Removes files created by previous runs

parent c187100a
Branches GDP_4.2.1
No related tags found
No related merge requests found
Subproject commit ae9bee5325ffcdce9d9b8659017177c35d561564
Subproject commit 5c053f2285466cb884d148dc54489ec654327668
......@@ -19,6 +19,14 @@ for /f "tokens=1,2 delims==" %%a in (config.ini) do (
:: Directory structure
set scriptDir=%~dp0
set workingDir=%scriptDir%..
:: Ensure no leftover files from previous runs
if exist "%workingDir%\edgenet-360\Data\Input" rmdir /s /q "%workingDir%\edgenet-360\Data\Input"
if exist "%workingDir%\edgenet-360\Output" rmdir /s /q "%workingDir%\edgenet-360\Output"
if exist "%workingDir%\Dynamic-Backward-Attention-Transformer\cubemap_faces" rmdir /s /q "%workingDir%\Dynamic-Backward-Attention-Transformer\cubemap_faces"
if exist "%workingDir%\scripts\360monodepthexecution\rgb.jpg" del "%workingDir%\scripts\360monodepthexecution\rgb.jpg"
:: Continue Directory structure
set monoDepthDir=%workingDir%\scripts\360monodepthexecution
set outputDir=%workingDir%\edgenet-360\Output
set materialRecogDir=%workingDir%\Dynamic-Backward-Attention-Transformer
......@@ -41,11 +49,7 @@ if not exist "%checkpointFile%" (
echo Please ensure the checkpoint file is in the correct location.
exit /b 1
)
:: Ensure no leftover files from previous runs
if exist "%edgeNetDir%\Input" rmdir /s /q "%edgeNetDir%\Input\*"
if exist "%outputDir%" rmdir "%outputDir%"
if exist "%materialRecogDir%\cubemap_faces" rmdir /s /q "%materialRecogDir%\cubemap_faces\*"
if exist "%monoDepthDir%\rgb.jpg" del "%monoDepthDir%\rgb.jpg"
:: Shift the image if the option is selected
if /I "%shiftImage%"=="y" (
......
scripts/shifted_t.png

4.61 MiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment