Skip to content
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

Error in running Attack.py #2

Open
houssem-bouallegui opened this issue Jun 12, 2024 · 1 comment
Open

Error in running Attack.py #2

houssem-bouallegui opened this issue Jun 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@houssem-bouallegui
Copy link

I am trying to run your code and after following all the guides i reached a point where i am getting an error in your attack.py script

Traceback (most recent call last):
File "/home/houssem/Robust3DOD/tools/attack.py", line 740, in
main()
File "/home/houssem/Robust3DOD/tools/attack.py", line 733, in main
eval_one_epoch(
File "/home/houssem/Robust3DOD/tools/attack.py", line 564, in eval_one_epoch
annos = dataset.generate_prediction_dicts(
TypeError: generate_prediction_dicts() got an unexpected keyword argument 'flip'

dataset : kitti
model : pv-rcnn
optimisation : 4
epoch : 1
versions :
os : using Windows Subsystem for Linux on windows 11
python 3.9
cuda 11.3 WSL version for driver 555+
pytorch = 1.10 + cu113

train command : python train.py --cfg_file cfgs/kitti_models/pv_rcnn.yaml --batch_size 4 --epochs 1
attack command : python attack.py --cfg_file tools/cfgs/kitti_models/pvc_rcnn.yaml --ckpt /home/houssem/Robust3DOD/output/kitti_models/pv_rcnn/default/ckpt/checkpoint_epoch_1.pth

@Eaphan
Copy link
Owner

Eaphan commented Jun 23, 2024

Sorry for the bug. I have fixed this issue in the latest commit.

@Eaphan Eaphan added the bug Something isn't working label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants