lmb-freiburg / Multimodal-Future-Prediction

The official repository for the CVPR 2019 paper "Overcoming Limitations of Mixture Density Networks: A Sampling and Fitting Framework for Multimodal Future Prediction"
Other
47 stars 8 forks source link

Questions about the optimizers used for training the sampling and fitting neural networks #9

Closed Shaluols closed 3 years ago

Shaluols commented 3 years ago

Hi,

Thanks for your wonderful work! I am trying to replicate the training with the SSD dataset. Could I ask:

  1. Which optimizer you used for the sampling and fitting neural network? And what are the learning rates you set for the optimizers?
  2. Is it correct to use hyps, hyps_sigmas in the given test.py file to compute the loss for the sampling neural network? These two parameters are outputs from the make_graph function: means, sigmas, mixture_weights, bounded_log_sigmas, hyps, hyps_sigmas, input_blob, output_blob, tmp = session.run(output, feed_dict={x_objects: objects, x_imgs: imgs})

Thank you in advance for your help!

os1a commented 3 years ago

Hi @Shaluols

Thanks for your interest in our work. Here are the answers:

For training the networks, sampling and fitting, you can refer to the loss functions in net.py https://github.com/lmb-freiburg/Multimodal-Future-Prediction/blob/d65d72f8ab80146fc3e7dac3ddd3076e2c376a94/net.py#L66 https://github.com/lmb-freiburg/Multimodal-Future-Prediction/blob/d65d72f8ab80146fc3e7dac3ddd3076e2c376a94/net.py#L138

Hope this helps, Best,

Shaluols commented 3 years ago

Thanks for your super clear reply!

os1a commented 3 years ago

Feel free to re-open the issue if you have more questions.