AttributeError: module 'paddle.fluid.dygraph' has no attribute 'enable_imperative'
Created by: R132
使用AIstudio上的paddlepaddle环境,
Python 3.7.4 (default, Aug 13 2019, 20:35:49) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. import paddle paddle.version '1.8.0'
import paddle.fluid as fluid fluid.dygraph.enable_imperative() Traceback (most recent call last): File "", line 1, in AttributeError: module 'paddle.fluid.dygraph' has no attribute 'enable_imperative'
为什么会这样呢?在自己的电脑上可以运行