sadeepj / crfasrnn_keras

CRF-RNN Keras/Tensorflow version
http://crfasrnn.torr.vision
MIT License
603 stars 169 forks source link

Using the CRF_Layer results is Seg Fault 11 #75

Open mavaylon1 opened 4 years ago

mavaylon1 commented 4 years ago

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 commented 4 years ago

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"