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

Update HW02.ipynb #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions HW02/HW02.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -371,20 +371,21 @@
"cell_type": "code",
"source": [
"# data prarameters\n",
"concat_nframes = 1 # the number of frames to concat with, n must be odd (total 2k+1 = n frames)\n",
"concat_nframes = 19 # the number of frames to concat with, n must be odd (total 2k+1 = n frames)\n",
"train_ratio = 0.8 # the ratio of data used for training, the rest will be used for validation\n",
"\n",
"# training parameters\n",
"seed = 0 # random seed\n",
"batch_size = 512 # batch size\n",
"batch_size = 2048 # batch size\n",
"num_epoch = 5 # the number of training epoch\n",
"early_stopping=8
"learning_rate = 0.0001 # learning rate\n",
"model_path = './model.ckpt' # the path where the checkpoint will be saved\n",
"\n",
"# model parameters\n",
"input_dim = 39 * concat_nframes # the input dim of the model, you should not change the value\n",
"hidden_layers = 1 # the number of hidden layers\n",
"hidden_dim = 256 # the hidden dim"
"hidden_layers = 3 # the number of hidden layers\n",
"hidden_dim = 1024 # the hidden dim"
],
"metadata": {
"id": "iIHn79Iav1ri"
Expand Down Expand Up @@ -958,4 +959,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}