Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
py-3d-face-reconstruction
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Torenvliet
py-3d-face-reconstruction
Commits
73d3ee4c
Commit
73d3ee4c
authored
8 years ago
by
Richard Torenvliet
Browse files
Options
Downloads
Patches
Plain Diff
Fix path to data
parent
9712728e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
actions.mk
+8
-8
8 additions, 8 deletions
actions.mk
src/main.py
+1
-1
1 addition, 1 deletion
src/main.py
with
9 additions
and
9 deletions
actions.mk
+
8
−
8
View file @
73d3ee4c
...
...
@@ -59,8 +59,8 @@ test_model:
$(
BASE_DOCKER_CMD
)
python main.py
\
--reconstruct
\
--files
`
./scripts/imm_test_set.sh
`
\
--model_texture_file
data/pca_imm_texture_model
\
--model_shape_file
data/pca_shape_model.npy
\
--model_texture_file
/
data/pca_imm_texture_model
\
--model_shape_file
/
data/pca_shape_model.npy
\
--n_components
6
show_reconstruction
:
...
...
@@ -76,16 +76,16 @@ show_ibug:
$(
BASE_DOCKER_CMD
)
python main.py
\
--reconstruct
\
--files
data/imm_face_db/
*
.jpg
\
--model_texture_file
data/pca_ibug_texture_model.npy
\
--model_shape_file
data/pca_ibug_shape_model.npy
\
--model_texture_file
/
data/pca_ibug_texture_model.npy
\
--model_shape_file
/
data/pca_ibug_shape_model.npy
\
--shape_type
ibug
profile_reconstruction
:
$(
BASE_DOCKER_CMD
)
python
-m
cProfile main.py
\
--reconstruct
\
--files
data/imm_face_db/
*
.asf
\
--model_texture_file
data/pca_imm_texture_model.npy
\
--model_shape_file
data/pca_shape_model.npy
\
--model_texture_file
/
data/pca_imm_texture_model.npy
\
--model_shape_file
/
data/pca_shape_model.npy
\
--shape_type
imm
\
--n_components
6
...
...
@@ -93,8 +93,8 @@ graph_reconstruction:
$(
BASE_DOCKER_CMD
)
python main.py
\
--generate_call_graph
\
--files
data/imm_face_db/
*
.asf
\
--model_texture_file
data/pca_imm_texture_model.npy
\
--model_shape_file
data/pca_shape_model.npy
\
--model_texture_file
/
data/pca_imm_texture_model.npy
\
--model_shape_file
/
data/pca_shape_model.npy
\
--shape_type
imm
\
--n_components
6
...
...
This diff is collapsed.
Click to expand it.
src/main.py
+
1
−
1
View file @
73d3ee4c
...
...
@@ -111,7 +111,7 @@ def generate_call_graph(args):
shape_model
=
pca
.
PCAModel
(
args
.
model_shape_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
()
mean_points
=
dataset_module
.
IMMPoints
(
points_list
=
shape_model
.
mean_values
)
...
...
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