Open 54ycc opened 2 years ago
After I checked, the run.py file had been deleted. in this link: https://github.com/AI4EPS/PhaseNet/commit/4f0ce5fb91e292576c488af3b57d09b62a98c930
So, i change the command to be like this: python phasenet/predict.py --mode=pred --model_dir=model/190703-214543 --data_dir=demo/mseed --data_list=demo/fname.csv --result_dir=output --batch_size=20 --format=mseed
Check figures of waveform and predictions: python phasenet/predict.py --mode=pred --model_dir=model/190703-214543 --data_dir=demo/mseed --data_list=demo/fname.csv --result_dir=output --plot_figure --batch_size=20 --format=mseed
and it works!
Sorry, I no longer use that file. You can check this notebook: https://ai4eps.github.io/PhaseNet/example_batch_prediction/
python: can't open file 'run.py': [Errno 2] No such file or directory there is no 'run.py' now, maybe need change to 'predict.py' btw : your software so cool