0
I’m getting the following error when I try to run the code:
ImportError: No module named densecrf
I’m using Jupyter Notebook 5.5.0 from Anaconda on Ubuntu 18.04
Does anyone know what could be? I try to insert the folder pydensecrf in my project folder, but I still get the same error.
I installed the pydensecrf using the command:
pip install pydensecrf
I also tried to install with:
conda install -c conda-forge pydensecrf
but I get the same mistake for both.
How Jupyter was installed?
– Giovanni Nunes
I installed anaconda and it installed Jupyter itself.
– Jéssica Soares
Hi, I could not replicate your error, I created in Ubuntu 18.04 an environment for Python 3 using Virtualenv, I entered it, I installed Jupyter and pydensecrf via PIP and everything worked normally (of course, I did not use Anaconda, I did it directly with the distribution resources).
– Giovanni Nunes
Hi Giovanni, I managed to solve the mistake. I was creating my Notebook project inside the Workspace/models/research/slim folder of this library that I downloaded: https://github.com/tensorflow/models/tree/master/research/slim Because I needed to use VGG 16. After I created the notebook project in my home, pydensecrf worked normally. Thank you for your attention!
– Jéssica Soares