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

MATLAB process_LA_data error #27

Closed
BrutalCaeser opened this issue Jun 2, 2022 · 1 comment
Closed

MATLAB process_LA_data error #27

BrutalCaeser opened this issue Jun 2, 2022 · 1 comment

Comments

@BrutalCaeser
Copy link

I tried running the LA data file but it gives error
Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in process_LA_data (line 23)
trainprotocol = textscan(trainfileID, '%s%s%s%s%s');

I am new at matlab and this seems like a stupid error. Kindly help me on this.

@yzyouzhang
Copy link
Owner

Thanks for your question. Did you try printing the path to the file and check whether the file is there?
I changed the filename "xxx.cm.train.trn.txt" to "xxx.cm.train.trl.txt". to make it consistent with dev and eval. Maybe this could cause that the textscan cannot find your training protocol.
If you prefer a python version of feature extraction, please refer to preprocess.py in our new repo for the follow-up work https://github.com/yzyouzhang/Empirical-Channel-CM.
Thanks.

@yzyouzhang yzyouzhang pinned this issue Oct 21, 2022
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