Coder Social home page Coder Social logo

improving-variational-encoder-decoders-in-dialogue-generation's People

Contributors

chin-gyou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

improving-variational-encoder-decoders-in-dialogue-generation's Issues

RuntimeError: select(): index 19 out of range for tensor of size [19, 32, 30000] at dimension 0

I am new about pytorch, what's wrong about this problem?
Traceback (most recent call last): File "/home/yangjingying/PycharmProjects/VariationalSeq2Seq-master/main.py", line 269, in <module> save_every=save_every, sample_every=sample_every, print_every=print_every, learning_rate=learning_rate) File "/home/yangjingying/PycharmProjects/VariationalSeq2Seq-master/main.py", line 142, in train criterion, kl_anneal_weight, p_teach_force) File "/home/yangjingying/PycharmProjects/VariationalSeq2Seq-master/main.py", line 100, in _train_step loss.backward() File "/home/yangjingying/anaconda2/lib/python2.7/site-packages/torch/tensor.py", line 102, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph) File "/home/yangjingying/anaconda2/lib/python2.7/site-packages/torch/autograd/__init__.py", line 90, in backward allow_unreachable=True) # allow_unreachable flag RuntimeError: select(): index 19 out of range for tensor of size [19, 32, 30000] at dimension 0 Closing remaining open files:./data/train.h5...done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.