Better HN
topnewbestaskshowjobs
Log inSign up

dnth

59 karma · joined Feb 15, 2023 (3y ago) · 23 submissions

Hello, I am Dickson. I share practical deep learning tips and tricks at https://dicksonneoh.com/
Submissions

1.

Show HN: X.infer-Framework agnostic computer vision inference(github.com ↗)

3 points · by dnth · 2y ago · discuss

2.

Show HN: Bag of Tricks to 8x Faster Inference with ONNX+TensorRT(dicksonneoh.com ↗)

3 points · by dnth · 2y ago · discuss

3.

Visualize your dataset using DINOv2 embedding

1 points · by dnth · 3y ago · discuss

comment 3y ago · link · parent

We released a free tool (fastdup) where you can use to cluster image using DINOv2 embeddings.

5.

Cluster images at scale using DINOv2 embeddings(nbviewer.org ↗)

1 points · by dnth · 3y ago · 1 comment

comment 3y ago · link · parent

fastdup is a tool that let you gain insights from a large image/video collection.

It lets you identify image duplicates, video duplicates, wrong labels, outliers, corrupted data, and image clusters.

fastdup is -

Unsupervised: fits any visual dataset. Scalable: handles 400M images on a single machine. Efficient: works on CPU (even on Google Colab with only 2 CPU cores!). Low Cost: can process 12M images on a $1 cloud machine budget.

7.

Find image duplicates and outliers – A free, scalable, efficient tool(github.com ↗)

2 points · by dnth · 3y ago · 1 comment

comment 3y ago · link · parent

The authors at fastdup ran an analysis on LAION 400M and Imagenet21K. Here's what they found.

LAION 400M

> 60M duplicates. > 962K broken images. > Various label discrepancies.

ImageNet21K

> 1.2M duplicate images. > 104K train/val leak.

fastdup GitHub repo - https://github.com/visual-layer/fastdup

9.

Dedup-ing LAION (60M duplicates) and ImageNet (1.2M duplicates) with fastdup(youtube.com ↗)

3 points · by dnth · 3y ago · 1 comment

comment 3y ago · link · parent

Even pros have dark, blurry & duplicate shots. But disorganization can make it hard to find those special memories. Let's fix that.

comment 3y ago · link · parent

Update - After some code optimization, I got the inference time down to below 100ms. The lowest I got on my Pixel 3 XL is 37ms!

https://dicksonneoh.com/portfolio/pytorch_at_the_edge_timm_t...

comment 3y ago · link · parent

You're welcome! I'm not sure if I'm the right person to advise on this. But this idea is also known as federated learning right?

comment 3y ago · link · parent

With flutter you can also build web apps.

https://flutter.dev/multi-platform/web

comment 3y ago · link · parent

Note yet! But I heard things are going to be a lot faster in 2.0. Have you tried?

comment 3y ago · link · parent

Thank you for the feedback! Let me know if you have questions :)

comment 3y ago · link · parent

Thank you!

comment 3y ago · link · parent

Thank you!!!

comment 3y ago · link · parent

Thanks a lot there! I was hesitating to write this piece actually, thinking it's not going to be valuable. I'm glad you find value in them!

comment 3y ago · link · parent

Media pipe looks really cool. I havent tried it. Have you?

comment 3y ago · link · parent

The pytorch lite package also supports yolov5 models.

I posted on my LinkedIn awhile ago

https://www.linkedin.com/posts/dickson-neoh_deploying-object...

comment 3y ago · link · parent

Model deployment is painful. Running a model on a mobile phone?

Forget it .

The frustration is real. I remember spending nights exporting models into ONNX and it still failed me. Deploying models on mobile for edge inference used to be complex.

Not anymore.

In this post, I’m going to show you how you can pick from over 900+ SOTA models on TIMM, train them using best practices with Fastai, and deploy them on Android using Flutter.

22.

PyTorch at the Edge: Deploy 964 TIMM Models on Android with TorchScript(dicksonneoh.com ↗)

102 points · by dnth · 3y ago · 34 comments