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

issue about ValueError #150

Open
panxiaoyuandbishe opened this issue Apr 1, 2023 · 3 comments
Open

issue about ValueError #150

panxiaoyuandbishe opened this issue Apr 1, 2023 · 3 comments

Comments

@panxiaoyuandbishe
Copy link

Hello Dr.Mousavi,
I have two problems. Recently, when I use EQTransformer to process the data I downloaded, I always encounter the same error, ValueError(not enough values to unpack (expected 3, got 0)), this error appears in the model.predict_generator function of mseed-predictior(line315). The format of the mseed file is correct, and the input values ​​before the error appear also exist. I also tried changing the time length of the data, but always the same error.
Another problem is how the attention distribution map that appears in the article is drawn. I'm new to the field of deep learning, and I'm very unfamiliar with these visualizations. The information provided on the Internet has not been able to provide effective help.
Can you give some suggestions?

@smousavi05
Copy link
Owner

@panxiaoyuandbishe this is a version issue. I need to know how you have installed EqT and on which type of machine, mac or windows?
The second question is a bit more complicated. You need to extract the attention weights from the model and then do some sort of post-processing/stacking to get the attention map.

@panxiaoyuandbishe
Copy link
Author

Thanks for your reply. I have Obspy installed on my machine so I get EQTransformer through PyPI. And the machine I use is Windows.

@smousavi05
Copy link
Owner

Try installing EqT directly from Github repo. Other versions won't work on Windows. @panxiaoyuandbishe

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