GithubHelp home page GithubHelp logo

mczhi / predictive-decision Goto Github PK

View Code? Open in Web Editor NEW
81.0 3.0 13.0 64.79 MB

[ITSC 2023] Predictive Decision-making Framework with Interaction-aware Motion Forecasting Model

Python 100.00%
motion-planning prediction-model

predictive-decision's Issues

Questions about the ground truth trajectories of other agents?

Hi MCZhi,

Thank you for sharing such an interesting work. I have some questions about those ground truth trajectories of other agents when training interaction-aware predictor.

  1. Do those ground truth trajectories of other agents are generated from log file and so are fixed during training? If so, how does it make sure that other agents will have corresponding reactions on the ego's planning trajectory?

  2. What is the difference between the ego-conditioned auto-regressive planning method and traditional imitation learning methods?

Some questions about the trajectory generation code

I read the source code and found that the input obs.waypoint_paths of the planner already contains 51 waypoints. The trajectory sampling part will first use the interpolation method to form the route formed by these waypoints into a CubicSpline2D curve x=f(s),y=f( s), and then generate_trajectory_on_frenet will generate various trajectories giving different accelerations (due to the difference in acceleration, some new trajectories will indeed be generated). But I found the calculate_global_trajectory function still uses the CubicSpline2D curve formed by route to calculate fx and fy, which means that even if many trajectories are generated , but the waypoints from the route still need to be passed through in theory. So if I understand correctly, the waypoint provided by obs.waypoint_paths is actually similar to the target point of the carla simulator. I'm wondering if there's something wrong with my understanding. And if this is the case, can it be possible to use only two waypoints as the starting point and end point, and then generate more diverse trajectories?
In addition, I don't quite understand why calculate_global_trajectory uses CubicSpline2D's i_yaw based on the original route to calculate fx and fy.
I'm very sorry if there is any misunderstanding, I am not very familiar with the smarts simulator.

question about scenario

Hello, Zhiyu,
Thank you for your work,
I would like to ask if during the training session, the code will report an error 'Environment multi scenario does not exist.'
May I ask how to solve it.
Thank you!

About the result of baseline methods in table II

Hi, thanks for your work!

I have some questions about the success rate about the baseline method in table II.
I have used the pretrained model provided in the repo for the test.py, but the success rate of "Ours" methods is only 80% for the first scene, which is lower than the 98% in the paper.

My command line is:
nohup python test.py --name baseline --use_interaction --model_path PATH/interaction_aware_predictor.pth

Did I make any mistakes in my reproduction steps?

Error comes when testing

Hi Zhiyu, the error comes then testing. Could you pls let me let me know the reason ? Thx a lot.
Running command: python test.py --model_path interaction_aware_predictor.pth
image
Training is OK.
Running command: python train.py --use_exploration --use_interaction
image

Questionabout pretrained ckpt

Thank you for your work. I have downloaded the pre-trained model ckpt you provided, but when I tested it, an error occurred. I can ensure that I installed the environment dependencies correctly, so how should I solve this problem?

RuntimeError: Error(s) in loading state_dict for Predictor:
        Unexpected key(s) in state_dict: "decoder.plan_input.weight", "decoder.plan_input.bias", "decoder.state_input.weight", "decoder.state_input.bias".
        size mismatch for decoder.cell.weight_ih: copying a param with shape torch.Size([1152, 128]) from checkpoint, the shape in current model is torch.Size([1152, 3]).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.