Closed coleslaw481 closed 6 years ago
Thought i had fixed that using following two lines if fm_dir(end)==filesep; fm_dir=fm_dir(1:end-1); end [parent_dir,~,ext] = fileparts(fm_dir); de_aug_file = fullfile(parent_dir,'de_augmentation_info.mat');
But, in case you are feeding it with the Pkg directory instead of the fm directory you could add another line, say: if pkg_dir(end)==filesep; pkg_dir=pkg_dir(1:end-1); end fm_dir = fileparts(pkg_dir); parent_dir = fileparts(fm_dir); de_aug_file = fullfile(parent_dir,'de_augmentation_info.mat');
Merge_LargeData.m expects the #fm directory so modified call in predict to pass that path and it works as of release 0.10.0
Would it be possible for Merge_LargeData.m to look for the de_augmentation_info.mat file in the parent directory? Or maybe be given the path to that file as a command line argument.