zcc
zcc
hi, I got an error when running this code line: import tensorflow.contrib.tensorrt as trt can you tell me how to slove this?
`def render_naive(t_obj, img0, iter_n=20, step=50.0): # t_score是优化目标。它是t_obj的平均值 # 结合调用处看,实际上就是layer_output[:, :, :, channel]的平均值 t_score = tf.reduce_mean(t_obj) # 计算t_score对t_input的梯度 t_grad = tf.gradients(t_score, t_input)[0] # 创建新图 img = img0.copy() for i in range(iter_n):...
**Can you share your TensorRT&onnx&pytorch version?** When I run, I encounter the following errors,I suspect that different versions resulted. onnx 1.5 Tensorrt TensorRT-5.1.5.0 Traceback (most recent call last): File "weight_to_onnx.py",...