MiguelMonteiro / CRFasRNNLayer

Conditional Random Fields as Recurrent Neural Networks (Tensorflow)
MIT License
82 stars 19 forks source link

Issues when running the crf_rnn_layer_test*.py scripts #10

Closed netw0rkf10w closed 6 years ago

netw0rkf10w commented 6 years ago

Hi Miguel,

I successfully compiled your Permutohedral Lattice code (from the master branch), but when testing it with the provided crf_rnn_layer_test*.py scripts I got some errors.

The script crf_rnn_layer_test.py did not produce any errors, but just artifacts in the output image (which is normal, according to your answer here).

When running crf_rnn_layer_test_2.py and crf_rnn_layer_test_3.py, however, I obtained the following error:

permutohedral_lattice/src/LatticeFilterKernel.cu:99] GPU filter not compiled for these spatial dimensions, input and/or reference channels
Aborted (core dumped)

Could you please check this?

Thank you very much in advance for your help!

netw0rkf10w commented 6 years ago

Looks like I will just have to re-compile permutohedral_lattice with suitable values of SPATIAL_DIMS, INPUT_CHANNELS,REFERENCE_CHANNELS.

opandao commented 5 years ago

I have the same mistake ,do you know how to do with it.