-
Notifications
You must be signed in to change notification settings - Fork 93
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
clone下来后第一遍正常,运行第二遍generate_training_data.py就报错了,什么都没改 #90
Comments
I can't reproduce this error. Is there any more information? |
This seems to be an issue with easytorch. You can try to delete all the "__ pycache __" and ".ipynb_checkpoints" folders in the directories. |
Thanks for the clue, is there any way to reproduce it? |
I met the same problem when using jupyterlab terminal. I modified some files in basicts/data and saved the changes, which I think may impact the cache in some way. Then I saw this bug. I solved it with the method above. |
Thanks for the details! I'll try to fix it later. |
No problem. Thanks for fixing! |
Thanks to @yuqinie98 for providing a clue on how to reproduce this error.
Hi everyone, thank you for your suggestions. This issue should have been fixed in the latest commit 0af86ed. |
Now it works well, thanks! |
Traceback (most recent call last):
File "generate_training_data.py", line 12, in
from basicts.data.transform import standard_transform
File "/nfs/project/chenao/pythonProject/idt_predict/BasicTSCode/basicts/init.py", line 2, in
from .runners import BaseRunner
File "/nfs/project/chenao/pythonProject/idt_predict/BasicTSCode/basicts/runners/init.py", line 2, in
from .base_tsf_runner import BaseTimeSeriesForecastingRunner
File "/nfs/project/chenao/pythonProject/idt_predict/BasicTSCode/basicts/runners/base_tsf_runner.py", line 11, in
from ..data import SCALER_REGISTRY
File "/nfs/project/chenao/pythonProject/idt_predict/BasicTSCode/basicts/data/init.py", line 12, in
scan_modules(project_dir, file, ["init.py", "registry.py"])
File "/home/luban/anaconda3/lib/python3.8/site-packages/easytorch/utils/registry.py", line 109, in scan_modules
return [importlib.import_module(f'{import_prefix}.{file_name}') for file_name in model_file_names]
File "/home/luban/anaconda3/lib/python3.8/site-packages/easytorch/utils/registry.py", line 109, in
return [importlib.import_module(f'{import_prefix}.{file_name}') for file_name in model_file_names]
File "/home/luban/anaconda3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'basicts.data.'
The text was updated successfully, but these errors were encountered: