Coder Social home page Coder Social logo

zqzqz / advtrajectoryprediction Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 17.0 86.82 MB

Implementation of CVPR 2022 paper "On Adversarial Robustness of Trajectory Prediction for Autonomous Vehicles" https://arxiv.org/abs/2201.05057

Python 97.19% MATLAB 2.81%
adversarial-attacks autonomous-driving machine-learning trajectory-prediction

advtrajectoryprediction's People

Contributors

h1994st avatar zqzqz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

advtrajectoryprediction's Issues

Calculating the bounds

I wanted to know if you have any scripts or formulae to calculate the bounds, xy_distribution, detect_opts values for the datasets as done in AdvTrajPrediction/prediction/dataset/apolloscape.py and other dataset specific files in dataset folder.

It will be great if you can share this information as it will help us for testing other datasets as well.

map_name.txt

Hi there, thank you for releasing the codes. When trying to reproduce the results by the instructions, I met the error "No such file or directory: '/home/xxxx/AdvTrajectoryPrediction/prediction/dataset/../../data/nuScenes/map_name.txt' ". It was thrown out when I ran the test.py or generate_data.py. I was wondering whether this file is missing or I need to generate it. Thanks!

There is a significant error in the experimental results.

After running the code, I found that the error in the attack results is larger than that in the paper. Specifically, under single frame attack conditions, the results of the model that was not attacked were consistent with the results in the paper, but the results after using a single frame attack were much better than those in the paper, such as fqa apollscape. The results I ran were about 90% higher than those in the paper

Question about the ADE and FDE metrics

Hi Qingzhao, thank you for releasing the code with us!

After following the steps on the readme file, I tested the normal trajectron_map model on nuScenes dataset with single_frame mode. The ADE and FDE I calculated are 7.131660 and 17.831819, but the results on paper are 2.69 and 5.39. I'm wondering if I miss some important steps to reproduce the result or if I need to modify anything locally?

Thanks!

Not able to install the python environment

Hi, in the requirement.txt
there are a few packages using the local file.

dataclasses @ file:///tmp/build/80754af9/dataclasses_1614363715916/work

which emit the error "file not found" while doing pip install.

GPU usage limited to <10%

Hi
I cloned the AdvTrajectoryPrediction repo and completed the set up following the instructions. I am running the test.py on a high performance compute cluster with access to a Tesla V100 GPU but noticed that multi_frame mode tests do not complete even after 12 hours. When I check GPU utilization it's in the range of 0-7%.

I know that this code was originally written for an RTX 2080 with CUDA 10.2 and the Trajectron model that I am using for testing also optimized their code for GPU but I am unable to locate the source of delay even after going through all the files.

Is it supposed to take this long or am I missing something? How can I make the testing faster?

Below is the command I am running:

python test.py --dataset apolloscape --model trajectron --mode single_frame --overwrite

Thanks in advance!

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.