edgetpu-yolo
CLIP
Our great sponsors
edgetpu-yolo | CLIP | |
---|---|---|
2 | 103 | |
80 | 21,909 | |
- | 5.0% | |
2.6 | 1.2 | |
4 days ago | 7 days ago | |
Python | Jupyter Notebook | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
edgetpu-yolo
- YOLOv6: Redefine state-of-the-art for object detection
-
A microcontroller board with a camera, mic, and Coral Edge TPU
I'm on the fence. It's a very nice device if you can get your models working on it - basically untouched at the price/power point. Drivers for me have been OK. I have an M.2 card connected to a Jetson devkit (makes for a nice embedded test bench) and it runs fine, no worse than the NCS for setup anyway. There were a couple of PCI settings to tweak but I documented the setup here [0]. For common use cases it's a decent option, I think. For custom models you really need to know what you're doing.
The main issue I've had is that the compiler behaviour differs between versions (and it's very difficult to find older releases), so where previously you could run a big model and delegate things to the CPU, now it sometimes won't compile at all. There were also problems where we trained a model in AutoML - using free credits but the real cost would have been over $100 - but edgetpu compiled model lost a lot of performance. The developers have been very helpful when I've contacted them, and generally you can get through to real devs (not generic support) who can look at your model for you. Mostly I think you need to take care when training models for these devices, but quantisation-aware training is not trivial to use in Tensorflow and there are only a few off-the-shelf models which are supported in the various toolkits. Model maker looks promising, but it's also finnicky in my experience [1].
I'm not super worried about hardware availability. They're suffering from the chip shortage like everyone else, so it's not surprising that lead times are long. I was able to buy my device in late 2020 without any trouble.
[0] https://github.com/jveitchmichaelis/edgetpu-yolo/blob/main/h...
CLIP
-
How to Cluster Images
We will also need two more libraries: OpenAI’s CLIP GitHub repo, enabling us to generate image features with the CLIP model, and the umap-learn library, which will let us apply a dimensionality reduction technique called Uniform Manifold Approximation and Projection (UMAP) to those features to visualize them in 2D:
-
Show HN: Memories, FOSS Google Photos alternative built for high performance
Biggest missing feature for all these self hosted photo hosting is the lack of a real search. Being able to search for things like "beach at night" is a time saver instead of browsing through hundreds or thousands of photos. There are trained neural networks out there like https://github.com/openai/CLIP which are quite good.
-
Zero-Shot Prediction Plugin for FiftyOne
In computer vision, this is known as zero-shot learning, or zero-shot prediction, because the goal is to generate predictions without explicitly being given any example predictions to learn from. With the advent of high quality multimodal models like CLIP and foundation models like Segment Anything, it is now possible to generate remarkably good zero-shot predictions for a variety of computer vision tasks, including:
-
A History of CLIP Model Training Data Advances
(Github Repo | Most Popular Model | Paper | Project Page)
-
NLP Algorithms for Clustering AI Content Search Keywords
the first thing that comes to mind is CLIP: https://github.com/openai/CLIP
-
How to Build a Semantic Search Engine for Emojis
Whenever I’m working on semantic search applications that connect images and text, I start with a family of models known as contrastive language image pre-training (CLIP). These models are trained on image-text pairs to generate similar vector representations or embeddings for images and their captions, and dissimilar vectors when images are paired with other text strings. There are multiple CLIP-style models, including OpenCLIP and MetaCLIP, but for simplicity we’ll focus on the original CLIP model from OpenAI. No model is perfect, and at a fundamental level there is no right way to compare images and text, but CLIP certainly provides a good starting point.
-
COMFYUI SDXL WORKFLOW INBOUND! Q&A NOW OPEN! (WIP EARLY ACCESS WORKFLOW INCLUDED!)
in the modal card it says: pretrained text encoders (OpenCLIP-ViT/G and CLIP-ViT/L).
-
Stability Matrix v1.1.0 - Portable mode, Automatic updates, Revamped console, and more
Command: "C:\StabilityMatrix\Packages\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary
-
[D] LLM or model that does image -> prompt?
CLIP might work for your needs.
-
Where can this be used? I have seen some tutorials to run deepfloyd on Google colab. Any way it can be done on local?
pip install deepfloyd_if==1.0.2rc0 pip install xformers==0.0.16 pip install git+https://github.com/openai/CLIP.git --no-deps pip install huggingface_hub --upgrade
What are some alternatives?
yolov7 - Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
open_clip - An open source implementation of CLIP.
frigate - NVR with realtime local object detection for IP cameras
sentence-transformers - Multilingual Sentence & Image Embeddings with BERT
yolov7_d2 - 🔥🔥🔥🔥 (Earlier YOLOv7 not official one) YOLO with Transformers and Instance Segmentation, with TensorRT acceleration! 🔥🔥🔥
latent-diffusion - High-Resolution Image Synthesis with Latent Diffusion Models
transformers - 🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
disco-diffusion
YOLOv6 - YOLOv6: a single-stage object detection framework dedicated to industrial applications.
DALLE2-pytorch - Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch
PixelLib - Visit PixelLib's official documentation https://pixellib.readthedocs.io/en/latest/
BLIP - PyTorch code for BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation