Open
Description
Hello developers,
I was using the EQTransformer and going through the way as you have described in your Installation Process. And installed the below given version.
pip show EQTransformer
Name: EQTransformer
Version: 0.1.59
Summary: A python package for making and using attentive deep-learning models for earthquake signal detection and phase picking.
Home-page: https://github.com/smousavi05/EQTransformer
Author: S. Mostafa Mousavi
Author-email: smousavi05@gmail.com
License: MIT
Location: c:\users\csio\anaconda3\envs\eqt\lib\site-packages
Requires: h5py, jupyter, keras, keyring, matplotlib, obspy, pandas, pkginfo, pytest, scipy, tensorflow, tqdm
Required-by:
Note: you may need to restart the kernel to use updated packages.
Now I was going through the tutorial and after successfully Downing the continuous data
, I was facing some problem in Detection and picking
process as i run the following command
from EQTransformer.core.predictor import predictor
predictor(input_dir= 'downloads_mseeds_processed_hdfs', input_model='EqT_model.h5', output_dir='detections', detection_threshold=0.3, P_threshold=0.1, S_threshold=0.1, number_of_plots=100, plot_mode='time')
using input_model = EqT_origingal_model.h5 downloaded the file from the github and give it's path in the input_model.
Main Problem Output which comes after execting the above command -
runcell(4, 'D:/prashant_trainee_2k25/italy_data_mseed/untitled2.py')
2025-06-11 12:06:09.054294: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2025-06-11 12:06:09.054362: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
============================================================================
Running EqTransformer 0.1.59
*** Loading the model ...
2025-06-11 12:06:11.449103: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2025-06-11 12:06:11.449135: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2025-06-11 12:06:11.451951: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-HTN58T7
2025-06-11 12:06:11.451989: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DESKTOP-HTN58T7
2025-06-11 12:06:11.452236: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2025-06-11 12:06:11.457266: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2d94354d8d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2025-06-11 12:06:11.457282: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
*** Loading is complete!
============================================================================
*** D:\EQTtut\detections already exists!
--> Type (Yes or y) to create a new empty directory! otherwise it will overwrite! y
######### There are files for 3 stations in D:\EQTtut\downloads_mseeds_processed_hdfs directory. #########
========= Started working on B921, 1 out of 3 ...
0%| | 0/9 [00:00<?, ?it/s]WARNING:tensorflow:multiprocessing can interact badly with TensorFlow, causing nondeterministic deadlocks. For high performance data pipelines tf.data is recommended.
2025-06-11 12:06:20.138797: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2025-06-11 12:06:20.138819: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[2025-06-11 12:06:28,693] - obspy.clients.fdsn.mass_downloader - INFO: Initializing FDSN client(s) for SCEDC, IRIS.
[2025-06-11 12:06:32,207] - obspy.clients.fdsn.mass_downloader - INFO: Successfully initialized 2 client(s): SCEDC, IRIS.
.
.
.
.
.
.
.
.
.
.
.
.
[2025-06-11 12:08:06,772] - obspy.clients.fdsn.mass_downloader - INFO: Client 'IRIS' - Acquired 0 StationXML files [0.0 MB].
[2025-06-11 12:08:06,772] - obspy.clients.fdsn.mass_downloader - INFO: Downloaded 9.1 MB in total.
Exception in thread Thread-7:
Traceback (most recent call last):
File "C:\Users\csio\anaconda3\envs\eqt\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\csio\anaconda3\envs\eqt\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\csio\anaconda3\envs\eqt\lib\site-packages\tensorflow\python\keras\utils\data_utils.py", line 860, in _run
with closing(self.executor_fn(_SHARED_SEQUENCES)) as executor:
File "C:\Users\csio\anaconda3\envs\eqt\lib\site-packages\tensorflow\python\keras\utils\data_utils.py", line 839, in pool_fn
initargs=(seqs, None, get_worker_id_queue()))
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\context.py", line 119, in Pool
context=self.get_context())
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\pool.py", line 177, in __init__
self._repopulate_pool()
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\pool.py", line 238, in _repopulate_pool
self._wrap_exception)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\pool.py", line 257, in _repopulate_pool_static
w.start()
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\csio\anaconda3\envs\eqt\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="__mp_main__")
File "C:\Users\csio\anaconda3\envs\eqt\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\csio\anaconda3\envs\eqt\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\csio\anaconda3\envs\eqt\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "d:\prashant_trainee_2k25\italy_data_mseed\untitled2.py", line 27, in <module>
preprocessor(preproc_dir=r"D:\EQTtut", mseed_dir=r"D:\EQTtut\downloads_mseeds", stations_json=json_basepath, overlap=0.3, n_processor=2)
File "C:\Users\csio\anaconda3\envs\eqt\lib\site-packages\EQTransformer\utils\hdf5_maker.py", line 82, in preprocessor
inp = input(" * --> Do you want to creat a new empty folder? Type (Yes or y) ")
EOFError: EOF when reading a line
GS--CA06
GS--CA10
PB--B921
ZY--SV08
####### There are 4 stations in the list. #######
======= Working on CA06 station.
======= Working on CA10 station.
** done with --> CA10 -- GS -- 2019-09-01
** done with --> CA06 -- GS -- 2019-09-01
** done with --> CA06 -- GS -- 2019-09-02
** done with --> CA10 -- GS -- 2019-09-02
======= Working on B921 station.
======= Working on SV08 station.
** done with --> B921 -- PB -- 2019-09-01
** done with --> SV08 -- ZY -- 2019-09-01
** done with --> SV08 -- ZY -- 2019-09-02
** done with --> B921 -- PB -- 2019-09-02
*** " D:\EQTtut\downloads_mseeds_processed_hdfs " directory already exists!
* --> Do you want to creat a new empty folder? Type (Yes or y)
At this point I am unable to type (yes or y) in the terminal ..
Can @smousavi05 you Please tell me what is the problem occuring while running it as I have tried my ways ....
Metadata
Metadata
Assignees
Labels
No labels