knmcguire / EdgeFlow_matlab

MIT License
11 stars 8 forks source link

running error #5

Open TGZ12345 opened 4 years ago

TGZ12345 commented 4 years ago

Hello! I recently tried to run and found that a part of the data file is missing, in addition to the image file can be downloaded, can you upload it?Thank you.

knmcguire commented 4 years ago

Hi, Sorry this repo is quite old so you would need to be a bit more clear on this.

Which part of the data file are you referring too? Can you copy past the error message you are getting here?

TGZ12345 commented 4 years ago

When I run 'Edgeflow_generate_results.m' file appears the following result: function or variable 'make_video' not defined

error in calculate_OF_on_images (line 40) if make_video ==true

error in Edgeflow_generate_results_window (line 51) calculate_OF_on_images error calculate_OF_on_images (line 40) if make_video ==true

knmcguire commented 4 years ago

Are you sure that you are running Edgeflow_generate_results.m ? The error message suggest that you are using 'Edgeflow_generate_results_window.m' instead. That indeed misses this line. You will just need to add that there.

Since i'm not calling the files in the mainfail as a function, make_video is still supposed to be in the scope. If you are still having problems, you can type 'keyboard' to debug the program. For me that is difficult to do since I don't work at TU delft anymore and do not have access to matlab anymore.

TGZ12345 commented 4 years ago

Thank you for your answer,i will try it again.

---Original--- From: "knmcguire"<notifications@github.com> Date: Fri, Jul 17, 2020 15:03 PM To: "knmcguire/EdgeFlow_matlab"<EdgeFlow_matlab@noreply.github.com>; Cc: "TGZ12345"<919432799@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [knmcguire/EdgeFlow_matlab] running error (#5)

Are you sure that you are running Edgeflow_generate_results.m ? The error message suggest that you are using 'Edgeflow_generate_results_window.m' instead. That indeed misses this line. You will just need to add that there.

Since i'm not calling the files in the mainfail as a function, make_video is still supposed to be in the scope. If you are still having problems, you can type 'keyboard' to debug the program. For me that is difficult to do since I don't work at TU delft anymore and do not have access to matlab anymore.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.