-
Notifications
You must be signed in to change notification settings - Fork 118
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
example doesn't run #34
Comments
Hi, could you install keras and try it again? |
Sorry, I have not tested the code in windows. You can search online to find how to fix this error. |
Thanks. |
Thanks @yunshanbai! |
Hi, Could you share the errors you met running in Windows and how you fix these errors? @cacity |
You need to install pymongo (although I do not use it anymore): pip install pymongo |
@zhuwq0 I did but still got an error, FileNotFoundError: [Errno 2] No such file or directory: 'test_data/mseed.csv' Here are the steps, I adopted to install the Phasenet git clone https://github.com/wayneweiqiang/PhaseNet.git command I am using to run phasenet python phasenet/predict.py --model=model/190703-214543 --data_list=test_data/mseed.csv --data_dir=test_data/mseed --format=mseed --plot_figure |
You need to download the test data following the README file. |
@zhuwq0 thanks it works now, .. just one thing more if i want to run phasenet on my own data do i suppose to replace this data file with my own data, only or anything else also required. |
The operating environment is win10 , miniconda , python3.7,
run conda env create -f env.yml
conda activate phasenet
run
python phasenet/predict.py --model=model/190703-214543 --data_list=test_data/npz.csv --data_dir=test_data/npz --format=numpy --plot_figure
result is
The text was updated successfully, but these errors were encountered: