Comments (2)
I'm also having the same issue, not just task 2 but any sub-task of task 1 and even the pretrain 2017 task. Can anyone please help on this?
from ntua-slp-semeval2018.
First of all, what version of pytorch do you have? The project was developed with pytorch version 0.4.0
.
Judging by the error message, the problem seems to be that the list of word ids has the wrong data type. Try casting the inputs to long type in this line, ike this:
inputs = inputs.to(DEVICE).long()
labels = labels.to(DEVICE).long()
lengths = lengths.to(DEVICE).long()
from ntua-slp-semeval2018.
Related Issues (16)
- prediction of Task 3
- How to train and evaluate the TASK2_A?
- Error with load_embeddings.py "can't fix" HOT 4
- IndexError: tuple index out of range
- Which average Jaccard I should use?
- Full Documentation of Source Code
- How to trained the ntu_310 that has 10 affective embedding?
- Could someone tell me which version of python and cuda did you use please? Thanks very much!
- problems with ekphrasis HOT 5
- code examples of training and a sample for prediction
- models are not saved HOT 1
- predict_models only shows two results for each dataset
- code takes longer to pre process trian data HOT 1
- Pretraining Getting Stuck HOT 4
- Testing working setup does not work HOT 2
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 ntua-slp-semeval2018.