Fix statefull RNN's validation set range
parent
7a551f5fb1
commit
de0f184265
|
@ -735,7 +735,8 @@
|
||||||
" return ds.map(lambda window: (window[:, :-1], window[:, 1:])).prefetch(1)\n",
|
" return ds.map(lambda window: (window[:, :-1], window[:, 1:])).prefetch(1)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"stateful_train_set = to_dataset_for_stateful_rnn(encoded[:1_000_000], length)\n",
|
"stateful_train_set = to_dataset_for_stateful_rnn(encoded[:1_000_000], length)\n",
|
||||||
"stateful_valid_set = to_dataset_for_stateful_rnn(encoded[:1_000_000], length)\n",
|
"stateful_valid_set = to_dataset_for_stateful_rnn(encoded[1_000_000:1_060_000],\n",
|
||||||
|
" length)\n",
|
||||||
"stateful_test_set = to_dataset_for_stateful_rnn(encoded[1_060_000:], length)"
|
"stateful_test_set = to_dataset_for_stateful_rnn(encoded[1_060_000:], length)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue