Comments (5)
TypeError: ElementWiseMatrixAttention.forward:
matrix_1
is not present.
抱歉,当我尝试降低allennlp版本的时候,如果安装torch 1.5.0 的话,我的模型加载到显卡是非常缓慢的(几乎加载不进去),后来我升级了torch 的版本到1.7.0 ,transformer 到 4.2.2 ,allennlp 2.0.0
from docunet.
我也遇到了这个问题,这个应该是allennlp版本不对导致的。装1.0.0版本就好了。
from docunet.
同时:我的CUDA Version: 11.4
from docunet.
pip install transformers==3.0.4
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement transformers==3.0.4 (from versions: 0.1, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 2.10.0, 2.11.0, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.5.1, 4.0.0rc1, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.3.0rc1, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.4.0, 4.4.1, 4.4.2, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.9.1, 4.9.2, 4.10.0, 4.10.1, 4.10.2, 4.10.3, 4.11.0, 4.11.1, 4.11.2, 4.11.3, 4.12.0, 4.12.1, 4.12.2, 4.12.3, 4.12.4, 4.12.5, 4.13.0, 4.14.0, 4.14.1, 4.15.0, 4.16.0, 4.16.1, 4.16.2, 4.17.0)
ERROR: No matching distribution found for transformers==3.0.4
from docunet.
TypeError: ElementWiseMatrixAttention.forward: matrix_1
is not present.
from docunet.
Related Issues (20)
- 给的shell脚本用windows改过吗?(Resolved) HOT 4
- 对预测矩阵的疑问 HOT 3
- Did someone try run on multi-gpu? Got an error in the multi-gpu setting. HOT 1
- The BC5CDR dataset result HOT 2
- 关于context-base strategy的疑问
- ModuleNotFoundError: No module named 'overrides' HOT 4
- TypeError: ElementWiseMatrixAttention.forward: `matrix_1` is not present. HOT 1
- More recent trained DocRED Weights? HOT 4
- 您好,请问随机种子固定后,复现后每次结果都不相同是什么原因?怎么才能在随机种子相同时固定复现结果? HOT 3
- 数据集咋下载 HOT 1
- 结果不一致 HOT 3
- I am unable to obtain the results you presented. HOT 2
- the result of roberta-large HOT 3
- Question about Roberta-large results HOT 4
- 关于分割区域的一点疑问 HOT 2
- 关于损失函数的一些疑问 HOT 3
- 复现实验结果一直达不到论文的结果,怎么搞 HOT 2
- 数据集 HOT 1
- 理解模型图框架中一些疑惑 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docunet.