CRF-RNN is a deep neural architecture that integrates fully connected Conditional Random Fields (CRFs) with Convolutional Neural Networks (CNNs) by reformulating mean-field CRF inference as a Recurrent Neural Network. This fusion enables end-to-end training via backpropagation for semantic image segmentation tasks, eliminating the need for separate, offline post-processing steps. Our work allows computers to recognize objects in images, what is distinctive about our work is that we also recover the 2D outline of objects. Currently we have trained this model to recognize 20 classes. This software allows you to test our algorithm on your own images – have a try and see if you can fool it, if you get some good examples you can send them to us. CRF-RNN has been developed as a custom Caffe layer named MultiStageMeanfieldLayer. Usage of this layer in the model definition prototxt file looks the following. Check the matlab-scripts or the python-scripts folder for more detailed examples.

Features

  • Seamlessly integrates CRF inference within CNN layers for joint optimization
  • Enables end-to-end training using backpropagation for segmentation tasks
  • Retains CRF structure for spatial consistency while leveraging CNN feature extraction
  • Avoids post-processing by embedding CRF directly into the neural network pipeline
  • Achieved state-of-the-art segmentation accuracy on datasets like Pascal VOC 2012
  • Recognized with the Best Demo Award at ICCV 2015 for its implementation

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CRFasRNN

CRFasRNN Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CRFasRNN!

Additional Project Details

Programming Language

MATLAB

Related Categories

MATLAB Neural Network Libraries

Registered

2025-09-08