crfasrnn_keras icon indicating copy to clipboard operation
crfasrnn_keras copied to clipboard

Using the CRF_Layer results is Seg Fault 11

Open mavaylon1 opened this issue 4 years ago • 1 comments

I'm trying to create a UNet with the CRF Layer as the output layer but when I run it through terminal (Mac OS Mojave 10.14.6), the images are found and the two classes are found but the next line is Segmentation Fault: 11

The image size are below the 500 limit, the batch size is 1. My TF version is Version: 2.1.0 Keras is Version: 2.3.1

When I run the code it returns this:

Epoch 1/2 Found 512 images belonging to 1 classes. Found 512 images belonging to 1 classes. Segmentation fault: 11

mavaylon1 avatar Jul 07 '20 17:07 mavaylon1

And if i downgrade my tf to 1.15 I get

"tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/matthewavaylon/crfasrnn_keras/src/cpp/high_dim_filter.so, 6): Library not loaded: @rpath/libtensorflow_framework.2.dylib Referenced from: /Users/matthewavaylon/crfasrnn_keras/src/cpp/high_dim_filter.so Reason: image not found"

mavaylon1 avatar Jul 07 '20 18:07 mavaylon1