Mac or Windows users can install the Google Drive app and directly manage the code in a folder, e.g., "imbalanced_classification" using an IDE, e.g., Pycharm. The code can also be cloned directly from Github. The script sample is as follows.
To enable GPU, setup runtime type as follows, then click connect on the top right.
Try out yourself at https://colab.research.google.com/, and here is a toy project that can be used.