Open gaurav1030332018 opened 3 years ago
create a path for val_json file separetly, i will give you an example
if subset == "train":
annotations1 = json.load(open('D:\\mask_r_cnn\\Dataset\\train\\data_json.json'))
elif subset == "val":
annotations1 = json.load(open('D:\\mask_r_cnn\\Dataset\\val\\data_json.json'))
I am trying it on google colab but I am getting this kind of error
objects: ['laptop', 'tab', 'phone'] numids [1, 2, 3] objects: ['laptop', 'tab', 'phone'] numids [1, 2, 3] objects: ['laptop', 'tab', 'phone'] numids [1, 2, 3] objects: ['laptop', 'tab', 'phone'] numids [1, 2, 3] objects: ['tab', 'phone', 'laptop'] numids [2, 3, 1] objects: ['laptop', 'phone', 'tab'] numids [1, 3, 2] objects: ['laptop', 'tab', 'phone'] numids [1, 2, 3]
FileNotFoundError Traceback (most recent call last)