You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Dr. Zhu,
I was trying this on my M1 Macbook and found the following error. I am not an advanced user by any means. However, I added torch.device('cpu') to EQNet-master/predict.py and searched args.device and in each function added args.device = 'cpu' to use cpu instead of GPU.
File "/Users/arifislam/miniconda3/envs/obspy/lib/python3.10/site-packages/torch/cuda/__init__.py", line 289, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
It is running now but no picks or polarities (which is my main concern) are being produced.
WARNING:root:Resampling WR.NWFF..HNZ from 200.0 to 100 Hz
Predicting: 100%|██████████| 47/47 [02:20<00:00, 2.98s/it]
Merging picks_phasenet_plus: 0it [00:00, ?it/s]
Merging events_phasenet_plus: 0it [00:00, ?it/s]
Number of picks: 0
Number of event x station: 0
Hopefully that helps for future versions.
The text was updated successfully, but these errors were encountered:
Hello Dr. Zhu,
I was trying this on my M1 Macbook and found the following error. I am not an advanced user by any means. However, I added
torch.device('cpu')
toEQNet-master/predict.py
and searched args.device and in each function addedargs.device = 'cpu'
to use cpu instead of GPU.File "/Users/arifislam/miniconda3/envs/obspy/lib/python3.10/site-packages/torch/cuda/__init__.py", line 289, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
It is running now but no picks or polarities (which is my main concern) are being produced.
Hopefully that helps for future versions.
The text was updated successfully, but these errors were encountered: