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

Question about luancher.m #1

Closed
yc67 opened this issue May 22, 2017 · 2 comments
Closed

Question about luancher.m #1

yc67 opened this issue May 22, 2017 · 2 comments

Comments

@yc67
Copy link

yc67 commented May 22, 2017

Hi! I'm trying to align some of my own testing images, and when I ran the launcher.m, I'm receiving the following error:
Attempt to execute SCRIPT tvl1flow as a function:
...\DeepVideoDeblurring-master\preprocess\thirdparty\tvl1flow_3_mex\tvl1flow.m

Error in genFlow (line 16)
flo_i0 = tvl1flow(v0g, vig, DWNSMP, TAU, LAMBDA, THETA,...

Error in launcher (line 78)
flo_i0 = genFlow(v0g, vig);

==
I'm running the code in matlab when I met this problem. Do I need to setup something else to run it correctly?

Thanks,
Jun.

@shuochsu
Copy link
Owner

Hi! You are supposed to compile the mex file by executing preprocess/thirdparty/tvl1flow_3_mex/compile_mex.m in MATLAB.

@Deephome
Copy link

Deephome commented May 30, 2018

Hello, @shuochsu
I run compile_mex.m, but got following errors, can you give me some suggestions?
e:\code\matlab\去模糊_开源\deepvideodeblurring-master\preprocess\thirdparty\tvl1flow_3_mex\mask.c(238) : error C2057: 应输入常量表达式
e:\code\matlab\去模糊_开源\deepvideodeblurring-master\preprocess\thirdparty\tvl1flow_3_mex\mask.c(238) : error C2466: 不能分配常量大小为 0 的数组
e:\code\matlab\去模糊_开源\deepvideodeblurring-master\preprocess\thirdparty\tvl1flow_3_mex\mask.c(238) : error C2133: “B”: 未知的大小

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