Part 2 Lesson 9 wiki

All this is take in consideration if we have a single object on the image up to 16.
What will happen is we have repeated objects?
Like the one with multiple cows.

:thinking:

1 Like

Yes it’s, but every bit seems “hard-coded” in there. Was wondering if there’s a generator in fastai that can create anchor boxes given an input with parameters like size, ratio etc.

2 Likes

Ah. Not quite sure about that.!

Thanks! :smiley:

What does Pt in the focal loss represent?

1 Like

Does focal loss apply to/improve classification in general?

2 Likes

Is the factor gamma the same for the 4x4 anchor boxes as the 2x2 or the 1x1?

2 Likes

pt =
p if y = 1
1 − p otherwise

where y is a target and p is an activation.

1 Like

Separately, this sounds like we’re saying the background stuff is irrelevant. Have other people tried training a CNN to recognize background, and then remove this from the images? And then run those images with background removed through a classifying CNN for our “real” (non-background) classes? As in, get bounding boxes on stuff that’s just background, and then remove that or black it out, or something.

1 Like

In the paper they explain that detecting background is easy, detecting small objects is hard. Focal loss makes the model to focus less on detecting easy stuff (which it will detect well anyway) and more on detecting hard stuff.

6 Likes

Then it’d be a two-stage approach which might not be the cleanest solution, maybe.

This is exactly what ‘cutting edge’ refers to. Will have to re watch video multiple times and looking forward to @timlee’ s notes :sweat_smile:

2 Likes

I’d love to hear Jeremy’s summary of how computer vision in autonomous vehicles relates to what we’re learning today. (If at all)

1 Like

Would you say that focal loss is something one could use for any situation where you have class imbalance? In this case it’s not possible to artificially rebalance the classes, but in cases where that is possible, is focal loss better that resampling/rebalancing?

6 Likes

Are there any youtube channels where people read through papers like this? I really appreciate this type of walk through.

18 Likes

You should start one!

3 Likes

If you start your own, AND start a Patreon account for it too, you might actually get enough Patrons to support you for your time.

2 Likes

What are we going to look at next week?

Segmentation - carvana

1 Like

High level overview

6 Likes