Comments (4)
having the same. Compiled with gcc47 on amazon standard image. word2vec works
fine.
Original comment by [email protected]
on 13 Sep 2013 at 12:04
from word2vec.
ditto
Original comment by [email protected]
on 17 Nov 2013 at 6:24
from word2vec.
Hit this as well and found the box out of memory and no swap configured
might want to check for NULL on mallocs
Original comment by [email protected]
on 17 Nov 2014 at 3:40
from word2vec.
I am getting the same segmentation problem. I am trying to run demo-word.sh on
Unbuntu, which is installed on a Virtual Machine on Mac OSX.
I tried compiling with gcc4.7 on Ubuntu, but it does not work for me.
When I check out the C code for word2vec and run "make" on trunk, I get the
following warning messages:
dev@dev-VirtualBox:~/text-analytics/trunk$ make
gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops
-Wno-unused-result
gcc word2phrase.c -o word2phrase -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
gcc distance.c -o distance -lm -pthread -O3 -march=native -Wall -funroll-loops
-Wno-unused-result
distance.c: In function ‘main’:
distance.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
gcc word-analogy.c -o word-analogy -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
word-analogy.c: In function ‘main’:
word-analogy.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
gcc compute-accuracy.c -o compute-accuracy -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
compute-accuracy.c: In function ‘main’:
compute-accuracy.c:29:109: warning: unused variable ‘ch’ [-Wunused-variable]
char st1[max_size], st2[max_size], st3[max_size], st4[max_size], bestw[N][max_size], file_name[max_size], ch;
^
chmod +x *.sh
Does anyone have any suggestions?
Original comment by [email protected]
on 8 Apr 2015 at 10:29
from word2vec.
Related Issues (20)
- word2vec Binary Index & Locally-Sensitive Hashing Module HOT 2
- A typo "back" of words HOT 1
- FreeBSD build patch
- Wrong Link HOT 1
- Compile on debian HOT 2
- freebase vector file in python gensim
- Patch for /trunk/word2vec.c
- malloc.h HOT 7
- How can I get the coordinates of all words?
- Charset encoding HOT 1
- Patch for /trunk/demo-train-big-model-v1.sh HOT 4
- Fix build errors and warnings
- cnnot check out ?
- slightly optimized word2vec
- expTable array initialization
- Missing first letters in precompiled word vectors file: GoogleNews-vectors-negative300.bin HOT 1
- Keeping indexing URIs in plain text models
- Cluster output malformed
- The definition of sentences? HOT 1
- Patch for /trunk/word2vec.c
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 word2vec.