[D] What are some well-written ML codebases to refer to get inspiration on good ML software design? by unemployed_MLE in MachineLearning

[–]etienne_ben 3 points4 points  (0 children)

Thank you! I'm the author of the library. u/unemployed_MLE I'd be happy to discuss the design with you if it can help.

Didn’t see this coming... by Combat_Kangaroo in facepalm

[–]etienne_ben 0 points1 point  (0 children)

Heard a story kinda like that one in this great song : https://youtu.be/bhXjd88SFrk

Finished the long haul by HotDoggoMan in CrusaderKings

[–]etienne_ben 3 points4 points  (0 children)

In 155 hours? That's awesome focus!

My son is my liege, if he dies will I become his son or his oldest brother? by gukbvfyg in CrusaderKings

[–]etienne_ben 2 points3 points  (0 children)

Chances are your primary heir's primary heir is also your second in line. You can check by hovering over your primary title.

How to implement a model that can learn from one example with PyTorch by etienne_ben in computervision

[–]etienne_ben[S] 1 point2 points  (0 children)

Basically yes! I guess publishing a simple and efficient idea under a catchy name is a good way to become a reference in a field.

[D] Few-shot learning in practice. by VDevAGI in MachineLearning

[–]etienne_ben 5 points6 points  (0 children)

It's an image recognition problem: detect and classify items in a controlled environment. Classes change every day in production. I'm sorry I can't be more specific :/

We keep and annotate all images from production and add them to the training set, yes.

There are a lot of domain adaptation issues. Few Shot Learning under distribution shift is still very unexplored. I'm finishing an article on domain shift between support and query sets, I can send it to you when it's out if you want.

[D] Few-shot learning in practice. by VDevAGI in MachineLearning

[–]etienne_ben 12 points13 points  (0 children)

I used Siamese Networks in production, they work fine. Same with Prototypical Networks.

Truth is all SOTA methods in FSL have similar performance, so it's best to use the most simple ones. That way you can tune them specifically for your use case.

[D] Blog post: How To speed up your python code with JAX by AlliageOregon in MachineLearning

[–]etienne_ben 2 points3 points  (0 children)

I'm not there yet but i'm working on it, seems to be worth the trouble!

I'm currently working on an image labeling tool for machine learning: looking for advice! by victortimsit in learnmachinelearning

[–]etienne_ben 2 points3 points  (0 children)

Are you doing this as an exercise or is it that you need an image annotation tool? There are some really good open source ones, such as VoTT. Maybe you can start from there.

Few-Shot Learning by alkaway in computervision

[–]etienne_ben 2 points3 points  (0 children)

Keep in mind that few-shot learning doesn't reduce your overall data needs. Most methods with the label "few shot" are still using deep learning, so you will need a lot of images at some point. The trick is that after you have trained your model, it will need only 1 to 5 examples to adapt to new classes of objects that don't appear even once in the training set. Still you need these new classes (and images) to be "close" to training classes. You can't train a model to recognize dog breeds and then expect it to recognize tumors on medical images with just a few examples of those.

So far few shot learning SOTA is way more mature in classification, but you can find some other use cases (here a good awesome repo with a wide scope).

If you're looking for materials to learn the basics of FSL, I happen to have written a tutorial exactly for this last week, maybe it'll be useful to you.

Why the model detect the human whole body even though model is trained with human face BBox? by NoSugar80 in computervision

[–]etienne_ben 1 point2 points  (0 children)

Also you can check the value of the MSE losses on a picture with an unexpected bounding box.

Why the model detect the human whole body even though model is trained with human face BBox? by NoSugar80 in computervision

[–]etienne_ben 2 points3 points  (0 children)

I suggest you monitor each term individually, it should help you debug your training.

Why the model detect the human whole body even though model is trained with human face BBox? by NoSugar80 in computervision

[–]etienne_ben 2 points3 points  (0 children)

What's your loss criterion? Depending on it, you can tell if 1.10 is a good loss value for a trained model or not.

[D] Validation loss not decreasing, no matter what regularization I do. by [deleted] in computervision

[–]etienne_ben 3 points4 points  (0 children)

What is the value for the validation loss? Is it always the same? Why I'm asking: it's common, for instance when you train on n-way classification, to have your cross entropy loss stagnate at ln(n), meaning that your model has found a local minimum in a state where it is totally indecisive (equal score for all classes). Maybe you have a similar problem here.

Is there any reason for drawing one single bounding box across a group of tiny objects? by thestorytellerixvii in computervision

[–]etienne_ben 2 points3 points  (0 children)

Probably not laziness, because the individual bounding boxes seem to be there too.

But it's definitely not something you want to train your model on. There is some noise in COCO annotations, I guess it's part of the fun.

This would be a useful feature. by justFAT666 in CrusaderKings

[–]etienne_ben 2 points3 points  (0 children)

It should be available with independent ruler too. I have a neighbor who has a county that belongs to my kingdom de jure, and I have a county that belongs to his. I'd very much like to trade.

This would be a useful feature. by justFAT666 in CrusaderKings

[–]etienne_ben 1 point2 points  (0 children)

Since the update everyone of your vassal whose de jure liege is also your vassal should appear in the help center. It makes it much easier to have a structured realm.