ll0ruc / bd_event-extraction Goto Github PK
View Code? Open in Web Editor NEW百度2020语言与智能技术竞赛:事件抽取赛道方案代码
百度2020语言与智能技术竞赛:事件抽取赛道方案代码
f1大概能有多少呢,感觉很低的亚子,还有那个data_analyse的文件有什么用呢?
hello, I miss a problem when training as following:
total_norm = torch.norm(torch.stack([torch.norm(p.grad.detach(), norm_type) for p in parameters]), norm_type)
RuntimeError: stack expects a non-empty TensorList
Could you please give me some advice?
Traceback (most recent call last):
File "BD_train.py", line 95, in
train(model, train_iter, optimizer, criterion)
File "BD_train.py", line 34, in train
nn.utils.clip_grad_norm_(model.parameters(), 1.0)
File "/home/sthg/anaconda3/envs/torch15/lib/python3.7/site-packages/torch/nn/utils/clip_grad.py", line 30, in clip_grad_norm_
total_norm = torch.norm(torch.stack([torch.norm(p.grad.detach(), norm_type) for p in parameters]), norm_type)
RuntimeError: stack expects a non-empty TensorList
python==3.6
torch==1.5.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.