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

ModuleNotFoundError #1

Open
YtkMAEDA opened this issue Oct 11, 2024 · 4 comments
Open

ModuleNotFoundError #1

YtkMAEDA opened this issue Oct 11, 2024 · 4 comments

Comments

@YtkMAEDA
Copy link

I have a trouble with an Error Message as follows:
File "inference.py", line 6, in
from tests import static
ModuleNotFoundError: No module named 'tests'

Please kindly suggest me to overcome the trouble.

(From [email protected])

@Tsung-Ping
Copy link
Owner

Hi,
I uploaded the file temp_notes.csv used for inference. Please load this file directly with read_csv().

@YtkMAEDA
Copy link
Author

YtkMAEDA commented Oct 16, 2024 via email

@Tsung-Ping
Copy link
Owner

Dr. Yutaka Maeda,

Would you please correct the lookup table as shown below and see whether it works well?

def _convert_beat_type_naming(beat_type):
        beat_type_naming_lookup = {
            "whole": "1th",
            "half": "2th",            
            "eighth": "8th",
            "quarter": "4th",
            "32nd": "32th",
        }
      return beat_type_naming_lookup.get(beat_type, beat_type)

@Tsung-Ping Tsung-Ping reopened this Oct 16, 2024
@YtkMAEDA
Copy link
Author

YtkMAEDA commented Oct 16, 2024 via email

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