sinadabiri / Transport-Mode-GPS-CNN

Inferring transportation modes from GPS trajectories using a Convolutional Neural Network
MIT License
45 stars 18 forks source link

Keras_Data_Creation.py #1

Open enjoysport2022 opened 6 years ago

enjoysport2022 commented 6 years ago

Since the output of Instance_Creation.py (step 3) is "Revised_InstanceCreation+NoJerkOutlier+NOSmoothing.pickle", and the input of Keras_Data_Creation.py (step 4) is "Revised_KerasData+NoJerkOutlier+NoSmoothing.pickle", It is not Iinconsistency. When I run the code of step 4, it show a error of "No such file 'Revised_KerasData+NoJerkOutlier+NoSmoothing.pickle' ". How can I fix it? thanks a lot.

sinadabiri commented 6 years ago

The output of Instance_Creation.py should be the input for the Keras_Data_Creation.py. So whatever name is used for the pickle dump in the last line of Instance_Creation.py should be exactly the same as the pickle name in the first line of Keras_Data_Creation.py. This is the general rule.

By the way, I am going to make names consistent.