examples
Pytorch
examples | Pytorch | |
---|---|---|
23 | 345 | |
21,878 | 79,097 | |
0.7% | 1.4% | |
7.8 | 10.0 | |
10 days ago | 2 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 1-Clause 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.
examples
-
A Distributed File System in Go Cut Average Metadata Memory Usage to 100 Bytes
For “cloud-native” apps, JuiceFS is not needed.
S3 is not designed for intensive metadata operations, like listing, renaming etc. For these operations, you will need a somewhat POSIX-complaint system. For example, if you want to train on ImageNet dataset, the “canonical” way [1] is to extract the images and organize them into folders, class by class. The whole dataset is discovered by directory listing. This where JuiceFS shines.
Of course, if the dataset is really massive, you will mostly end-up with in-house solutions.
[1]: https://github.com/pytorch/examples/blob/main/imagenet/extra...
-
Logistic Regression for Image Classification Using OpenCV
Pytorch includes a simple neural network example for the MNIST data: https://github.com/pytorch/examples/blob/main/mnist/main.py
It only takes a few minutes to train with default parameters and will have >99% accuracy on the MNIST test set.
-
[R] Nvidia RTX 4090 ML benchmarks. Under QEMU/KVM. Image + Transformers. FP16/FP32.
pytorch-examples
-
I work at a non-tech company and have been asked to make software that is impossible. How do I explain it to my boss?
Pretty much just grab one of these, swap in your own database, go home early: https://pytorch.org/examples/
-
MIT Course: Generative AI for Constructive Communication
[5] https://github.com/pytorch/examples/tree/main/word_language_...
-
From a Dumb Student to a PyTorch Contributor: The Impact of Teachers on My Life⚡
The cherry on top of the cake I've added my father's name at the top of the code in the comments. I hope that for the next upcoming 200-300 years, someone will read modify and improve or perform experiments with my code.(Vivek V patel), My code can be found at official PyTorch's Website https://pytorch.org/examples/(Image Classification Using Forward-Forward Algorithm)
-
What modifications can maximize the efficacy of the REINFORCE algorithm for a policy gradient task?
I am straying out of my domain knowledge to attempt a basic reinforcement learning task in a toy environment and have become fairly familiar with the REINFORCE algorithm for policy gradient agents, especially PyTorch’s implementation (found here). It is clear to me now that there are superior methods to train RL agents (PPO for instance), but as I read, these feel beyond my current intellectual or time resources. As such, I’d like to eek out as much power through modifications of REINFORCE as possible before determining how I might move on.
-
How does Taichi differ from PyTorch? They are different in every sense!
import torch import torch.nn as nn import torch.nn.functional as F # Simplified version of https://github.com/pytorch/examples/blob/main/mnist/main.py#L21 class Net(nn.Module): def __init__(self): super(Net, self).__init__() self.conv1 = nn.Conv2d(1, 32, 3, 1) def forward(self, x): x = self.conv1(x) output = F.relu(x) return output
- Noob PyTorch Question
- Syntax Error, attempting to train neural network.
Pytorch
-
Clasificador de imágenes con una red neuronal convolucional (CNN)
PyTorch (https://pytorch.org/)
-
AI enthusiasm #9 - A multilingual chatbot📣🈸
torch is a package to manage tensors and dynamic neural networks in python (GitHub)
-
Einsum in 40 Lines of Python
PyTorch also has some support for them, but it's quite incomplete and has many issues so that it is basically unusable. And its future development is also unclear. https://github.com/pytorch/pytorch/issues/60832
-
Library for Machine learning and quantum computing
TensorFlow
-
My Favorite DevTools to Build AI/ML Applications!
TensorFlow, developed by Google, and PyTorch, developed by Facebook, are two of the most popular frameworks for building and training complex machine learning models. TensorFlow is known for its flexibility and robust scalability, making it suitable for both research prototypes and production deployments. PyTorch is praised for its ease of use, simplicity, and dynamic computational graph that allows for more intuitive coding of complex AI models. Both frameworks support a wide range of AI models, from simple linear regression to complex deep neural networks.
-
penzai: JAX research toolkit for building, editing, and visualizing neural nets
> does PyTorch have a similar concept
of course https://github.com/pytorch/pytorch/blob/main/torch/utils/_py...
-
Tinygrad: Hacked 4090 driver to enable P2P
fyi should work on most 40xx[1]
[1] https://github.com/pytorch/pytorch/issues/119638#issuecommen...
-
The Elements of Differentiable Programming
Sure, right here: https://github.com/pytorch/pytorch/blob/main/torch/autograd/...
Here's the documentation: https://pytorch.org/tutorials/intermediate/forward_ad_usage....
> When an input, which we call “primal”, is associated with a “direction” tensor, which we call “tangent”, the resultant new tensor object is called a “dual tensor” for its connection to dual numbers[0].
-
Functions and operators for Dot and Matrix multiplication and Element-wise calculation in PyTorch
*My post explains Dot, Matrix and Element-wise multiplication in PyTorch.
-
Dot vs Matrix vs Element-wise multiplication in PyTorch
In PyTorch with @, dot() or matmul():
What are some alternatives?
self-driving-car - The Udacity open source self-driving car project
Flux.jl - Relax! Flux is the ML library that doesn't make you tensor
aws-graviton-getting-started - Helping developers to use AWS Graviton2 and Graviton3 processors which power the 6th and 7th generation of Amazon EC2 instances (C6g[d], M6g[d], R6g[d], T4g, X2gd, C6gn, I4g, Im4gn, Is4gen, G5g, C7g[d][n], M7g[d], R7g[d]).
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
fast-style-transfer - TensorFlow CNN for fast style transfer ⚡🖥🎨🖼
Apache Spark - Apache Spark - A unified analytics engine for large-scale data processing
pytea - PyTea: PyTorch Tensor shape error analyzer
flax - Flax is a neural network library for JAX that is designed for flexibility.
PyTorchProjectFramework - A basic framework for your PyTorch projects
tinygrad - You like pytorch? You like micrograd? You love tinygrad! ❤️ [Moved to: https://github.com/tinygrad/tinygrad]
raccoon_dataset - The dataset is used to train my own raccoon detector and I blogged about it on Medium
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more