examples
examples copied to clipboard
A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
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
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...
As discussed in #715 , I have added sentence classification tutorial using CNN on TREC dataset. cc @yf225 @soumith
Related: https://github.com/pytorch/examples/issues/887
Organized all code for the reinforcement learning reinforce example (matching the same on #867) Tested and working as per usual.
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...
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 ```...
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' ``` +-----------------------------------------------------------------------------+...