'Modifying matterport mask r-cnn model architecture

I want to modify the mask r-cnn model architecture implemented by https://github.com/matterport/Mask_RCNN. Currently to modify anything in the model ,

  • I go to Mask_RCNN/mrcnn/model.py in the cloned repo files
  • modify what I want
  • restart the python kernel
  • reinstall the repo through setup.py in the cloned repo files
  • restart the python kernel

is there a better way ?
PS: I work on Google colab



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source