Skip to content

Commit

Permalink
fixes #379
Browse files Browse the repository at this point in the history
  • Loading branch information
“oguiza” committed Jan 23, 2022
1 parent 683aad4 commit 6baf0ba
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 68 deletions.
65 changes: 11 additions & 54 deletions nbs/052_learner.ipynb

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions nbs/052a_inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@
"text/plain": [
"(TSTensor(vars:30, len:4, device=cpu),\n",
" None,\n",
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'))"
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -153,9 +153,9 @@
"(TSTensor(vars:30, len:4, device=cpu),\n",
" TensorCategory([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,\n",
" 3, 3, 3, 3, 3, 3]),\n",
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'))"
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -189,13 +189,13 @@
"(TSTensor(vars:30, len:4, device=cpu),\n",
" TensorCategory([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,\n",
" 3, 3, 3, 3, 3, 3]),\n",
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'),\n",
" TensorBase([1.4478, 1.4478, 1.4480, 1.4479, 1.4479, 1.2672, 1.2672, 1.2671, 1.2671,\n",
" 1.2672, 1.2671, 1.2669, 1.2672, 1.2671, 1.4285, 1.4285, 1.4285, 1.4286,\n",
" 1.4121, 1.4121, 1.4122, 1.4121, 1.4122, 1.4121, 1.4122, 1.4122, 1.4122,\n",
" 1.4121, 1.4122, 1.4120]))"
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'),\n",
" TensorBase([1.3874, 1.3874, 1.3874, 1.3874, 1.3874, 1.3708, 1.3708, 1.3708, 1.3708,\n",
" 1.3708, 1.3708, 1.3708, 1.3708, 1.3708, 1.4503, 1.4504, 1.4504, 1.4504,\n",
" 1.3399, 1.3399, 1.3399, 1.3399, 1.3399, 1.3399, 1.3399, 1.3399, 1.3399,\n",
" 1.3399, 1.3398, 1.3399]))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -237,7 +237,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
}
Expand Down
Binary file modified nbs/models/test.pth
Binary file not shown.

0 comments on commit 6baf0ba

Please sign in to comment.