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

Bias values of the model #1

Closed
keunwoochoi opened this issue Jul 2, 2016 · 2 comments
Closed

Bias values of the model #1

keunwoochoi opened this issue Jul 2, 2016 · 2 comments

Comments

@keunwoochoi
Copy link
Owner

import h5py
model_name = "vggnet5"
keras_filename = "vggnet5_local_keras_model_CNN_stft_11_frame_173_freq_257_folding_0_best.keras"

f = h5py.File(keras_filename)

In auralise.py, I only use param_0, which is weights. Bias values are in param_1

>>> f['layer_3']['param_0']
<HDF5 dataset "param_0": shape (64, 64, 3, 3), type "<f4">
>>> f['layer_3']['param_1']
<HDF5 dataset "param_1": shape (64,), type "<f4">
@aseemw
Copy link

aseemw commented Jul 12, 2016

Hi Keunwoo,

How have you learned these CNN weights? Which dataset and task have you used? '

Thanks,
Aseem

@keunwoochoi
Copy link
Owner Author

keunwoochoi commented Jul 12, 2016

I used a private dataset, some details are described in the paper - experiment section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants