Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AVVR-Pipeline-GDP4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GDP Project 4
AVVR-Pipeline-GDP4
Commits
a6960c82
Commit
a6960c82
authored
9 months ago
by
mhby1g21
Browse files
Options
Downloads
Patches
Plain Diff
changed edgenet360 to edgenet-360
parent
49e35ccc
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/360monodepthexecution/extractDepthMap.ps1
+1
-1
1 addition, 1 deletion
scripts/360monodepthexecution/extractDepthMap.ps1
scripts/GUI.py
+2
-2
2 additions, 2 deletions
scripts/GUI.py
scripts/combined.bat
+4
-4
4 additions, 4 deletions
scripts/combined.bat
with
7 additions
and
7 deletions
scripts/360monodepthexecution/extractDepthMap.ps1
+
1
−
1
View file @
a6960c82
...
@@ -6,7 +6,7 @@ $imageNameOrId = (Get-Content $configPath | Where-Object { $_ -match "imageId="
...
@@ -6,7 +6,7 @@ $imageNameOrId = (Get-Content $configPath | Where-Object { $_ -match "imageId="
$scriptDir
=
Split-Path
-Parent
$MyInvocation
.
MyCommand
.
Path
$scriptDir
=
Split-Path
-Parent
$MyInvocation
.
MyCommand
.
Path
# Calculate paths
# Calculate paths
$rootDir
=
Split-Path
-Parent
(
Split-Path
-Parent
$scriptDir
)
$rootDir
=
Split-Path
-Parent
(
Split-Path
-Parent
$scriptDir
)
$outputDir
=
Join-Path
$rootDir
"edgenet360\Data\Input"
$outputDir
=
Join-Path
$rootDir
"edgenet
-
360\Data\Input"
# Docker container name or ID
# Docker container name or ID
$containerNameOrId
=
docker
ps
--filter
"ancestor=
$imageNameOrId
"
--format
"{{.ID}}"
$containerNameOrId
=
docker
ps
--filter
"ancestor=
$imageNameOrId
"
--format
"{{.ID}}"
...
...
This diff is collapsed.
Click to expand it.
scripts/GUI.py
+
2
−
2
View file @
a6960c82
...
@@ -20,8 +20,8 @@ def shift_image_selection():
...
@@ -20,8 +20,8 @@ def shift_image_selection():
pass
pass
def
copy_intermediary_outputs
():
def
copy_intermediary_outputs
():
source_folder
=
os
.
path
.
join
(
ROOT_DIR
,
"
edgenet360
"
,
"
Data
"
,
"
Input
"
)
source_folder
=
os
.
path
.
join
(
ROOT_DIR
,
"
edgenet
-
360
"
,
"
Data
"
,
"
Input
"
)
destination_folder
=
os
.
path
.
join
(
ROOT_DIR
,
"
edgenet360
"
,
"
Output
"
)
destination_folder
=
os
.
path
.
join
(
ROOT_DIR
,
"
edgenet
-
360
"
,
"
Output
"
)
files_to_copy
=
[
"
depth_e.png
"
,
"
enhanced_depth_e.png
"
,
"
material.png
"
,
"
rgb.png
"
]
files_to_copy
=
[
"
depth_e.png
"
,
"
enhanced_depth_e.png
"
,
"
material.png
"
,
"
rgb.png
"
]
for
file_name
in
files_to_copy
:
for
file_name
in
files_to_copy
:
...
...
This diff is collapsed.
Click to expand it.
scripts/combined.bat
+
4
−
4
View file @
a6960c82
...
@@ -20,13 +20,13 @@ for /f "tokens=1,2 delims==" %%a in (config.ini) do (
...
@@ -20,13 +20,13 @@ for /f "tokens=1,2 delims==" %%a in (config.ini) do (
set
scriptDir
=
%~dp0
set
scriptDir
=
%~dp0
set
workingDir
=
%scriptDir%
..
set
workingDir
=
%scriptDir%
..
set
monoDepthDir
=
%workingDir%
\scripts\360monodepthexecution
set
monoDepthDir
=
%workingDir%
\scripts\360monodepthexecution
set
outputDir
=
%workingDir%
\edgenet360\Output
set
outputDir
=
%workingDir%
\edgenet
-
360
\Output
set
materialRecogDir
=
%workingDir%
\Dynamic
-Backward-Attention-Transformer
set
materialRecogDir
=
%workingDir%
\Dynamic
-Backward-Attention-Transformer
set
edgeNetDir
=
%workingDir%
\edgenet360
set
edgeNetDir
=
%workingDir%
\edgenet
-
360
:: File paths
:: File paths
set
checkpointFile
=
%materialRecogDir%
\checkpoints\dpglt_mode95\accuracy\epoch
=
126
-valid
_acc_epoch
=
0
.87.ckpt
set
checkpointFile
=
%materialRecogDir%
\checkpoints\dpglt_mode95\accuracy\epoch
=
126
-valid
_acc_epoch
=
0
.87.ckpt
set
shiftedImage
=
%scriptDir%
shifted_t
.png
set
shiftedImage
=
%scriptDir%
\
shifted_t.png
set
monoDepthImage
=
%monoDepthDir%
\rgb.jpg
set
monoDepthImage
=
%monoDepthDir%
\rgb.jpg
:: Ensure the input file exists
:: Ensure the input file exists
...
@@ -82,7 +82,7 @@ popd
...
@@ -82,7 +82,7 @@ popd
echo
Running
material
recognition
...
echo
Running
material
recognition
...
pushd
"
%materialRecogDir%
"
pushd
"
%materialRecogDir%
"
call
"
%condaDir%
\condabin\activate.bat"
%materialEnv%
call
"
%condaDir%
\condabin\activate.bat"
%materialEnv%
python
train_sota
.py
--data-root
"./datasets"
--batch-size
1
--tag
dpglt
--gpus
1
--num-nodes
1
--epochs
200
--mode
95
--seed
42
--test
"
%checkpointFile%
"
--infer
"
%materialRecogDir%
/
split_output
/"
python
train_sota
.py
--data-root
"./datasets"
--batch-size
1
--tag
dpglt
--gpus
1
--num-nodes
1
--epochs
200
--mode
95
--seed
42
--test
"
%checkpointFile%
"
--infer
"
%materialRecogDir%
/
cubemap_faces
/"
if
errorlevel
1
(
if
errorlevel
1
(
echo
Error
:
Material
recognition
failed
.
Please
check
the
output
above
for
more
details
.
echo
Error
:
Material
recognition
failed
.
Please
check
the
output
above
for
more
details
.
call
"
%condaDir%
\condabin\deactivate.bat"
call
"
%condaDir%
\condabin\deactivate.bat"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment