Closed hana9090 closed 5 years ago
I don't think you generated the data right. The data should have shape (N=samples, horizon=12, nodes=207, features=2) it looks like you only generated the data for 1 sensor.
This is my df data:
I used this script to generate .h5 data.
from pandas import (
DataFrame, HDFStore
)
import pandas as pd
import numpy as np
# creating a HDF5 file
store = HDFStore('data/dataset3.h5')
# adding dataframe to the HDF5 file
store.put('d1', df, format='table') #, data_columns=True)
store.close()
From the link you provide.
@hana9090
Hey I am facing the same issue, were you able to resolve?
Hi @hana9090 , as mentioned by @razvanc92 , the format of the data does not match. Besides, the pre-trained model is only expected to do inference on traffic data. Thus, even the format fit, the model will probably not generate a good results for the dataset you mentioned. You may have to prepare the problem-specific training data, and train the model from scratch.
after generate train/test for my data which simply contains two columns ( Date, price). I got this information about the training and testing data:
But after running Run the Pre-trained Model, I got the following exception:
Is there anything to do to solve this? Thanks