-
Notifications
You must be signed in to change notification settings - Fork 119
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
Number of elements does not match error for the test_data set #78
Comments
Maybe you could add --batch_size=1. |
Thanks very much for the reply. This suggestion works fine and right now I can run the test_data set. Another question is that the test data (waveform) has a length of 18000 points. The trained model is based on data sets with 3000 points and my data set has another different number of points in each seismic file. Can the prediction model still apply to my datasets and should I change the format of the datasets? |
Yes, you can use 1 component data, but the performance will reduce, particular for S wave. |
When I tried the test_data sac.csv and sac folder files, I encountered the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError:Cannot add tensor to the batch: number of elements does not match. Shapes are: [tensor]: [18001,1,3],batch]: [180001,3]
How to solve this error problem? Is it because the input sac file contains only 18000 points?
Another question is whether this trained model fits for other seismic waveform containing different numbers of data points? I read from the paper that the model is trained under the waveform of 3000 points(30s and 100Hz)?
The text was updated successfully, but these errors were encountered: