liyaguang / DCRNN

Implementation of Diffusion Convolutional Recurrent Neural Network in Tensorflow
MIT License
1.19k stars 394 forks source link

scaler transform in load_dataset function Causing speed data negative #67

Closed HYTYH closed 3 years ago

HYTYH commented 3 years ago

In load_dataset function shown below: image Line 187 and 188, I'm confused these 2 lines may cause negative speed data. And then I try to print the data in the dataloader in training process: (pytorch implement in dcrnn_supervisor.py) image I found a lot of speed data is negative: (As shown below) image The first column represent the speed and the second column is time. Since loss function compute the mask after the scaler tranform operation, I think some of data input to the model are possibly wrong. I hope to get answer to my question