Via_region_data.json file not found error while it is there in train and test dataset

I am trying to train file on custom dataset. Both the train and test datasets contain via_region_data.json file. However the error that I am getting is “via_region_data.json” file not available. Trying to run in google colab with the below command.
!python train --dataset=/path/to/datasetfolder/train/via_region_data.json --weights=coco

Traceback (most recent call last):
File “”, line 364, in
File “”, line 184, in train
dataset_train.load_custom(args.dataset, “train”)
File “”, line 115, in load_custom
annotations1 = json.load(open(os.path.join(dataset_dir, “via_region_data.json”)))
FileNotFoundError: [Errno 2] No such file or directory: ‘/path/to/datasetfolder/train/via_region_data.json’

The json file is loacted in the following path.

“/content/drive/My Drive/mask_rcnn_damage_detection/customImages/train/via_region_data.json”

© Copyright 2013-2019 Analytics Vidhya