data images

This commit is contained in:
wassname
2020-11-01 16:30:13 +08:00
parent 4aa8b3a52e
commit 6aca4a7e1e
8 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class Seq2SeqDataSet(torch.utils.data.Dataset):
assert df.index.freq is not None, 'should have freq'
assert_no_objects(df)
self.freq = df.index.freq
self.freq = df.index.freq.freqstr
self.df = df.dropna(subset=columns_target).ffill()
self.window_past = window_past