Comments (5)
It seems that you use python 2. The codebase is compatible only with python 3. You have to make some minor changes i assume and you should be fine.
For instance you have to resolve the incompatibility regarding print. https://stackoverflow.com/questions/32032697/how-to-use-from-future-import-print-function
from ntua-slp-semeval2018.
Thanks, it works with python3.
Now there is another problem when running the script: sentiment2017.py: word2vec_300_6_concatened.txt is missing.
from ntua-slp-semeval2018.
This is a word embeddings file. Follow the instruction in the ReadMe (Prerequisites):
- Download an embeddings file https://github.com/cbaziotis/ntua-slp-semeval2018#2---download-our-pre-trained-word-embeddings
- Update the model config https://github.com/cbaziotis/ntua-slp-semeval2018#3---update-model-configs
from ntua-slp-semeval2018.
but the file names are: ntua_twitter_300.txt/ ntua_twitter_affect_310.txt, and I'm searching these files: word2vec_300_6_20_neg.txt",
word2vec_300_6_concatened.txt
word2vec_500_6_20_neg.txt",
word2vec_500_6_concatened.txt
from ntua-slp-semeval2018.
Go here https://github.com/cbaziotis/ntua-slp-semeval2018/blob/master/model/params.py#L216
Change it to the embeddings file that you want...
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!
- 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
- Error when training the model for Task2A HOT 2
- 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.