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

运行demo.m报错 #1

Open
Linksocarina87 opened this issue Dec 27, 2022 · 5 comments
Open

运行demo.m报错 #1

Linksocarina87 opened this issue Dec 27, 2022 · 5 comments

Comments

@Linksocarina87
Copy link

函数或变量 'X' 无法识别。

出错 demo (第 38 行)
[A,W,Z,G,F,iter,obj,alpha] = algo_OMSC(X,Y,lambda(j),d(id),anchor(ichor)); % X,Y,lambda,d,numanchor

@ManshengChen
Copy link
Owner

把数据集放在Dataset文件夹下,可运行

@Linksocarina87
Copy link
Author

Linksocarina87 commented Dec 29, 2022

请问Dataset文件夹中Readme文件中的'Caltech101-20' datasets is in tag.是什么意思?
我把Caltech101-20.mat放到Dataset文件夹下运行仍然报错,请问我该如何下载数据集

@ManshengChen
Copy link
Owner

caltech101-20是从tag中下载的吗?下载后放于Dataset文件夹下就可以运行了(或者你下载下来直接放在同一目录下,改一下数据读入的代码也可以。)

@Linksocarina87
Copy link
Author

下载release中的数据集后运行成功了,之前跑别的代码也用到了这个数据集,我以为是一样的就直接拿过来用了😥

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

2 participants