If we debug codes in MxNet

less than 1 minute read

Published:

What should we do for debugging codes in MxNet

Debugging after you find a bug

  • Fork the MxNet reposiotry, and git clone the repository into your PC.
  • Create a new branch for your debugging
  • The debugged code needs testing.
    • You would find codes for testing at https://github.com/apache/incubator-mxnet/blob/master/tests/
    • The code does not cosider the bug that you are solving; the bug was not detected by the test. So you need to change the codes for testing to validate your debugging.
    • Run the changed code by nosetests -v path_to_the_test
  • Commit & push to your repository. The necessary files are your debugging codes and testing codes.

Sending a pull request to MxNet repository