Comments (6)
Hi,
I have run the code with the sample electricity dataset and there is no problem.
If you use your original dataset, please set "target_dim" in exe_forecasting.py.
from csdi.
Hi,
I have the same error as follows:
TypeError: embedding(): argument 'indices' (position 2) must be Tensor, not NoneType
I use the electricity dataset here.
It seems that the feature_id here is None and the embed_layer can not accept a None as input.
I am not sure if it matches the original intent of the authors.
from csdi.
I am having the same problem, using the electricity dataset provided
from csdi.
Hi all,
Sorry for the inconvenience.
I have understood the issue and fixed the code.
from csdi.
@y-tashi I can confirm that it is working now.
However, I am getting weird results when predicting. I get inf and all the computed losses are nan. I looked a bit in the results and they seem to blow up more and more from sample to sample.
I am running the model on 'mps' device, which is the GPU provided by apple on their Macbook Ms and I am suspecting that is where the error is coming from.
If anyone has encounterd this problem and identified any possible solutions, that would be a life saver as I am trying to write my Masters thesis and I don't have a Nvidia GPU.
I am also obtaining this type of results when predicting using TimeGrad model as well.
from csdi.
OK, so I ran it on cpu and indeed I stop getting inf and nan values. Any idea what (maybe a particular pytorch module like LayerNorm or smth) is causing mps to blow up? I am thinking I could rewrite the module and maybe than it will work.
from csdi.
Related Issues (13)
- No “featureemb” in Config.json HOT 1
- Reproduction experiments HOT 2
- The google drive link is broken HOT 1
- Hi HOT 1
- Explanation of forecasting work
- DEformer-like model achieves 0.216 MAE on 10% missing healthcare dataset HOT 2
- Implementation of CSDI for time series forecasting HOT 4
- The question of CRPS metric HOT 1
- Time series Forecasting example with test pattern strategy HOT 2
- difference between deterministic imputation and interpolation HOT 1
- testing time HOT 2
- square root for the second coefficient HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csdi.