ย
smousavi05 / cred Goto Github PK
View Code? Open in Web Editor NEWCRED: A deep residual network of convolutional and recurrent units for earthquake signal detection
CRED: A deep residual network of convolutional and recurrent units for earthquake signal detection
parser.add_argument("--data_dir", dest='data_dir', default="../../STEAD/dataset6/waveforms_12_20_19.hdf5", type=str, help="Input file directory") #"../STEAD/dataset/waveforms.hdf5" "./input/20101001WHAR.hdf5"
There is no data in your upload and no information on where to get it from. Consequently, I am unable to reproduce your work presented in the paper.
Minor bugs:
Line 12: can't import Adam from keras, that is optimizer from tensorflow.keras not keras
you need to change to from tensorflow.keras.optimizers import Adam
Line 26: probem when importing from cred_utils (or importing cred_utils)
AttributeError: module 'keras.utils' has no attribute 'Sequence'
you need to change keras.utils.Sequence to tf.keras.utils.Sequence in lines 28 and 314 (in cred_utils.py) and probably add
import tensorflow as tf
I have been trying different versions of the packages in requirements.txt, and I have not had a result to run CRED. I would be grateful if you could tell me which versions you used.
Regards!
Hi!
You have some typos-bugs in requirements.txt, particularly in "Eras" (I guess you meant "keras") and versioning of cudatoolkit=9.0 (missing one "=") + you need to get it using e.g. conda since it's not available by pip.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.