BATraj-Behavior-aware-Model icon indicating copy to clipboard operation
BATraj-Behavior-aware-Model copied to clipboard

HighD preprocess script does not run as described

Open IndefiniteBen opened this issue 11 months ago • 5 comments

The readme file says to put the data in the same folder as HighD_preprocess.m and then run this script. However, this script is a function that has a number of undocumented and required inputs.

This is the definition of the function in this file:

function [] = preprocess(path, historical_length, future_length, number_of_agents, max_vertical_distance, extra_feature_index)

As can be seen, the function name does not match the file name (which causes warnings) but the bigger problem is the number of inputs it requires that are not documented.

When running with insufficient inputs I get this error:

Not enough input arguments.

Error in HighD_preprocess (line 36)
    if ~isempty(extra_feature_index)

What do these inputs change? What are their units? What values should be used in the process of replicating the paper results?

IndefiniteBen avatar Mar 13 '24 15:03 IndefiniteBen