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

读取mat文件出错 #22

Open
SmallCookier opened this issue Oct 19, 2020 · 1 comment
Open

读取mat文件出错 #22

SmallCookier opened this issue Oct 19, 2020 · 1 comment

Comments

@SmallCookier
Copy link

您好,我在运行代码的时候,环境配置完成后,执行ASRCF_Demo在读取model中的imagenet-vgg-verydeep-16.mat时报错,具体错误信息如下:
错误使用 load
无法读取 MAT 文件 E:\ASRCF\model\imagenet-vgg-verydeep-16.mat。不是二进制 MAT
文件。请尝试执行 load -ASCII 以便以文本形式读取。

出错 get_vggfeatures>initial_vgg16net (line 63)
vgg16net = load('./model/imagenet-vgg-verydeep-16.mat');

出错 get_vggfeatures (line 8)
initial_vgg16net();

出错 extract_features (line 3)
x_vgg16= get_vggfeatures(patch,use_sz,23);

出错 ASRCF_optimized (line 262)
x=extract_features(pixels,use_sz,features,global_feat_params,frame,ifcompress,pe);

出错 run_ASRCF (line 70)
results = ASRCF_optimized(params);

出错 ASRCF_Demo (line 17)
results = run_ASRCF(seq, video_path);

请问是matlab的问题吗? 我用的matlabR2018b

@alanchenx
Copy link

第一次下载代码后的imagenet-vgg-verydeep-16.mat里面其实是一个html,你手动根据html中的链接下载模型文件替换掉原来的imagenet-vgg-verydeep-16.mat就行。另一个模型文件也一样。

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