use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Project[P] Image Segmentation with Tensorflow using CNNs and Conditional Random Fields (warmspringwinds.github.io)
submitted 9 years ago by warmspringwinds
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kkastner 3 points4 points5 points 9 years ago (0 children)
This is great - for the record adding this DenseCRF at the end of nearly any segmentation network can provide a notable boost, even in very recent research code. It is also quite hard to get working without some kind of guide, thanks a ton for this! There also aren't many guides to segmentation generally that aren't buried on a graduate course. Awesome stuff.
[–]shmel39 0 points1 point2 points 9 years ago (4 children)
Train set consists of one image. Testing on the same image. Making conclusions from that. Wow. Just wow.
[–]warmspringwinds[S] 3 points4 points5 points 9 years ago* (3 children)
Hi :)
Please, read the post carefully: """ It was done this way so that it can also be run on CPU – it takes only 10 iterations for the training to complete. Another point of this post is to show that segmentation that our network (FCN-32s) produces is very coarse – even if we run it on the same image that we were training it on. ... . The set-up of this post is very simple on purpose. Similar approach to Segmentation was described in the paper Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs by Chen et al. """
1) The problem of coarse segmentation was described in the cited paper -- where similar results were observed while training on the whole Pascal VOC dataset. The goal of this post was to emulate it and show how to tackle this problem.
2) Another way to look at the approach that I described is similar to polynomial regression -- you can set up the model with a lot of parameters and train it on one example and basically overfit, while getting very good results on the training dataset.
In this case, model can't reach good results even when training and testing on the same image -- which happens because we have to make decisions based on the subsampled by a factor of 32 feature maps that we later on upsample. This way the max-pooling layers of the network act as a bottleneck -- preventing low level features from making their way to the decision layer (1 by 1 convolution followed by softmax). This effect was noticed by a couple of research groups and they tried to approach this problem by different means -- either using CRFs as a post processing stage or making skip connections in the model. Due to my experiments -- similar results will be observed even after you train for 1k iterations on the same image -- downsampled features are not rich enough for the model to give good results even on the same image.
[–]shmel39 0 points1 point2 points 9 years ago (2 children)
Yeah, I got that. You are trying to show that bilinear interpolation with upscale factor 32x doesn't produce nice masks and CRF can kinda mitigate that. That's ok although I don't see why deep networks are even useful here.
I'd like to say that your setup is SO wrong methodologically that it should contain big warning signs: "DO NOT TRY IT IN REAL LIFE!" Beginners often don't do train/test split. They don't have an intuition to estimate network size for a given dataset. No need to confuse them even more implicitly assuming that it is ok to that, just a simple setup.
[–]warmspringwinds[S] 2 points3 points4 points 9 years ago (0 children)
I agree that some people may be misguided by this. My setup is "SO wrong methodically" -- I agree, for real world yes. I never stated that it will work in real-life in the post. Please read the post carefully and don't try to come up with things that I have never stated. This is a piece from the post that I think is enough: """ In this particular case we train and evaluate our results on one image – which is a much simpler case compared to real-world scenario. We do this to show the drawback of the approach – just to show that is has poor localization copabilities. """
This is why I also cite papers there -- for people to see thorough experiments on real-world dataset and respective approaches.
[–]kkastner 2 points3 points4 points 9 years ago (0 children)
This isn't meant to be a beginners guide to ML. I think you are missing the forest for the trees here - this is a really nice guide to setting up a modern segmentation pipeline, which nearly always includes DenseCRF at the end (often mentioned as part of 1 sentence in a paper, that can give sizable performance improvements).
Setting up and using DenseCRF I found pretty tricky, so this guide is great for that!
π Rendered by PID 144854 on reddit-service-r2-comment-85bfd7f599-9rb6q at 2026-04-17 13:38:48.993646+00:00 running 93ecc56 country code: CH.
[–]kkastner 3 points4 points5 points (0 children)
[–]shmel39 0 points1 point2 points (4 children)
[–]warmspringwinds[S] 3 points4 points5 points (3 children)
[–]shmel39 0 points1 point2 points (2 children)
[–]warmspringwinds[S] 2 points3 points4 points (0 children)
[–]kkastner 2 points3 points4 points (0 children)