On executing the below code
config_path=‘config/yolov3.cfg’
weights_path=‘yolo.weights’
class_path=‘config/coco.names’
img_size=416
conf_thres=0.8
nms_thres=0.4
Load model and weights
model = Darknet(config_path, img_size=img_size)
model.load_weights(weights_path)
model.cuda()
model.eval()
classes = utils.load_classes(class_path)
Tensor = torch.cuda.FloatTensor
Following error occurred
TypeError                                 Traceback (most recent call last)
~/Desktop/Surya/Environments/python3/project2_inltk/lib/python3.6/site-packages/pyforest/init.py in 
6 nms_thres=0.4
7 # Load model and weights
----> 8 model = Darknet(config_path, img_size=img_size)
9 model.load_weights(weights_path)
10 model.cuda()
TypeError: ‘module’ object is not callable