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

Create an example for Bidirectional LSTM neural network.

Our RPC examples use an older version of PyTorch ``` grep -r "torch=" . ./distributed/rpc/pipeline/requirements.txt:torch==1.6.0 ./distributed/rpc/batch/requirements.txt:torch==1.6.0 ``` There could be others

enhancement
good first issue
distributed

In [`/reinforcement_learning/reinforce.py`](https://github.com/pytorch/examples/blob/master/reinforcement_learning/reinforce.py), line 91: ``` running_reward = running_reward * 0.99 + t * 0.01 ``` The variable `running_reward` seems to used for record average episodic rewards(not actually average, but I...

good first issue

As discussed in #715 , I have added sentence classification tutorial using CNN on TREC dataset. cc @yf225 @soumith

cla signed
c++

Related: https://github.com/pytorch/examples/issues/887

cla signed

Organized all code for the reinforcement learning reinforce example (matching the same on #867) Tested and working as per usual.

cla signed
reinforcement learning

https://github.com/pytorch/examples/blob/36441a83b6595524a538e342594ee6482754f374/fast_neural_style/neural_style/neural_style.py#L117 Spent 2 hours training a model for it to fail the save with error prefixed with `OSError: [Errno 22] Invalid argument` :( For now I'm just adding fail-safe but...

good first issue

In the MNIST code, around line 57 (I think), the following code is wrong in my opinion ``` for data, target in test_loader: ``` It should be replaced by ```...

good first issue

I run the example of imagenet in https://github.com/pytorch/examples/tree/master/imagenet, althougt I can run it successfully, but it is slow, and the Volatile GPU-Util is always 0 with command 'nvidia-smi' ``` +-----------------------------------------------------------------------------+...

question