meng-tang / rloss

Regularized Losses (rloss) for Weakly-supervised CNN Segmentation
MIT License
208 stars 46 forks source link

permutohedral.hpp:75: Warning 325: Nested struct not currently supported (Neighbors ignored) #19

Open liwenjielongren opened 3 years ago

liwenjielongren commented 3 years ago

when I run swig -python -c++ bilateralfilter.i ,An error occurred :permutohedral.hpp:75: Warning 325: Nested struct not currently supported (Neighbors ignored)

sbelharbi commented 3 years ago

it is just a warning. you can ignore it and move to install.

qi0416 commented 2 years ago

how to ignore it and move to install?

sbelharbi commented 2 years ago

i meant you can run the next command because this is not an error.

cd wrapper/bilateralfilter
swig -python -c++ bilateralfilter.i  # you will get a warning but it is fine. run the next command to install.
python setup.py install
qi0416 commented 2 years ago

thanks for your reply~my problem is solved

qi0416 commented 2 years ago

thanks for your reply~my problem is solved

Italy2006 commented 1 year ago

i meant you can run the next command because this is not an error.

cd wrapper/bilateralfilter
swig -python -c++ bilateralfilter.i  # you will get a warning but it is fine. run the next command to install.
python setup.py install

Sorry but i have the same question, i ignore it but another problem occurs: when i try "from bilateralfilter import bilateralfilter, bilateralfilter_batch":

ImportError: /home/dancer/anaconda3/envs/ToCo/lib/python3.7/site-packages/bilateralfilter-0.1-py3.7-linux-x86_64.egg/_bilateralfilter.cpython-37m-x86_64-linux-gnu.so: undefined symbol: omp_get_thread_num