CRF module not found

80 Views Asked by At

I am trying to run a code on visual studio code (jupyter notebook). When I try to run this:

from crf import apply_crf

y_pred = apply_crf(ori_img1, y_pred)

It shows an error that crf is not found. Can someone help me?

I tried installing crf. I searched all the answers on this website but nothing works.

1

There are 1 best solutions below

0
Derek O On

You might be looking for the following:

!pip install git+https://github.com/lucasb-eyer/pydensecrf.git