我正在使用带有 GTX 960M 的戴尔笔记本电脑,并且我安装了 tensorflow 2.0 alpha。我曾经使用 1.5 版本并且它与 tf.GPUOptions 一起使用,但是在这个版本中,error: AttributeError: module 'tensorflow' has no attribute 'GPUOptions'
如果我在这个版本上做错了,这会导致有人帮助我
回溯(最近一次调用):文件“prepare_training.py”,第 20 行,在 gpu_option = tf.GPUOptions(per_process_gpu_memory_fraction=0.333) AttributeError: module 'tensorflow' has no attribute 'GPUOptions'