Skip to content

Commit

Permalink
Pass dataroot to get_prediction_challenge_split() in baseline_model_i…
Browse files Browse the repository at this point in the history
…nference (#761)

Pass dataroot to get_prediction_challenge_split() in baseline_model_inference.
  • Loading branch information
gnsJhenJie authored May 9, 2022
1 parent 7f99a2a commit 28765b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main(version: str, data_root: str,

nusc = NuScenes(version=version, dataroot=data_root)
helper = PredictHelper(nusc)
dataset = get_prediction_challenge_split(split_name)
dataset = get_prediction_challenge_split(split_name, dataroot=data_root)
config = load_prediction_config(helper, config_name)
oracle = PhysicsOracle(config.seconds, helper)
cv_heading = ConstantVelocityHeading(config.seconds, helper)
Expand Down

0 comments on commit 28765b8

Please sign in to comment.