-
Notifications
You must be signed in to change notification settings - Fork 9
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
Map area clipping issue #7
Comments
The area chosen contains most of the trajectories. As we mentioned in the paper, we only keep the urban area for training to save memory costs. The issue occurs since road segment #8988 does not fall inside the area. You can either remove these trajectories from your training dataset or revise the training area in |
Thank you for your advice. I have resolved the previous issues, but now I have encountered another bug. When I train the model, the following assertion throws a new error: if not (output == hidden).all():
import pdb
pdb.set_trace()
assert (output == hidden).all() Do you know why this error occurs? |
maybe the network contains NAN outputs, you can check where the NAN comes from. |
I have encountered the same error. I printed out the output, and it's all Nan. Did you found the solution yet? |
Please check the following things:
We are glad to dig into the issue with you guys. |
I followed your processing procedure to handle the Porto dataset, but when I ran it on RNTrajRec, I encountered a KeyError. It seems that the road segments corresponding to the trajectory points obtained using HMM are not within the specified area of the Porto road network (Not belong to the valid edge set). Have you encountered this situation before? How should I handle this?
Error Info:
Furthermore, I'm curious why you chose the area (41.111975, -8.667057, 41.177462, -8.585305)? Is it determined based on the latitude and longitude of the trajectory points in the training, validation, and test sets?
I look forward to receiving your assistance!
The text was updated successfully, but these errors were encountered: