Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keras Layer compatibility #3

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Jul 26, 2021

  1. Upgrade to tensorflow 2.0 & make module

    Use upgrade script then remediated code using v1.compatibility
    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    be771d8 View commit details
    Browse the repository at this point in the history
  2. Create __init__.py

    make pip installable as a module
    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    83a4412 View commit details
    Browse the repository at this point in the history
  3. Create setup.py

    make pip installable
    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    a6aea43 View commit details
    Browse the repository at this point in the history
  4. Update setup.py

    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    56e13f8 View commit details
    Browse the repository at this point in the history
  5. Update cwt_demo.ipynb

    Import CWT package from git hub and use tensorflow 2.0 calling methods
    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    0975a27 View commit details
    Browse the repository at this point in the history
  6. Update README.md

    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    350af44 View commit details
    Browse the repository at this point in the history
  7. Update setup.py

    Kevin-McIsaac committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    bc96e0b View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Magnitude output option

    To simplify and speed up calculations, include new option to output as 3 channels of Magnitude
    Kevin-McIsaac committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    2c6c95d View commit details
    Browse the repository at this point in the history
  2. Keras Layer compatability

    Make compatible with Keras Layer so it can be used in a  Keras model, e.g., 
    
        tf.keras.Sequential([ComplexMorletCWT(lower_freq = 20, upper_freq = 500, n_scales = 64, stride=64, 
                                                wavelet_width = 16, fs=2042, output='Magnitude'),
                                 efn.EfficientNetB4(include_top=False,weights='imagenet'),
                                 L.GlobalAveragePooling2D(),
                                 L.Dense(32,activation='relu'),
                                 L.Dense(1, activation='sigmoid')])
    Kevin-McIsaac committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    693d8d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    433a6e5 View commit details
    Browse the repository at this point in the history