pytorch-image-models
mmdetection
pytorch-image-models | mmdetection | |
---|---|---|
37 | 24 | |
35,127 | 31,579 | |
0.6% | 0.4% | |
9.6 | 5.8 | |
24 days ago | about 1 year ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
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.
pytorch-image-models
-
This PR content was generated automatically using cover-agent
Those are some pointless tests.
E.g. test_activation_stats_functions [1] that just checks that the returned value is a float, and that it can take random numbers as input.
test_get_state_dict_custom_unwrap [2] is probably supposed to check that custom_unwrap is invoked, but since it doesn't either record being called, or transform its input, the assertions can't actually check that it was called.
[1] https://github.com/huggingface/pytorch-image-models/pull/233...
[2] https://github.com/huggingface/pytorch-image-models/pull/233...
- FLaNK AI Weekly 18 March 2024
-
[D] Hugging face and Timm
I am a PyTorch user I work in CV, I usually use the PyTorch models. However, I see people use timm in research papers to train their models I don't understand what it is timm is it a new framework like PyTorch? Further, when I click https://pypi.org/project/timm/ homepage it takes me to hugging face GitHub https://github.com/huggingface/pytorch-image-models is there any connection between timm and hugging face many of my friends use hugging face but I also don't know about hugging face I use simple PyTorch and torchvision.models.
-
FLaNK Stack Weekly for 07August2023
https://github.com/huggingface/pytorch-image-models https://huggingface.co/docs/timm/index
-
[R] Nvidia RTX 4090 ML benchmarks. Under QEMU/KVM. Image + Transformers. FP16/FP32.
pytorch-image-models
-
Inference on resent, cant work out the problem?
additionally, you might find the timm library handy for this sort of work.
-
Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows
This is still being pursued. Ross Wightmann's timm[0,1] package (now on Hugging Face) has done a lot of this. There's also a V2 of ConvNext[2]. Ross does write about this a lot on Twitter fwiw. I should also mention that there are still many transformer based networks that still beat convs. So there probably won't be a resurgence in convs until someone can show that there's a really strong reason for them. They have some advantages but they also might not be flexible enough for the long range tasks in segmentation and detection. But maybe they are.
FAIR definitely did great work with ConvNext, and I do hope to see more. There always needs to be people pushing unpopular paradigms.
[0] https://github.com/huggingface/pytorch-image-models
[1] https://arxiv.org/abs/2110.00476
[2] https://arxiv.org/abs/2301.00808
-
Problems with Learning Rate Finder in Pytorch Lightning
I am doing Binary classification with a pre-trained EfficientNet tf_efficientnet_l2. I froze all weights during training and replaced the classifier with a custom trainable one that looks like:
-
PyTorch at the Edge: Deploying Over 964 TIMM Models on Android with TorchScript and Flutter
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.
-
ImageNet Advise
The other thing is, try to find tricks to speed up your experiments (if not having done so already). The most obvious are mixed precision training, have your model train on a lower resolution input first and then increase the resolution later in the training, stochastic depth, and a bunch more stuffs. Look for implementations in https://github.com/rwightman/pytorch-image-models .
mmdetection
-
PYX: The next step in Python packaging
There certainly are issues on Linux as well. The Detectron2 library alone has several hundred issues related to incorrect versions of something: https://github.com/facebookresearch/detectron2/issues
The mmdetection library (https://github.com/open-mmlab/mmdetection/issues) also has hundreds of version-related issues. Admittedly, that library has not seen any updates for over a year now, but it is sad that things just break and become basically unusable on modern Linux operating systems because NVIDIA can't stop breaking backwards and forwards compatibility for what is essentially just fancy matrix multiplication.
-
Semantic segementation
When I look for benchmarks I always start here https://paperswithcode.com/task/instance-segmentation/codeless it has the lists of datasets to measure models accross lots o papers. Many are very specific models with low support or community but it gives you a good idea of ββthe state of the art. It also lists repositories related to good community. https://github.com/open-mmlab/mmdetection seems very active and the one that is being used the most, you could use the models that it has integrated in its model zoo, within the same repository. It has the benchmarks to compare those same models and some of them are from 2022
-
How to Convert Model Mask into Polygon and save JSON?
MODEL: https://github.com/open-mmlab/mmdetection
-
Object Detection Model for Custom Dataset Training?
Would it make sense to work with OpenMMLab (https://github.com/open-mmlab/mmdetection) or Pytorch-image-models (https://github.com/rwightman/pytorch-image-models#models) since they offer a variety of models?
-
[P] Image search with localization and open-vocabulary reranking.
I wanted to have a few choices getting localization into image search (index and search time). I immediately thought of using a region proposal network (rpn) from mask-rcnn to create patches that can also be indexed and searched (and add the localisation). I figured it might be somewhat agnostic to classes. I did not want to use mmdetection or detectron2 due to their dependencies and just getting the rpn was not worth it. I was encouraged by the PyTorch native implementations of detection/segmentation models but ended up finding yolox the best.
-
MMDeploy: Deploy All the Algorithms of OpenMMLab
MMDetection: OpenMMLab detection toolbox and benchmark.
-
Removing the bounding box generated by OnnxRuntime segmentation
I have a semantic segmentation model trained using the mmdetection repo. Then it is converted to the ONNX format using the mmdeploy repo.
-
Keras vs Tensorflow vs Pytorch for a Final year Project
E.g. If you consider it an object detection problem it is: detect and localise all the pedestrians in a frame, and classify them by their (intended) action. IMO the easiest way to do this would be with mmdetection, which is built on top of pytorch. Just label your dataset, build a config, and boom you have a model. Inference with that model in only a few lines of code, you won't really need to learn too much to get started.
-
DeepSort with PyTorch(support yolo series)
MMDetection
-
[D] Pre-trained networks and batch normalization
For example, in mmdetection, they expose options in their config & implementation to freeze batch norm layers in backbones and in this config, norm_eval is set to True meaning to freeze tracking of batch norm stats, while the ResNet backbone is frozen up to the 1st stage. Example of their backbone implementation can be found here.
What are some alternatives?
mmcv - OpenMMLab Computer Vision Foundation
detectron2 - Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
segmentation_models.pytorch - Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
yolov5 - YOLOv5 π in PyTorch > ONNX > CoreML > TFLite
pytorch-lightning - Pretrain, finetune ANY AI model of ANY size on multiple GPUs, TPUs with zero code changes.