Skip to content

Commit 12939e8

Browse files
committed
Progress
1 parent fc702d8 commit 12939e8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

keras-audio/audio.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 9,
5+
"execution_count": 2,
66
"metadata": {},
77
"outputs": [],
88
"source": [

keras-audio/audio_utilities.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import math
1313
import matplotlib
1414
import subprocess
15-
matplotlib.use("Agg")
1615

1716
# Author: Brian K. Vogel
1817

keras-autoencoder/conditional_vae.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import plotly.graph_objs as go
1010
import plotly.plotly as py
1111
from sklearn import manifold
12+
from sklearn.decomposition import PCA
1213
import matplotlib.pyplot as plt
1314
import pdb
1415
import os
@@ -136,7 +137,8 @@ def on_epoch_end(self, epoch, logs):
136137
else:
137138
latent = encoder.predict([X_test[tsne_idx], y_test[tsne_idx]])
138139
# Compute t-SNE embedding of latent space
139-
tsne = manifold.TSNE(n_components=2, init='pca', random_state=0)
140+
# tsne = manifold.TSNE(n_components=2, init='pca', random_state=0)
141+
tsne = PCA(n_components=2)
140142
X = tsne.fit_transform(latent)
141143
X_tsne = X
142144
trace = go.Scatter(x=list(X_tsne[:, 0]), y=list(X_tsne[:, 1]),

keras-cnn/convolution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"name": "python",
7272
"nbconvert_exporter": "python",
7373
"pygments_lexer": "ipython3",
74-
"version": "3.6.6"
74+
"version": "3.6.4"
7575
}
7676
},
7777
"nbformat": 4,

0 commit comments

Comments
 (0)