module ‘tensorflow‘ has no attribute ‘GPUOptions‘

Try the following sentence for error reporting:

tf.compat.v1.GPUOptions(per_process_gpu_memory_fraction)

Supongo que te gusta

Origin blog.csdn.net/qq_40016005/article/details/123079159
Recomendado
Clasificación