Skip to content
#

PyTorch

pytorch logo

PyTorch is an open source machine learning library based on the Torch library, used for applications such as computer vision and natural language processing, primarily developed by Facebook's AI Research lab.

Here are 20,841 public repositories matching this topic...

transformers
patrickvonplaten
patrickvonplaten commented Mar 21, 2022

This issue is part of our Doc Test Sprint. If you're interested in helping out come join us on Discord and talk with other contributors!

Docstring examples are often the first point of contact when trying out a new library! So far we haven't done a very good job at ensuring that all docstring examples work correctly in 🤗 Transformers - but we're now very

pytorch-lightning
niberger
niberger commented Mar 24, 2022

🐛 Bug

When using the cross validation loop from the example pl_examples/loop_examples/kfold.py with ddp_spawn strategy, it encounter a SIGABRT Exception and the program crash.

To Reproduce

import os
from pytorch_lightning import seed_everything, Trainer

from pl_examples.loop_examples.kfold import KFoldLoop, LitImageClassifier, MNISTKFoldDataModule


def run():
bug good first issue example loops
AnirudhDagar
AnirudhDagar commented Jan 24, 2022

Although the results look nice and ideal in all TensorFlow plots and are consistent across all frameworks, there is a small difference (more of a consistency issue). The result training loss/accuracy plots look like they are sampling on a lesser number of points. It looks more straight and smooth and less wiggly as compared to PyTorch or MXNet.

It can be clearly seen in chapter 6([CNN Lenet](ht

tensorflow-adapt-track good first issue
chan4cc
chan4cc commented Apr 26, 2021

New Operator

Describe the operator

Why is this operator necessary? What does it accomplish?

This is a frequently used operator in tensorflow/keras

Can this operator be constructed using existing onnx operators?

If so, why not add it as a function?

I don't know.

Is this operator used by any model currently? Which one?

Are you willing to contribute it?

operator good first issue enhancement
nni
shenoynikhil98
shenoynikhil98 commented Mar 23, 2022

https://github.com/microsoft/nni/blob/8d5f643c64580bb26a7b10a3c4c9accf617f65b1/nni/compression/pytorch/speedup/jit_translate.py#L382

While trying to speedup my single shot detector, the following error comes up. Any way to fix this,

/usr/local/lib/python3.8/dist-packages/nni/compression/pytorch/speedup/jit_translate.py in forward(self, *args)
    363 
    364         def forward(self, *
danieldeutsch
danieldeutsch commented Jun 2, 2021

Is your feature request related to a problem? Please describe.
I typically used compressed datasets (e.g. gzipped) to save disk space. This works fine with AllenNLP during training because I can write my dataset reader to load the compressed data. However, the predict command opens the file and reads lines for the Predictor. This fails when it tries to load data from my compressed files.

Good First Issue Contributions welcome Feature request

Created by Facebook's AI Research lab (FAIR)

Released September 2016

Latest release 20 days ago

Repository
pytorch/pytorch
Website
pytorch.org
Wikipedia
Wikipedia

Related Topics

python pytorch-tutorial