Skip to content

Commit

Permalink
musegan formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidADSP committed Apr 15, 2023
1 parent 3d28172 commit dcfa044
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions notebooks/11_music/02_musegan/musegan.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
"data_binary = np.eye(N_PITCHES)[two_bars]\n",
"data_binary[data_binary == 0] = -1\n",
"data_binary = data_binary.transpose([0, 1, 2, 4, 3])\n",
"INPUT_DIM = data_binary.shape[1:]\n",
"print(f\"Data binary shape {data_binary.shape}\")"
]
},
Expand Down Expand Up @@ -325,7 +324,10 @@
"outputs": [],
"source": [
"def Critic():\n",
" critic_input = layers.Input(shape=INPUT_DIM, name=\"critic_input\")\n",
" critic_input = layers.Input(\n",
" shape=(N_BARS, N_STEPS_PER_BAR, N_PITCHES, N_TRACKS),\n",
" name=\"critic_input\",\n",
" )\n",
"\n",
" x = critic_input\n",
"\n",
Expand Down

0 comments on commit dcfa044

Please sign in to comment.