module_map.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Input
  2. import caffe2.contrib.playground.resnetdemo.\
  3. gfs_IN1k as gfs_IN1k # noqa
  4. # model
  5. import caffe2.contrib.playground.resnetdemo.\
  6. IN1k_resnet as IN1k_resnet # noqa
  7. import caffe2.contrib.playground.resnetdemo.\
  8. IN1k_resnet_no_test_model as IN1k_resnet_no_test_model # noqa
  9. # Additional override
  10. import caffe2.contrib.playground.resnetdemo.\
  11. override_no_test_model_no_checkpoint as override_no_test_model_no_checkpoint # noqa
  12. # FORWARD_PASS
  13. import caffe2.contrib.playground.resnetdemo.\
  14. caffe2_resnet50_default_forward as caffe2_resnet50_default_forward # noqa
  15. import caffe2.contrib.playground.resnetdemo.\
  16. explicit_resnet_forward as explicit_resnet_forward # noqa
  17. # PARAMETER_UPDATE
  18. import caffe2.contrib.playground.resnetdemo.\
  19. caffe2_resnet50_default_param_update as caffe2_resnet50_default_param_update # noqa
  20. import caffe2.contrib.playground.resnetdemo.\
  21. explicit_resnet_param_update as explicit_resnet_param_update # noqa
  22. # RENDEZVOUS
  23. import caffe2.contrib.playground.resnetdemo.\
  24. rendezvous_filestore as rendezvous_filestore # noqa
  25. # OUTPUT
  26. import caffe2.contrib.playground.\
  27. output_generator as output_generator # noqa
  28. # METERS
  29. # for meters, use the class name as your module name in this map
  30. import caffe2.contrib.playground.\
  31. compute_loss as ComputeLoss # noqa
  32. import caffe2.contrib.playground.\
  33. compute_topk_accuracy as ComputeTopKAccuracy # noqa