我安装了talos,它破坏了我的Keras/Tensorflow配置。如果我运行import talos或import keras ImportError:无法导入名称“tf_utils”
当我安装talos时,它将Tensorflow降级为1.14,并将Keras更新为2.3。同时,我有一个Tensorflow-GPU1.8(没有更改),这是我以前在虚拟环境中运行的。
这是:from transformers import BertTokenizer, TFBertForSequenceClassificationTFBertForSequenceClassification.from_pretrained("bert-base-uncased")ImportError:
TFBertForSequenceClassification requires the TensorFlowCheckout the instructions o
我在多GPU机器上遇到了OOM,因为TF 2.3似乎只使用一个GPU来分配张量。tensorflow/core/framework/op_kernel.cc:1767] OP_REQUIRES failed at conv_ops.cc:539 : and type float on /job:localhost/replica:0/t