examples icon indicating copy to clipboard operation
examples copied to clipboard

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.

Results 210 examples issues
Sort by recently updated
recently updated
newest added

## 📚 Documentation I'm trying to get DCGAN running on my Windows machine. It appears that the code may not support windows, but this is not mentioned in the readme....

In the main.py of word language model, I find that in the evaluate function the total_loss is getting multiplied by length of data https://github.com/pytorch/examples/blob/ca1bd9167f7216e087532160fc5b98643d53f87e/word_language_model/main.py#L163 However in the train function, total_loss...

help wanted

Hi, I am using image net. But there is no big difference between the time consuming when I used 2 GPUs, 4 GPUs or 8 GPUs. I just changed the...

distributed

I am trying to build a simple CNN model using libtorch, I am following the tutorial : https://github.com/pytorch/examples/tree/master/cpp/dcgan **I got this error :** hazim@hazim-virtual-machine:~/Documents/dcgan/build$ ./dcgan terminate called after throwing an...

c++

Your issue may already be reported! Please search on the [issue tracker](https://github.com/pytorch/serve/examples) before creating one. ## Context * Pytorch version: 1.12.1 * Operating System and version: 20.04.4 LTS (Focal Fossa)...

data

Your issue may already be reported! Please search on the [issue tracker](https://github.com/pytorch/serve/examples) before creating one. I wanna train new style model run this cmd !unzip train2014.zip -d /content !python /content/examples/fast_neural_style/neural_style/neural_style.py...

bug
data

@soumith Currently, all the examples in C++ are related to image classification/ GAN. There are not many examples on text/nlp. I would like to include a starter example on sentence...

c++

Hello Pytorch, When trying to run the DDP scripts I made some minor updates on the provided code. I hope the proposed changes can benefit others. Best regards, Nícolas Rosa

cla signed

## Context * Pytorch version: 3.10 * Operating System and version: ubuntu 22.04 ## Your Environment * Installed using source? [yes/no]: no * Are you planning to deploy it using...