pytorch-accelerated
A lightweight library designed to accelerate the process of training PyTorch models by providing a minimal, but extensible training loop which is flexible enough to handle the majority of use cases, and capable of utilizing different hardware options with no code changes required. Docs: https://pytorch-accelerated.readthedocs.io/en/latest/ (by Chris-hughes10)
Machine-Learning-Collection
A resource for learning about Machine learning & Deep Learning (by aladdinpersson)
Our great sponsors
pytorch-accelerated | Machine-Learning-Collection | |
---|---|---|
1 | 9 | |
157 | 6,936 | |
- | - | |
4.6 | 3.5 | |
3 months ago | 3 months ago | |
Python | Python | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-accelerated
Posts with mentions or reviews of pytorch-accelerated.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-21.
-
I highly and genuinely recommend Fast.ai course to beginners
I would love to know your thoughts on PyTorch Lightning vs. other, even more lightweight libraries, if you have the time. PL strikes me as being less idiosyncratic than FastAI, but I'm still not sure whether it would be better in engineering work to go even more lightweight (when I'm not just writing the code myself) -- something that offers up just optimizations and a trainer, a la MosaicML's [Composer](https://github.com/mosaicml/composer) or Chris Hughes's [pytorch-accelerated](https://github.com/Chris-hughes10/pytorch-accelerated) .
Machine-Learning-Collection
Posts with mentions or reviews of Machine-Learning-Collection.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-02.
-
Building an AI Game Bot 🤖Using Imitation Learning and 3D Convolution ResNet
def compute_mean_std(dataloader): ''' We assume that the images of the dataloader have the same height and width source: https://github.com/aladdinpersson/Machine-Learning-Collection/blob/master/ML/Pytorch/Basics/pytorch_std_mean.py ''' # var[X] = E[X**2] - E[X]**2 channels_sum, channels_sqrd_sum, num_batches = 0, 0, 0 for batch_images, labels in tqdm(dataloader): # (B,H,W,C) batch_images = batch_images.permute(0,3,4,2,1) channels_sum += torch.mean(batch_images, dim=[0, 1, 2, 3]) channels_sqrd_sum += torch.mean(batch_images ** 2, dim=[0, 1, 2,3]) num_batches += 1 mean = channels_sum / num_batches std = (channels_sqrd_sum / num_batches - mean ** 2) ** 0.5 return mean, std compute_mean_std(dataloader)
-
What can be the reasons of BatchNorm working and Dropout not working in YoloV1 Pytorch implementation?
I then found Aladdin Persson implementation (which he described in YouTube video). He said that original paper used Dropout, because BatchNorm was not invented at the time, and he wants to use BatchNorm instead. I thought there is no critical difference between these two, and decided to stick up with paper for the sake of learning to implement such things.
-
How to create a custom parallel corpus for machine translation with recent versions of pytorch and torchtext?
I am trying to train a model for NMT on a custom dataset. I found this great tutorial on youtube along with the accompanying repo, but it uses an old version of PyTorch and torchtext. More recent versions of torchtext have removed the Field and BucketIterator classes. I looked for more recent tutorials. The closest thing I could find was this medium post (again with the accompanying code) which worked with a custom dataset for text classification. I tried to replicate the code with my problem and got this far:
-
I need help knowing how to improve a CycleGan I am working on.
with the source code here: Machine-Learning-Collection/ML/Pytorch/GANs/CycleGAN at master · aladdinpersson/Machine-Learning-Collection · GitHub
-
Pytorch: Custom Dataset for Machine Translation
seq2seq_attention
-
Project to prettify music notes
I followed a tutorial to do a pix2pix GAN network here: https://www.youtube.com/watch?v=SuddDSqGRzg, and the github.
-
Awesome Youtube
Aladdin Persson
-
Help with initial set-up.
Hello everyone. I am all set up and ready to go. I downloaded the code below (btw, I don't fully understand what it does, lol) and ran it a few times.
-
YOLOv3 from scratch in PyTorch
Code: https://github.com/aladdinpersson/Machine-Learning-Collection/tree/master/ML/Pytorch/object_detection/YOLOv3
What are some alternatives?
When comparing pytorch-accelerated and Machine-Learning-Collection you can also consider the following projects:
composer - Supercharge Your Model Training
6DRepNet - Official Pytorch implementation of 6DRepNet: 6D Rotation representation for unconstrained head pose estimation.