Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analysis_Feature prediction.m error #20

Open
elkatso opened this issue Nov 16, 2020 · 2 comments
Open

analysis_Feature prediction.m error #20

elkatso opened this issue Nov 16, 2020 · 2 comments

Comments

@elkatso
Copy link

elkatso commented Nov 16, 2020

Hello,

every time i try to run analysis_Feature prediction.m script. ,get_refdata function has an error because trainlabels argument must be a vector and not an array. Any ideas or help about this problem?

Thank you in advance!

@donghaiwang
Copy link

donghaiwang commented May 3, 2022

So am I. Can anyone help us?
Matlab 2018a

analysis_FeaturePrediction
analysis_FeaturePrediction started
Loading brain data...
Loading image feature data...
Analysis analysis_FeaturePrediction-Subject1-V1-cnn1 is already running and skipped
Analysis analysis_FeaturePrediction-Subject1-V1-cnn2 is already running and skipped
Start analysis_FeaturePrediction-Subject1-V1-cnn3
Error using get_refindex (line 18)
Foreign key must be a vector

Error in get_refdata (line 18)
refIndex = get_refindex(foreignKey, refKey);

Error in analysis_FeaturePrediction (line 202)
trainFeat = get_refdata(trainFeat, trainImageIds, trainLabels);

@mitsuaki
Copy link
Member

Sorry for the late response,
I have modified analysis_FaturePrediction.m to fix the problem. 095cb01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants