diff --git a/demos/benchmarks/benchmark_DS_GP_GMM01.m b/demos/benchmarks/benchmark_DS_GP_GMM01.m index 27a27bcf4454b89d352b0dd7db7b6cde2b3107fa..ab405f6ccf9965a4137155eff0bc911e65eb01b6 100644 --- a/demos/benchmarks/benchmark_DS_GP_GMM01.m +++ b/demos/benchmarks/benchmark_DS_GP_GMM01.m @@ -57,7 +57,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -150,7 +150,7 @@ end %% Reproduction with GPR and DS-GMR for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with DS-GMR...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros rnew(n).p = taskParams(n).p; %Query point vector (position and orientation of the two objects) diff --git a/demos/benchmarks/benchmark_DS_GP_raw01.m b/demos/benchmarks/benchmark_DS_GP_raw01.m index 8fb5f98767b2eb88cb57fcd620c354cb7f8febf6..bbde36af597753235e35fe7342e421ea32447c4f 100644 --- a/demos/benchmarks/benchmark_DS_GP_raw01.m +++ b/demos/benchmarks/benchmark_DS_GP_raw01.m @@ -55,7 +55,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -113,7 +113,7 @@ end %% Reproduction with GPR for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with spring-damper system...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros rnew(n).p = taskParams(n).p; %Query point vector (position and orientation of the two objects) diff --git a/demos/benchmarks/benchmark_DS_PGMM01.m b/demos/benchmarks/benchmark_DS_PGMM01.m index 357482320790dd1a5fed529db2533041fad2720c..f1c4aeb4a71fa4d7cc50298a9311df29c3fb5e25 100644 --- a/demos/benchmarks/benchmark_DS_PGMM01.m +++ b/demos/benchmarks/benchmark_DS_PGMM01.m @@ -57,7 +57,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -139,7 +139,7 @@ end %% Reproduction with PGMM and DS-GMR for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with DS-GMR...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros rnew(n).p = taskParams(n).p; diff --git a/demos/benchmarks/benchmark_DS_TP_GMM01.m b/demos/benchmarks/benchmark_DS_TP_GMM01.m index 5ec8d2c1a286251aa9e5d617b1e15d2c45a45874..34d86074f76f23e5fd403c1a29a1c1abb744ae6d 100644 --- a/demos/benchmarks/benchmark_DS_TP_GMM01.m +++ b/demos/benchmarks/benchmark_DS_TP_GMM01.m @@ -55,7 +55,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -101,7 +101,7 @@ end %% Reproduction for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with DS-GMR...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros %Retrieval of attractor path through task-parameterized GMR anew(n) = estimateAttractorPath(DataIn, model, taskParams(n)); diff --git a/demos/benchmarks/benchmark_DS_TP_GP01.m b/demos/benchmarks/benchmark_DS_TP_GP01.m index 43ffa15f4b18756183d110179838d0fd38dc20f8..9208935bed81f5d184826a272f302e56e51ca0dc 100644 --- a/demos/benchmarks/benchmark_DS_TP_GP01.m +++ b/demos/benchmarks/benchmark_DS_TP_GP01.m @@ -55,7 +55,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -115,7 +115,7 @@ end %% Reproduction with TP-GP for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with TP-GP and spring-damper system...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros for m=1:model.nbFrames rnew(n).p(m).b = taskParams(n).p(m).b(2:end); diff --git a/demos/benchmarks/benchmark_DS_TP_LWR01.m b/demos/benchmarks/benchmark_DS_TP_LWR01.m index 87686a5b9b4467012beb58362abe80dc1379175d..fdc7d4323c5a34664ec4b2fa1d93aa9a56ec8311 100644 --- a/demos/benchmarks/benchmark_DS_TP_LWR01.m +++ b/demos/benchmarks/benchmark_DS_TP_LWR01.m @@ -55,7 +55,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -126,7 +126,7 @@ end %% Reproduction with TP-GP for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with TP-GP and spring-damper system...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros for m=1:model.nbFrames rnew(n).p(m).b = taskParams(n).p(m).b(2:end); diff --git a/demos/benchmarks/benchmark_DS_TP_MFA01.m b/demos/benchmarks/benchmark_DS_TP_MFA01.m index 5098c5f6452bf3914aa6e1aa77e1783c7e1c23cb..63e58e9eeba89a891c7e32f42bb78fd01e0663c6 100644 --- a/demos/benchmarks/benchmark_DS_TP_MFA01.m +++ b/demos/benchmarks/benchmark_DS_TP_MFA01.m @@ -57,7 +57,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=200x4 the number of datapoints in a trajectory (200) % multiplied by the number of demonstrations (5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of 'Data' to learn the path of the spring-damper system @@ -103,7 +103,7 @@ end %% Reproduction for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions with DS-GMR...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros %Retrieval of attractor path through task-parameterized GMR anew(n) = estimateAttractorPath(DataIn, model, taskParams(n)); diff --git a/demos/benchmarks/benchmark_DS_TP_trajGMM01.m b/demos/benchmarks/benchmark_DS_TP_trajGMM01.m index 45a724f4fd82174862d1ea7f6d56cd18182e312f..d37620ca309aa00852057f632fca1d0289b058a7 100644 --- a/demos/benchmarks/benchmark_DS_TP_trajGMM01.m +++ b/demos/benchmarks/benchmark_DS_TP_trajGMM01.m @@ -57,7 +57,7 @@ disp('Load 3rd order tensor data...'); % in the different frames. It is a 3rd order tensor of dimension D x P x N, with D=3 the dimension of a % datapoint, P=2 the number of candidate frames, and N=TM the number of datapoints in a trajectory (T=200) % multiplied by the number of demonstrations (M=5). -load('data/DataLQR01.mat'); +load('./../data/DataLQR01.mat'); %% Transformation of Data to learn the path of the spring-damper system instead of the raw data @@ -171,7 +171,7 @@ end %% Reproduction for new task parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% disp('New reproductions...'); -load('data/taskParams.mat'); %Load new task parameters (new situation) +load('./../data/taskParams.mat'); %Load new task parameters (new situation) for n=1:nbRepros %Adapt task parameters to trajectory GMM for m=1:model.nbFrames