Traceback (most recent call last):


 "eval.py", line 1241, in <module>

convert_to_tensorrt(net, cfg, args, transform=BaseTransform())


 "/home/oidpsv/yolact_edge/utils/tensorrt.py", line 156, in convert_to_tensorrt

net.to_tensorrt_protonet(cfg.torch2trt_protonet_int8, calibration_dataset=calibration_protonet_dataset, batch_size=args.trt_batch_size)


 "/home/oidpsv/yolact_edge/yolact.py", line 1565, in to_tensorrt_protonet

self.trt_load_if("proto_net", trt_fn, [x], int8_mode, batch_size=batch_size)


 "/home/oidpsv/yolact_edge/yolact.py", line 1534, in trt_load_if

module = trt_fn(module, trt_fn_params)


 "/opt/conda/lib/python3.6/site-packages/torch2trt-0.1.0-py3.6-linux-x86_64.egg/torch2trt/torch2trt.py", line 555, in torch2trto

engine = builder.build_cuda_engine(network)


 "/opt/conda/lib/python3.6/site-packages/torch2trt-0.1.0-py3.6-linux-x86_64.egg/torch2trt/calibration.py", line 51, in get_batch

buffer[i].copy_(tensor)
RuntimeError: The size of tensor a (69) must match the size of tensor b (64) at non-singleton dimension 2

Traceback (most recent call last):


 "tools/train_net.py", line 244, in <module>

['caffe2', '--caffe2_log_level=0', '--caffe2_gpu_memory_tracking'])
RuntimeError: [enforce fail at init.cc:88] success. Failed to run some init functions for caffe2.
