Tensorflow_hub: Multiple OpKernel registrations match NodeDef at the same priority

I am trying to run these lines but getting the following error.:

InvalidArgumentError: Multiple OpKernel registrations match NodeDef at the same priority ‘{{node AssignVariableOp}}’: ‘op: “AssignVariableOp” device_type: “GPU” constraint { name: “dtype” allowed_values { list { type: DT_INT64 } } } host_memory_arg: “resource”’ and ‘op: “AssignVariableOp” device_type: “GPU” constraint { name: “dtype” allowed_values { list { type: DT_INT64 } } } host_memory_arg: “resource”’
[[AssignVariableOp]] [Op:AssignVariableOp]

Hi Abdul, welcome to the TF Forum!

I think you forgot to paste the lines you are trying to run

[UPDATE]: this was posted again with more information. I’ll close this to avoid noise