tensorflow_notes
tensorflow_notes copied to clipboard
update deprecated function softmax_to_unary
In image_segmentation_conditional_random_fields.ipynb, the function softmax_to_unary has deprecated and now unary_from_softmax should be used according to PyDenseCRF (version 2).
Reference: (line 82-86) https://github.com/lucasb-eyer/pydensecrf/blob/master/pydensecrf/utils.py