-
Notifications
You must be signed in to change notification settings - Fork 43
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
some questions about preprocess_elect.py and data_loader.py #26
Comments
my 3rd question: https://github.com/ant-research/Pyraformer/blob/master/preprocess_elect.py#L58
so, the but in:
it's dropped from the training This is the same question I have here: #25 (comment) So the previous value of the raw input sequence value is not used at all in training? |
ok, for my question 3), I found: https://github.com/ant-research/Pyraformer/blob/master/data_loader.py#L443
which on
insert the Also, the implementation of is so different from in particular
Here, you didn't do the same to insert the |
Hi,
I have a few questions about preprocess_elect.py:
in prep_data():
v_input[:, 1]
is never used (read or write), so why you need this 2nd column?https://github.com/ant-research/Pyraformer/blob/master/preprocess_elect.py#L35
about x_input:
https://github.com/ant-research/Pyraformer/blob/master/preprocess_elect.py#L58
x_input[count, 1:, 0] from 1 onward, x_input contains the real raw input data, but
x_input[count, 0, 0]
is never assigned, so it will remain all 0s, which means it does not contain any real raw input data(https://github.com/ant-research/Pyraformer/blob/master/preprocess_elect.py#L67 this line for x_input[count, 0, 0] is also zero)
why don't you just drop all such
x_input[:, 0, :]
, since they are the wrong training data? and why you want to save it in the final train npy file?i.e. change https://github.com/ant-research/Pyraformer/blob/master/preprocess_elect.py#L72-L74 to
and I did some inspection of the saved train data, it's confirmed that they are all 0s:
The text was updated successfully, but these errors were encountered: