Traceback (most recent call last):


 "/home/nvidia/Workspace/SCENARIO_3/tfl-car/main.py", line 57, in <module>

machine = stateMachine(new_video_FPS, weights)


 "/home/nvidia/Workspace/SCENARIO_3/tfl-car/aux_func.py", line 584, in __init__

self.detector = Detector(weights,True)


 "/home/nvidia/Workspace/SCENARIO_3/tfl-car/aux_func.py", line 460, in __init__

model_trt = torch2trt(modelz, [x])


 "/usr/local/lib/python2.7/dist-packages/torch2trt-0.0.0-py2.7.egg/torch2trt/torch2trt.py", line 244, in torch2trt

builder.create_network() as network, ConversionContext(network) as ctx:


 "/usr/local/lib/python2.7/dist-packages/torch2trt-0.0.0-py2.7.egg/torch2trt/torch2trt.py", line 138, in __init__

for method, converter in converters.items()


 "/usr/local/lib/python2.7/dist-packages/torch2trt-0.0.0-py2.7.egg/torch2trt/torch2trt.py", line 116, in __init__

self.method_impl = copy(eval(method))


 "/usr/lib/python2.7/copy.py", line 96, in copy

return _reconstruct(x, rv, 0)


 "/usr/lib/python2.7/copy.py", line 329, in _reconstruct

y = callable(*args)


 "/usr/lib/python2.7/copy_reg.py", line 93, in __newobj__

return cls.__new__(cls, *args)
TypeError: instancemethod expected at least 2 arguments, got 0

Traceback (most recent call last):


 "/usr/lib/python3.8/logging/__init__.py", line 1081, in emit

msg = self.format(record)


 "/usr/lib/python3.8/logging/__init__.py", line 925, in format

return fmt.format(record)


 "/usr/lib/python3.8/logging/__init__.py", line 664, in format

record.message = record.getMessage()


 "/usr/lib/python3.8/logging/__init__.py", line 369, in getMessage

msg = msg % self.args
TypeError: not all arguments converted during string formatting
