Commit 73d3ee4c authored by Richard Torenvliet's avatar Richard Torenvliet

Fix path to data

parent 9712728e
...@@ -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
......
...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment