NX-AI / xlstm

Official repository of the xLSTM.
https://www.nx-ai.com/
Apache License 2.0
1.42k stars 101 forks source link

ModuleNotFoundError: No module named 'experiments' #45

Open skzxc00 opened 3 months ago

skzxc00 commented 3 months ago

There is always a problem when training experiment scripts:ModuleNotFoundError: No module named 'experiments'. Have you ever encountered such an error?

Adapter525 commented 3 months ago

from ...metrics import SequenceAccuracy ImportError: attempted relative import beyond top-level package

kpoeppel commented 1 month ago

pip install experiments should probably fix the issue

Do not do that.

kpoeppel commented 1 month ago

Should be fixed now by adding an init.py in the experiments folder.

Majorry commented 2 weeks ago

@SajayR @Adapter525 @skzxc00 Put the main function at the same level as experiments!!!!!!!!

rcj1 commented 1 week ago

Include the following in pyproject.toml:

[tool.setuptools.packages] find = { include = ["xlstm", "experiments"] }