smousavi05 / EQTransformer

EQTransformer, a python package for earthquake signal detection and phase picking using AI.
https://rebrand.ly/EQT-documentations
MIT License
301 stars 148 forks source link

**OSError: Unable to open file (unable to open file: name = 'EqT_model.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)** #130

Closed Pragnath closed 2 years ago

Pragnath commented 2 years ago

i have the same issue that was already working in jupyter notebook but in google colab the error is not fixed even though i have mentioned the working directory

**from EQTransformer.core.predictor import predictor

predictor(input_dir= 'downloads_mseeds_processed_hdfs', input_model='/home/pragnath/EQTransformer/EqT_model.h5', output_dir='detections1', detection_threshold=0.3, P_threshold=0.1, S_threshold=0.1, number_of_plots=100, plot_mode='time')**

OSError: Unable to open file (unable to open file: name = 'EqT_model.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Originally posted by @Pragnath in https://github.com/smousavi05/EQTransformer/issues/37#issuecomment-1174548875

smousavi05 commented 2 years ago

@Pragnath are you using Mac or Windows? have you tried the SeisBench implementation of EqT?