Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
py-3d-face-reconstruction
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
py-3d-face-reconstruction
Commits
73d3ee4c
Commit
73d3ee4c
authored
Nov 17, 2016
by
Richard Torenvliet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix path to data
parent
9712728e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
actions.mk
actions.mk
+8
-8
src/main.py
src/main.py
+1
-1
No files found.
actions.mk
View file @
73d3ee4c
...
@@ -59,8 +59,8 @@ test_model:
...
@@ -59,8 +59,8 @@ test_model:
$(BASE_DOCKER_CMD)
python main.py
\
$(BASE_DOCKER_CMD)
python main.py
\
--reconstruct
\
--reconstruct
\
--files
`
./scripts/imm_test_set.sh
`
\
--files
`
./scripts/imm_test_set.sh
`
\
--model_texture_file
data/pca_imm_texture_model
\
--model_texture_file
/
data/pca_imm_texture_model
\
--model_shape_file
data/pca_shape_model.npy
\
--model_shape_file
/
data/pca_shape_model.npy
\
--n_components
6
--n_components
6
show_reconstruction
:
show_reconstruction
:
...
@@ -76,16 +76,16 @@ show_ibug:
...
@@ -76,16 +76,16 @@ show_ibug:
$(BASE_DOCKER_CMD)
python main.py
\
$(BASE_DOCKER_CMD)
python main.py
\
--reconstruct
\
--reconstruct
\
--files
data/imm_face_db/
*
.jpg
\
--files
data/imm_face_db/
*
.jpg
\
--model_texture_file
data/pca_ibug_texture_model.npy
\
--model_texture_file
/
data/pca_ibug_texture_model.npy
\
--model_shape_file
data/pca_ibug_shape_model.npy
\
--model_shape_file
/
data/pca_ibug_shape_model.npy
\
--shape_type
ibug
--shape_type
ibug
profile_reconstruction
:
profile_reconstruction
:
$(BASE_DOCKER_CMD)
python
-m
cProfile main.py
\
$(BASE_DOCKER_CMD)
python
-m
cProfile main.py
\
--reconstruct
\
--reconstruct
\
--files
data/imm_face_db/
*
.asf
\
--files
data/imm_face_db/
*
.asf
\
--model_texture_file
data/pca_imm_texture_model.npy
\
--model_texture_file
/
data/pca_imm_texture_model.npy
\
--model_shape_file
data/pca_shape_model.npy
\
--model_shape_file
/
data/pca_shape_model.npy
\
--shape_type
imm
\
--shape_type
imm
\
--n_components
6
--n_components
6
...
@@ -93,8 +93,8 @@ graph_reconstruction:
...
@@ -93,8 +93,8 @@ graph_reconstruction:
$(BASE_DOCKER_CMD)
python main.py
\
$(BASE_DOCKER_CMD)
python main.py
\
--generate_call_graph
\
--generate_call_graph
\
--files
data/imm_face_db/
*
.asf
\
--files
data/imm_face_db/
*
.asf
\
--model_texture_file
data/pca_imm_texture_model.npy
\
--model_texture_file
/
data/pca_imm_texture_model.npy
\
--model_shape_file
data/pca_shape_model.npy
\
--model_shape_file
/
data/pca_shape_model.npy
\
--shape_type
imm
\
--shape_type
imm
\
--n_components
6
--n_components
6
...
...
src/main.py
View file @
73d3ee4c
...
@@ -111,7 +111,7 @@ def generate_call_graph(args):
...
@@ -111,7 +111,7 @@ def generate_call_graph(args):
shape_model
=
pca
.
PCAModel
(
args
.
model_shape_file
)
shape_model
=
pca
.
PCAModel
(
args
.
model_shape_file
)
texture_model
=
pca
.
PCAModel
(
args
.
model_texture_file
)
texture_model
=
pca
.
PCAModel
(
args
.
model_texture_file
)
input_points
=
dataset_module
.
IMMPoints
(
filename
=
'data/imm_face_db/40-3m.asf'
)
input_points
=
dataset_module
.
IMMPoints
(
filename
=
'
/
data/imm_face_db/40-3m.asf'
)
input_image
=
input_points
.
get_image
()
input_image
=
input_points
.
get_image
()
mean_points
=
dataset_module
.
IMMPoints
(
points_list
=
shape_model
.
mean_values
)
mean_points
=
dataset_module
.
IMMPoints
(
points_list
=
shape_model
.
mean_values
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment