netmanaiops / log2vec Goto Github PK
View Code? Open in Web Editor NEWA distributed representation method for online logs.
A distributed representation method for online logs.
Hi,
As far i understand, this line of code is use to simulate the online stage
python code/Log2Vec.py -logs ./data/BGL_without_variables.log -word_model ./middle/bgl_words.model -log_vector_file ./middle/bgl_log.vector -dimension 32
but it seems really long in terme of time.
Traceback (most recent call last):
File "code/mimick/make_dataset.py", line 54, in
words, embs = read_text_embs(options.vectors)
File "/Users/name/Desktop/Log2Vec-master/code/mimick/my_utils.py", line 49, in read_text_embs
with codecs.open(filename, "r", "utf-8") as f:
File "/opt/anaconda3/lib/python3.7/codecs.py", line 904, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/name/Desktop/Log2Vec-master/results/HDFS/embedding.model'
请问这是怎么回事?
/usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Traceback (most recent call last): File "/home/username/Documents/apt_workspace/Log2vec/Log2Vec-master/pipeline.py", line 6, in import gensim File "/home/username/.local/lib/python3.10/site-packages/gensim/init.py", line 11, in from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils # noqa:F401 File "/home/username/.local/lib/python3.10/site-packages/gensim/corpora/init.py", line 6, in from .indexedcorpus import IndexedCorpus # noqa:F401 must appear before the other classes File "/home/username/.local/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in from gensim import interfaces, utils File "/home/username/.local/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in from gensim import utils, matutils File "/home/username/.local/lib/python3.10/site-packages/gensim/matutils.py", line 1030, in from gensim._matutils import logsumexp, mean_absolute_difference, dirichlet_expectation File "gensim/_matutils.pyx", line 1, in init gensim._matutils ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Hello,
I tried to run your script, but the make step failed.
(base) ➜ code git:(master) ✗ cd ./LRWE/src/
(base) ➜ src git:(master) ✗ make
make: Nothing to be done for `all'.
Do you have any idea to fix it ?
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.