svjan5 / gnns-for-nlp Goto Github PK
View Code? Open in Web Editor NEWTutorial: Graph Neural Networks for Natural Language Processing at EMNLP 2019 and CODS-COMAD 2020
Tutorial: Graph Neural Networks for Natural Language Processing at EMNLP 2019 and CODS-COMAD 2020
'requirements.txt' appears to be missing.
The slides seem to be very useful material, I am wondering is there recording from this presentation or similar presentation?
Thank you.
ubuntu@f6b86bb5112d:~/GNNs-for-NLP$ python pytorch_gcn.py
2019-11-19 11:50:03,447 - [INFO] - {'data': 'cora', 'gpu': '0', 'name': 'test_19_11_2019_11:50:03', 'lr': 0.01, 'max_epochs':200, 'l2': 0.0005, 'seed': 1234, 'opt': 'adam', 'gcn_dim': 16, 'dropout': 0.5, 'restore': False, 'log_dir': './log/', 'config_dir': './config/', 'model_dir': './models/', 'save_dir': './models//test_19_11_2019_11:50:03'}
{'config_dir': './config/',
'data': 'cora',
'dropout': 0.5,
'gcn_dim': 16,
'gpu': '0',
'l2': 0.0005,
'log_dir': './log/',
'lr': 0.01,
'max_epochs': 200,
'model_dir': './models/',
'name': 'test_19_11_2019_11:50:03',
'opt': 'adam',
'restore': False,
'save_dir': './models//test_19_11_2019_11:50:03',
'seed': 1234}
loading data
Traceback (most recent call last):
File "pytorch_gcn.py", line 248, in <module>
model.fit()
File "pytorch_gcn.py", line 208, in fit
train_loss = self.run_epoch(epoch)
File "pytorch_gcn.py", line 175, in run_epoch
train_acc = self.get_acc(logits[self.data.train_mask], self.data.y, self.data.train_mask)
File "pytorch_gcn.py", line 122, in get_acc
return y_pred.eq(y_actual[mask]).sum().item() / mask.sum().item()
RuntimeError: "sum_cuda" not implemented for 'Bool'
python3.6
pytorch1.1
Is the pytorch version lower?
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.