stringtron / quantative_style

Improving Style Transfer With Calibrated Metrics
https://arxiv.org/abs/1910.09447
MIT License
16 stars 5 forks source link

evaluation_streamline.m fatal error #4

Closed JonWofr closed 3 years ago

JonWofr commented 3 years ago

Hi,

thanks again for your amazing work.

I was wondering if you also had problems using the gPb algorithm. Im simply trying to run your evaluation_streamline.m script to process the C statistics on new NST-images. But when I try to run the script Matlab closes and throws a fatal error telling me "Illegal instruction detected (Core dumped)". I run the script on an Ubuntu 14.04 machine with Matlab version R2015a just like you recommended. After further investigation I found out that the program shuts down using the gPb algorithm (which is called by the function im2ucm()). More specifically when it tries to find eigenvalues and eigenvectors in the spectral clustering script (spectralPb.m). I already contacted the Matlab support because I think it might be something deeply nested in their libraries. Regardless I thought maybe you also had similar problems using the contour detection algorithm and might have an idea how to fix it or any advices for its usage.

Thanks in advance for any answer :)

Cheers Jonas

JonWofr commented 3 years ago

Okay here is the solution for someone who might also stumble across this problem. I solved the issue by using Matlab R2016a instead of R2015a. R2016a has no breaking-changes compared to R2015a for the use of this project or rather no breaking-changes that I'm currently aware of. I still don't know why I had this problem. Maybe it was caused by some sort of hardware incompatibility or wrong library.