Advertisement
iSach

nerfplayer method_configs

Apr 28th, 2023
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. method_configs["nerfplayer"] = TrainerConfig(
  2. method_name="nerfplayer",
  3. steps_per_eval_batch=1000,
  4. steps_per_eval_all_images=0,
  5. steps_per_eval_image=500,
  6. steps_per_save=10000,
  7. save_only_latest_checkpoint=False,
  8. max_num_iterations=30000,
  9. mixed_precision=True,
  10. pipeline=VanillaPipelineConfig(
  11. datamanager=VanillaDataManagerConfig(
  12. dataparser=BlenderDataParserConfig(),
  13. train_num_rays_per_batch=4096,
  14. eval_num_rays_per_batch=2048,
  15. ),
  16. model=NerfplayerModelConfig(
  17. eval_num_rays_per_chunk=1 << 15,
  18. log2_hashmap_size=17,
  19. temporal_dim=64,
  20. depth_weight=1.0,
  21. depth_sigma=0.01,
  22. prob_reg_loss_mult=0.1,
  23. distortion_loss_mult=0.001,
  24. temporal_tv_weight=1.0,
  25. ),
  26. ),
  27. optimizers={
  28. "proposal_networks": {
  29. "optimizer": AdamOptimizerConfig(lr=1e-2, eps=1e-12),
  30. "scheduler": CosineDecaySchedulerConfig(warm_up_end=512, max_steps=30000, learning_rate_alpha=0),
  31. },
  32. "fields": {
  33. "optimizer": AdamOptimizerConfig(lr=1e-2, eps=1e-12),
  34. "scheduler": CosineDecaySchedulerConfig(warm_up_end=512, max_steps=30000, learning_rate_alpha=0),
  35. },
  36. },
  37. viewer=ViewerConfig(num_rays_per_chunk=64000),
  38. vis="viewer",
  39. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement