I am able to change the directory running the below code in a colab cell
import os os.chdir("/content/drive/My Drive/Colab Notebooks/yolov4-deepsort-mast