Comments (2)
I've read semgcn.py and syngcn.py again, and now I think I know what is happening here.
There is one line
parser.add_argument('-dump', dest="onlyDump", action='store_true', help='Dump context and embed matrix')
in the part of parsing parameters.
So, to output the embeddings, another part is NECESSARY: '-dump' .
Like, sudo python3 semgcn.py -embed ./embeddings/syngcn_embeddings.txt -semantic synonyms -embed_dim 300 -name fine_tuned_embeddings -epoch 10 -gpu 0 -dump
After I added this and ran again, the embeddings are output successfully to ./embeddings.
I guess the author forgot to put this in the instructions in README.md, would you please modify it ?: ) @svjan5
from wordgcn.
Hi @loginaway,
I am sorry for the trouble. Thank you for pointing out the error. I have updated the readme.
from wordgcn.
Related Issues (20)
- Detailed experimental parameters settings HOT 1
- Segmentation fault (core dumped) HOT 20
- how to build a syntactic graph HOT 1
- Would it possible for you to release your pre-trained model checkpoint? HOT 6
- About the gating mechanism HOT 5
- About the stopping criteria HOT 1
- Reproduction Problem HOT 5
- urllib.error.URLError HOT 1
- Hi, what can I use this model? HOT 3
- If i just want to train the model, do i need to replace the data? HOT 1
- StopIteration error from referenced web package in python 3.7.0
- “from web.embedding import Embedding” What package for this? HOT 1
- Verse BERT HOT 1
- Issue with GetBatches function HOT 4
- How do you acquire semantic_info? HOT 2
- Question about the edge direction in SemGCN HOT 2
- from models import model??? HOT 1
- i need help!!! HOT 2
- About SemGCN embeddings HOT 1
- About using own text data for SynGCN and SemGCN 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 wordgcn.