Machine-Learning-Collection
pytorch-accelerated
Machine-Learning-Collection | pytorch-accelerated | |
---|---|---|
9 | 1 | |
6,991 | 159 | |
- | - | |
3.5 | 3.7 | |
3 months ago | 5 days ago | |
Python | Python | |
MIT License | 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.
Machine-Learning-Collection
-
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
pytorch-accelerated
-
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) .
What are some alternatives?
6DRepNet - Official Pytorch implementation of 6DRepNet: 6D Rotation representation for unconstrained head pose estimation.
composer - Supercharge Your Model Training
nodding-pigeon - Detection and classification of head gestures in videos
pytorch-tutorial - PyTorch Tutorial for Deep Learning Researchers
a-PyTorch-Tutorial-to-Image-Captioning - Show, Attend, and Tell | a PyTorch Tutorial to Image Captioning
PPO-PyTorch - Minimal implementation of clipped objective Proximal Policy Optimization (PPO) in PyTorch
ALAE - [CVPR2020] Adversarial Latent Autoencoders
avalanche - Avalanche: an End-to-End Library for Continual Learning based on PyTorch.
Data-Efficient-Reinforcement-Learning-with-Probabilistic-Model-Predictive-Control - Unofficial Implementation of the paper "Data-Efficient Reinforcement Learning with Probabilistic Model Predictive Control", applied to gym environments
nos - Module to Automatically maximize the utilization of GPU resources in a Kubernetes cluster through real-time dynamic partitioning and elastic quotas - Effortless optimization at its finest!
Gradient-Centralization-TensorFlow - Instantly improve your training performance of TensorFlow models with just 2 lines of code!
Activeloop Hub - Data Lake for Deep Learning. Build, manage, query, version, & visualize datasets. Stream data real-time to PyTorch/TensorFlow. https://activeloop.ai [Moved to: https://github.com/activeloopai/deeplake]