-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cannot reproduce deterministic results #21
Comments
@HRHLALALA Thanks for interesting in our paper. The dropout rate was probably set to 0.5 for your experiment on UNIV, ZARA1, ZARA2, as it is the default setting. And for deterministic experiment, you don't have to set sigma -- this is the standard deviation, and only apply to CVAE model. I'm attaching the checkpoints for ETH/UCY dataset here, and let me know if you can get similar results as in the paper. I also trained again on ZARA1 and attach my log here for reference.
|
Hi, thanks for your reply. It is really helpful to have the checkpoints. I can see a similar performance as in your paper. I think the reason why I got worse results is that I used the data generated from the latest Trajectron++ version. As mentioned in #19 (comment) , they have fixed the gradient calculations. I post my reproduced results below. Here are my training arguments:
where data A and data B are data preprocessed from Trajectron++ without and with fixed gradient. Could you confirm these new results are reasonable? Please let me know if my hyperparameters are not consistent with yours. Thanks! |
Thank you so much for conducting new experiments! I don't have any progress on the fixed Trajectron++ dataset yet. I will also post some numbers and hopefully they are close to yours. |
Hi @HRHLALALA, the results I reproduce are very similar to your last row 'Weights trained on data B' and I think it is a valid updated result. |
Hi, thanks for providing a comparing experiment. It looks like all of the results related to data B are actually correct cause they don't use future trajectory after |
Yes |
Hi HRHLALALA, I've tried several times but I couldn't reproduce similar results like you do.
I wonder if you have changed some of the original settings?
Thanks a lot :D |
Hi, I have tried to reproduce your results by running
SGNet.pytorch/tools/ethucy/train_deterministic.py
andSGNet.pytorch/tools/ethucy/eval_deterministic.py
. I didn't change anything except adding some model saving code from your previous commits intrain_deterministic.py
.Can you help have a look at whether anything is wrong here?
Here are my training arguments:
python tools/ethucy/train_deterministic.py --gpu $CUDA_VISIBLE_DEVICES --dataset ${dset_name} --model SGNet ${args}
where
dset_name=ETH,args='--lr=0.0005 --dropout=0.5 --sigma=1.5'
dset_name=HOTEL,args='--lr=0.0001 --dropout=0.3'
dset_name=UNIV,args='--lr=0.0001'
dset_name=ZARA1,args='--lr=0.0001'
dset_name=ZARA2,args='--lr=0.0001'
Here are are training results:
ETH: ADE_08: 0.543764; FDE_08: 0.981109; ADE_12: 0.816298; FDE_12: 1.603263;
HOTEL: ADE_08: 0.251949; FDE_08: 0.487048; ADE_12: 0.406558; FDE_12: 0.865508;
UNIV: ADE_08: 0.405024; FDE_08: 0.795781; ADE_12: 0.647388; FDE_12: 1.345341;
ZARA1: ADE_08: 0.235853; FDE_08: 0.470461; ADE_12: 0.381671; FDE_12: 0.803334;
ZARA2: ADE_08: 0.188649; FDE_08: 0.383418; ADE_12: 0.311853; FDE_12: 0.669926;
Here are the training outputs from my terminal (e.g. Zara1):
The text was updated successfully, but these errors were encountered: