Skip to content

[MusicBERT] Issue on running gen_genre.py #211

@somejingyu

Description

@somejingyu

I have set up the environment and prepared the lmd_full.zip file.
Then I tried to run gen_genre.py, entering the required subset name, the path to lmd_full.zip, and the sequence length as specified in the code. However, I encountered a large number of errors similar to the following:

ERROR(READ): lmd_full/0/0435c5ba618a4e13d66e233b900aa7c5.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/b/baffbc273463f3e89f006378670e50be.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/0/0d17ce8e8763def843e35c6e6049780a.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/2/271f161feed36e63f206094318ff7137.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/c/c3452810f1d9c64fd0730eed2252ed98.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/7/754b08511374a251f36944e91555960d.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/3/33a2719e14d5a9ee7ffebc3665e58c79.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/9/9704d1821a42da4ab04bb7dbc92a0910.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/4/44bf5723409d89af4ddad7e58e9e9e57.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/3/3afaf3d878b8e9c7f7d0636680ca4fe1.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/f/f9b22373e95e52fd734aff6abe2b64f4.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/f/faf81d2a62a1119ccce24ed65b4fc608.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/f/f80980f7e9972080b31a3e6383763272.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/8/84426170c243f2d81854ff237c4f5ccd.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/d/d97ddec0b873158a1dc750e647851bbe.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/6/664282902e652d581504f8f19a0310f0.mid 'NoneType' object has no attribute 'open'
ERROR(READ): lmd_full/5/59960b34de41b9558365862d144574a2.mid 'NoneType' object has no attribute 'open'

Why is this happening?

我配置好了环境,并准备好了lmd_full.zip文件。
之后我试图运行gen_genre.py,按照代码要求输入了subset名称、lmd_full.zip的地址、以及sequence length,但是弹出了大量类似上面这样的错误。
请问这是为什么?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions