Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timegrad error on wiki data #176

Open
jiajinghu19 opened this issue Oct 31, 2024 · 1 comment
Open

Timegrad error on wiki data #176

jiajinghu19 opened this issue Oct 31, 2024 · 1 comment

Comments

@jiajinghu19
Copy link

I am running the Time-Grad-Electricity.ipynb notebook on wiki data and got an error below.

RuntimeError: input.size(-1) must be equal to input_size. Expected 28611, got 6006

Is it because wiki data has 9000+ dimension and train_grouper = MultivariateGrouper(max_target_dim=min(2000, int(dataset.metadata.feat_static_cat[0].cardinality))) cut it into 2000?

@kashif
Copy link
Collaborator

kashif commented Oct 31, 2024

right depends on several things but yes that could be one reason... have a look at this example that calculates the input size based on the dataset: https://github.com/kashif/time_match/blob/main/Time-Grad-Solar.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants