Skip to content

Commit 97541f0

Browse files
committed
fix: update remote
1 parent 2bd9568 commit 97541f0

26 files changed

+2848
-439
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ docs/_build/
7474
# PyBuilder
7575
target/
7676

77+
pretrain/
78+
7779
# Jupyter Notebook
7880
.ipynb_checkpoints
7981

.pre-commit-config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ repos:
4747
- id: python-check-blanket-noqa
4848
- id: python-check-blanket-type-ignore
4949
- id: python-no-log-warn
50-
- id: python-no-eval
5150
- id: python-use-type-annotations
5251
- id: rst-backticks
5352
- id: rst-directive-colons

docs/notebooks/data/datamodule.ipynb

+31-54
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{
2929
"data": {
3030
"text/plain": [
31-
"<deeptime.data.datamodules.UcrDataModule at 0x26433d04610>"
31+
"<deeptime.data.datamodules.UcrDataModule at 0x1aec867b7c0>"
3232
]
3333
},
3434
"execution_count": 2,
@@ -44,6 +44,27 @@
4444
{
4545
"cell_type": "code",
4646
"execution_count": 3,
47+
"id": "9133162a-24f6-4bf0-8d45-4eed4e606537",
48+
"metadata": {},
49+
"outputs": [
50+
{
51+
"data": {
52+
"text/plain": [
53+
"500"
54+
]
55+
},
56+
"execution_count": 3,
57+
"metadata": {},
58+
"output_type": "execute_result"
59+
}
60+
],
61+
"source": [
62+
"data_module.sequence_length"
63+
]
64+
},
65+
{
66+
"cell_type": "code",
67+
"execution_count": null,
4768
"id": "0caf8d16-3dbd-4c44-9d1d-1f9d452fd284",
4869
"metadata": {},
4970
"outputs": [],
@@ -53,7 +74,7 @@
5374
},
5475
{
5576
"cell_type": "code",
56-
"execution_count": 4,
77+
"execution_count": null,
5778
"id": "2c6056fa-d373-4e79-b17d-167d6c9dba2e",
5879
"metadata": {},
5980
"outputs": [],
@@ -63,87 +84,43 @@
6384
},
6485
{
6586
"cell_type": "code",
66-
"execution_count": 6,
87+
"execution_count": null,
6788
"id": "c6d3ae00-6462-49ac-b699-df149c7934ce",
6889
"metadata": {},
69-
"outputs": [
70-
{
71-
"data": {
72-
"text/plain": [
73-
"<torch.utils.data.dataloader.DataLoader at 0x26433e350d0>"
74-
]
75-
},
76-
"execution_count": 6,
77-
"metadata": {},
78-
"output_type": "execute_result"
79-
}
80-
],
90+
"outputs": [],
8191
"source": [
8292
"train_loader = data_module.train_dataloader()\n",
8393
"train_loader"
8494
]
8595
},
8696
{
8797
"cell_type": "code",
88-
"execution_count": 8,
98+
"execution_count": null,
8999
"id": "fb2aecf3-1ccc-486a-8970-b198312c6fba",
90100
"metadata": {},
91-
"outputs": [
92-
{
93-
"data": {
94-
"text/plain": [
95-
"(torch.Size([32, 1, 500]), torch.Size([32]))"
96-
]
97-
},
98-
"execution_count": 8,
99-
"metadata": {},
100-
"output_type": "execute_result"
101-
}
102-
],
101+
"outputs": [],
103102
"source": [
104103
"x, y = next(iter(train_loader))\n",
105104
"x.shape, y.shape"
106105
]
107106
},
108107
{
109108
"cell_type": "code",
110-
"execution_count": 9,
109+
"execution_count": null,
111110
"id": "6ea1fc6b-b10a-4c3c-b759-6193a4eb7bf5",
112111
"metadata": {},
113-
"outputs": [
114-
{
115-
"data": {
116-
"text/plain": [
117-
"<torch.utils.data.dataloader.DataLoader at 0x26433e01af0>"
118-
]
119-
},
120-
"execution_count": 9,
121-
"metadata": {},
122-
"output_type": "execute_result"
123-
}
124-
],
112+
"outputs": [],
125113
"source": [
126114
"val_loader = data_module.val_dataloader()\n",
127115
"val_loader"
128116
]
129117
},
130118
{
131119
"cell_type": "code",
132-
"execution_count": 10,
120+
"execution_count": null,
133121
"id": "3a19acc7-0b74-4de1-bedc-65e4955964ce",
134122
"metadata": {},
135-
"outputs": [
136-
{
137-
"data": {
138-
"text/plain": [
139-
"(torch.Size([32, 1, 500]), torch.Size([32]))"
140-
]
141-
},
142-
"execution_count": 10,
143-
"metadata": {},
144-
"output_type": "execute_result"
145-
}
146-
],
123+
"outputs": [],
147124
"source": [
148125
"x, y = next(iter(val_loader))\n",
149126
"x.shape, y.shape"

0 commit comments

Comments
 (0)