Comments (2)
大佬,注释源码是不是太暴力了?有木有其他的解决方案?我也遇到这个问题了
from cluener2020.
大哥,按照你的说法注释完后出现
warnings.warn('Was asked to gather along dimension 0, but all '
Traceback (most recent call last):
File "run_ner_span.py", line 541, in
main()
File "run_ner_span.py", line 483, in main
global_step, tr_loss = train(args, train_dataset, model, tokenizer)
File "run_ner_span.py", line 128, in train
loss.backward()
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/_tensor.py", line 255, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/autograd/init.py", line 147, in backward
Variable._execution_engine.run_backward(
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/autograd/function.py", line 87, in apply
return self._forward_cls.backward(self, *args) # type: ignore[attr-defined]
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/nn/parallel/_functions.py", line 34, in backward
return (None,) + ReduceAddCoalesced.apply(ctx.input_device, ctx.num_inputs, *grad_outputs)
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/nn/parallel/functions.py", line 45, in forward
return comm.reduce_add_coalesced(grads, destination)
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/nn/parallel/comm.py", line 143, in reduce_add_coalesced
flat_result = reduce_add(flat_tensors, destination)
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/nn/parallel/comm.py", line 96, in reduce_add
nccl.reduce(inputs, output=result, root=root_index)
File "/data/jtf/Minicoda3/envs/python3_8/lib/python3.8/site-packages/torch/cuda/nccl.py", line 89, in reduce
torch._C._nccl_reduce(inputs, _output, root, op, streams, comms)
RuntimeError: NCCL Error 2: unhandled system error
from cluener2020.
Related Issues (20)
- 有没有bio格式的cluener数据集
- pytorch_version predict model
- 运行biLSTM-CRF报错IndexError: index 31 is out of bounds for dimension 0 with size 23 HOT 1
- Didn't find file /pretrained_bert_models/bert-base-chinese/added_tokens.json. We won't load it. Didn't find file /pretrained_bert_models/bert-base-chinese/special_tokens_map.json. We won't load it. Didn't find file /pretrained_bert_models/bert-base-chinese/tokenizer_config.json. We won't load it. HOT 1
- 请问怎么理解LSTM-CRF中的CluenerProcessor类和其中的vocab?
- Robert-tiny、Albert-tiny之类的小型bert实验
- Invalid Download Link HOT 1
- 体验Demo 下的标注工具链接失效 HOT 1
- 代码直接运行失败 HOT 1
- 其中的 CnerProcessor 是哪个数据集的? HOT 1
- 可以发一下requirements.txt嘛
- 数据集下载链接好像失效了,可以补发一下吗,谢谢 HOT 1
- could not broadcast input array from shape (5459,) into shape (5449,)
- 在clue官网应该如何提交这个任务的结果呢,有指引吗 HOT 4
- 请问label里面的X,start,end的用途是什么 HOT 1
- 线上提交测试的入口在哪,官网上没找到
- tf版本时在采用run_classifier_roberta_wwm_large.py时,预测很慢是怎么回事? HOT 1
- 数据下载地址失效
- 使用问题 HOT 1
- 请问如何使用自己的标签标注的数据集? HOT 1
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 cluener2020.