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

ImportError: cannot import 'load_specific_dataset' from 'pypots.data' #474

Closed
1 of 2 tasks
MianchuWang opened this issue Jul 25, 2024 · 3 comments
Closed
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@MianchuWang
Copy link

MianchuWang commented Jul 25, 2024

1. System Info

When I import the function with

from pypots.data import load_specific_dataset

It shows

ImportError: cannot import name 'load_specific_dataset' from 'pypots.data'

I checked the source code and I didn't find a function named load_specific_dataset in the directory of pypots.data.

There may be something wrong.

2. Information

  • The official example scripts
  • My own created scripts

3. Reproduction

from pypots.data import load_specific_dataset

4. Expected behavior

It should successfully load the dataset:

data = load_specific_dataset('physionet_2012')

@MianchuWang MianchuWang added the bug Something isn't working label Jul 25, 2024
Copy link

Hi there 👋,

Thank you so much for your attention to PyPOTS! You can follow me on GitHub
to receive the latest news of PyPOTS. If you find PyPOTS helpful to your work, please star⭐️ this repository.
Your star is your recognition, which can help more people notice PyPOTS and grow PyPOTS community.
It matters and is definitely a kind of contribution to the community.

I have received your message and will respond ASAP. Thank you for your patience! 😃

Best,
Wenjie

@MianchuWang MianchuWang changed the title ImportError: cannot import name 'load_specific_dataset' from 'pypots.data' ImportError: cannot import 'load_specific_dataset' from 'pypots.data' Jul 25, 2024
@MianchuWang
Copy link
Author

MianchuWang commented Jul 25, 2024

I solves the issue by downgrade the version to 0.6 pip install pypots==0.6

@WenjieDu
Copy link
Owner

WenjieDu commented Jul 25, 2024

Thanks for reporting this, Mianchu. Yes, since the release of BenchPOTS, we've been trying to deprecate detailed processing functions in PyPOTS lib. We'll fix this bug in the next minor version. Still, please use BenchPOTS to help preprocess the datasets. We'll update our tutorials as well recently.

If our work is helpful to you, please star our work to make more people notice it ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants