Regarding query on running of faster RCNN

I have tried to implement the faster RCNN but I m facing i problem while running where the given error is as follows-

Traceback (most recent call last):
File “”, line 84, in
train_imgs, classes_count, class_mapping = get_data(options.train_path, ‘trainval’)
TypeError: get_data() takes 1 positional argument but 2 were given"

Can you plz tell me how to resolve this problem

Since you haven’t shared the definition of the function get_data,
It is very likely that the function is expecting only 1 parameter, whereas you have passed it 2.

© Copyright 2013-2020 Analytics Vidhya