tf踩坑 AttributeError: ‘MirroredStrategy’ object has no attribute ‘experimental_run_v2’
AttributeError: ‘MirroredStrategy’ object has no attribute 'experimental_run_v2’
我的tensorflow版本为2.8
原因是方法名改变了,将experimental_run_v2改为run即可。
参考链接:https://githubhot.com/repo/danijar/dreamer/issues/50