evilpsycho / deep-time-series-prediction Goto Github PK
View Code? Open in Web Editor NEWSeq2Seq, Bert, Transformer, WaveNet for time series prediction.
Seq2Seq, Bert, Transformer, WaveNet for time series prediction.
Have been playing with your implementation of RNN2RNN mixing it up with this one.
I have some remarks that have worked for me:
Dense
layer dropput/linear order. Lin(drop(x))
Dense
layer to the hidden state of the encoder before sending it to the decoder.Running your sample code on CPU without cuda arguments in creating train_dl results in too many values to unpack error while training. Any solution?
I got import error.
ValueError Traceback (most recent call last)
in
44 # train model
45 wave_learner = Learner(wave, opt, root_dir="./wave", )
---> 46 wave_learner.fit(max_epochs=epoch, train_dl=train_dl, valid_dl=valid_dl, early_stopping=True, patient=16)
47
48 # load best model
/wangjin_fix/student_space/sw/Deep-Time-Series-Prediction-master/deepseries/train.py in fit(self, max_epochs, train_dl, valid_dl, early_stopping, patient, start_save)
68 self.model.train()
69 train_loss = 0
---> 70 for j, (x, y) in enumerate(train_dl):
71 self.optimizer.zero_grad()
72 loss = self.model.batch_loss(x, y)
ValueError: too many values to unpack (expected 2)
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.