![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bugs
甜果果2333
这个作者很懒,什么都没留下…
展开
-
[Solved] Tensorflow-gpu Error: self._traceback = tf_stack.extract_stack()
Tensorflow GPU reports an error of self_ traceback = tf_ stack.extract_ stack()Reason 1: the video memory is fullAt this time, you can view the GPU running status by entering the commandNVIDIA SMIin CMD,most likely because of the batch entered_ Size..转载 2022-04-28 10:07:28 · 364 阅读 · 0 评论 -
Adding visible gpu devices: 0 每次运行到这里卡很久
Step1. 设置环境变量:CUDA_CACHE_MAXSIZE=4294967296我的电脑,右键,属性,高级系统设置,高级,环境变量,然后添加一个CUDA_CACHE_MAXSIZE变量,值为:4294967296,点击确定Step2. 重启电脑貌似之后就不会再有这种问题了原文链接:Adding visible gpu devices: 0 每次运行到这里卡很久_我有明珠一颗的博客-CSDN博客...转载 2022-04-28 09:41:44 · 3573 阅读 · 0 评论 -
AutoModelForSequenceClassification requires the PyTorch library but it was not found in your environ
You need to install Pytorch first before import the HuggingFace Transformer.Otherwise you'll have to restart the kernellinkpytorch 安装官网地址:Start Locally | PyTorch An open source machine learning framework that accelerates the path from research protot原创 2022-03-25 16:43:25 · 5592 阅读 · 0 评论 -
from typing import ( ImportError: cannot import name ‘Deque‘
ImportError: cannot import name ‘Deque’问题描述: 从 typing 里面 import Deque发生错误。 原因: python > 3.6.1 才有这个方法。请升级 pythonlink原创 2022-03-25 16:33:44 · 2041 阅读 · 0 评论 -
Can not import DataCollatorForLanguageModeling
It's because the pip package hasn't been updated. The script to train is changed fundamentally. so you can try building from scratch usinggit clone https://github.com/huggingface/transformerscd transformerspip install .orYou can use old script of.原创 2022-03-25 16:28:24 · 938 阅读 · 0 评论 -
AttributeError: type object ‘_CleanResult‘ has no attribute ‘from_link‘
重新更新pip版本或者切换版本就可以解决:python -m pip install --upgrade piplink原创 2022-03-25 16:26:53 · 1425 阅读 · 0 评论 -
TLS certificate verification has been disabled
报错warning: ----------------- SECURITY WARNING ----------------warning: | TLS certificate verification has been disabled! |warning: ---------------------------------------------------warning: HTTPS connections may not be secure. See https://aka.ms/gcm原创 2022-03-25 11:12:22 · 5749 阅读 · 0 评论 -
AttributeError: module ‘tensorflow.contrib.estimator‘ has no attribute ‘stop_if_no_decrease_hook‘
程序里有个bug,提示early_stopping_hook = tf.contrib.estimator.stop_if_no_decrease_hook(AttributeError: module 'tensorflow.contrib.estimator' has no attribute 'stop_if_no_decrease_hook'查看了本机的 tf版本发现是1.14,程序源码的版本是1.11 查找了tensorflow的文档,才发现,stop_if_no_decreas.原创 2022-03-07 18:04:09 · 1001 阅读 · 1 评论