-
Notifications
You must be signed in to change notification settings - Fork 3
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
Preprocessing script for NGSIM data #3
Comments
Apologies, I was mistaken. There is a script for NGSIM data: preprocess_data_.m My confusion came from using the "Export" button on the NGSIM data website which produces CSVs. On the NGSIM data catalog page you need to download the attachments:
Extract the text files from the
The script did not work until I changed L159 to be:
|
However, when I tried to use the created mat files for training I got this error:
I added |
same problem!Did you solve it? |
Yes. I wrote how in my comments...
|
It seems like you're having trouble executing the HLTP code. Could you provide a screenshot of the specific lines of code where the error occurs? We tested it before uploading and it worked fine for us. This will help us understand the issue better and assist you accordingly. |
I think I've detailed it in my other comments, but I can do you even better, here is a link to the specific line:
When the
I therefore changed this line to |
Additionally (perhaps I should make a separate issue), I discovered after I tried to use the generated MAT file with
I think either you use an older version of MATLAB or have set your default MAT-file format to v7. Modern releases of MATLAB by default save their MAT file as v7.3 which is incompatible with your The solution to this is to explicitly save the Train/Test/ValSet MAT files at v7, this way it doesn't matter what version of MATLAB is being used or what settings a user has chosen. For example, change line 190 in |
I'm trying to reproduce your results.
Can you please share a script for converting the NGSIM csv/txt data to the MAT format this repo expects?Edit: conversion script exists, see my next comment.I tried using the files from BATraj NGSIM release but when I run
python evaluate_teacher.py
I get the following error:I get the same error if I fix the paths and try to run
evaluate_teacher.py
.The text was updated successfully, but these errors were encountered: