module ‘tensorflow‘ has no attribute ‘GPUOptions‘

报错试一试下面这句:

tf.compat.v1.GPUOptions(per_process_gpu_memory_fraction)

猜你喜欢

转载自blog.csdn.net/qq_40016005/article/details/123079159