Skip to content
Snippets Groups Projects
Commit 73d3ee4c authored by Richard Torenvliet's avatar Richard Torenvliet
Browse files

Fix path to data

parent 9712728e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......
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