chin-gyou / improving-variational-encoder-decoders-in-dialogue-generation Goto Github PK
View Code? Open in Web Editor NEWTensorflow Implementation of Improving Variational Encoder-Decoders in Dialogue Generation
Tensorflow Implementation of Improving Variational Encoder-Decoders in Dialogue Generation
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
Hi,
I want to train my dataset with dataproducer.py limit set to 500. It seems like https://github.com/snakeztc/NeuralDialog-CVAE can easily handle that and even bigger (limit=1000) with batch size 128. I'm using NVIDIA Volta GPU.
There'es some inefficiency going on here that I can't seem to solve.
Do you have any idea how can I go about solving this?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.