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

Correlation of training speed influencing hyperparameters #201

Open
Quirlight opened this issue Apr 25, 2024 · 0 comments
Open

Correlation of training speed influencing hyperparameters #201

Quirlight opened this issue Apr 25, 2024 · 0 comments

Comments

@Quirlight
Copy link

Hi there!

Here you have mentioned some parameters that can be tweaked to speed up training time:

@smandava98 thanks for the kind words! You can adjust the below hyperparameters correspondingly to optimization with fewer iterations:

  • max_iter (max iterations, obviously)
  • model.object.sdf.encoding.coarse2fine.step (increment one progressive level every N iterations)
  • optim.sched.warm_up_end (learning rate warmup iterations)
  • optim.sched.two_steps (decrease the learning rate at these iteration numbers)

Please also see #4 and the FAQ for details.

Let me present a quite extrem example. Below are two images of a training on the DTU data set 122. The first one is the visual wandb output after 5.000 training iterations, which is the end of the warm up phase with the suggested parameters. No c2f or lr decay has been applied so far. The other one is the same output after 5.000 iterations but with a warm_up_end = 100 and a c2f_step = 100. Still no lr decay but the training has unlocked all c2f levels.

Wandb Val Images

image

  • max_iter = 5000
  • model.object.sdf.encoding.coarse2fine.step = 5.000
  • optim.sched.warm_up_end = 5.000

image

  • max_iter = 5000
  • model.object.sdf.encoding.coarse2fine.step = 100
  • optim.sched.warm_up_end = 100

Clearly, the result is better when just doing "normal" training than running through all c2f levels. Especially the round starting shape is kinda ... preserved? I would be interested if you have some insights why that's the case and how the parameters depend on each other? Is there minimum (warmup) iteration amount for c2f to work properly?

Kind Regards
Lisa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant