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

Error ValueError: __len__() should return >= 0 #82

Open
Med-Rokaimi opened this issue Jun 12, 2023 · 2 comments
Open

Error ValueError: __len__() should return >= 0 #82

Med-Rokaimi opened this issue Jun 12, 2023 · 2 comments

Comments

@Med-Rokaimi
Copy link

I created my own sh file to run on my own dataset (4 features including the target) and I got this error
File "LTSF-Linear/exp/exp_main.py", line 42, in _get_data
data_set, data_loader = data_provider(self.args, flag) File "LTSF-Linear/data_provider/data_factory.py", line 46, in data_provider
print(flag, len(data_set))
ValueError: len() should return >= 0
Traceback (most recent call last):

@mixiancmx
Copy link
Contributor

Maybe you can make your dataset have the same format as the existing dataset.

@jcrucesdeveloper
Copy link

Maybe you can make your code extensible to different formats!!! :)

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

3 participants