Traceback (most recent call last):


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

vars(opt))


 "/home/cjz/self-critical.pytorch-master/eval_utils.py", line 116, in eval_split

tmp = [_.cuda() if _ is not None else _ for _ in tmp]
AttributeError: 'numpy.ndarray' object has no attribute 'cuda'

Traceback (most recent call last):


 "main.py", line 21, in <module>

trt.set_random_seed(1234)
AttributeError: module 'tensorflow.python.compiler.tensorrt.trt_convert' has no attribute 'set_random_seed'`
