Traceback (most recent call last):


 "detect.py", line 90, in <module>

app.run(main)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/absl/app.py", line 299,in run

_run_main(main, args)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/absl/app.py", line 250,in _run_main

sys.exit(main(argv))


 "detect.py", line 66, in main

pred_bbox = infer(batch_data)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1655, in __call__

return self._call_impl(args, kwargs)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1673, in _call_impl

return self._call_with_flat_signature(args, kwargs, cancellation_manager)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1722, in _call_with_flat_signature

return self._call_flat(args, self.captured_inputs, cancellation_manager)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/saved_model/load.py", line 105, in _call_flat

cancellation_manager)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1924, in _call_flat

ctx, args, cancellation_manager=cancellation_manager))


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 550, in call

ctx=ctx)


 "/home/ubuntu/tf-trt/lib/python3.6/site-packages/tensorflow/python/eager/execute.py", line 60, in quick_execute

inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'TRTEngineOp' used by {{node PartitionedCall/StatefulPartitionedCall/functional_1/TRTEngineOp_0_2}} with these attrs: [_allow_build_at_runtime=true, precision_mode="FP16", OutT=[DT_FLOAT], static_engine=false, serialized_segment="", cached_engine_batches=[], InT=[DT_FLOAT], calibration_data="", _use_implicit_batch=true, output_shapes=[], workspace_size_bytes=23178808, max_cached_engines_count=1, segment_func=__inference_StatefulPartitionedCall/functional_1/TRTEngineOp_0_2_native_segment_45997[], segment_funcdef_name="", use_calibration=false, fixed_input_size=true, input_shapes=[[?,416,416,32]]]

Traceback (most recent call last):


 "/opt/anaconda3/lib/python3.7/multiprocessing/pool.py", line 121, in worker

result = (True, func(*args, **kwds))


 "/opt/anaconda3/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar

return list(map(*args))


 "<ipython-input-1-19fcab5adf03>", line 21, in get_user_info

twitter_user_data["user"] = user_info.user
AttributeError: 'NoneType' object has no attribute 'user'
