ljos / anna_lyse Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hei. Flott å få dette på norsk (med begge varianter).
Å installere dette på mac viste seg å være en hengemyr, så jeg gjorde et forsøk på å droppe modellene models/nob
med tilhørende nob_context.pbtxt
inn i installen fra syntaxnet (beskrevet her: https://github.com/tensorflow/models/tree/master/syntaxnet) i håp om å komme rundt problemene med å installere denne med make.
Er det noen grunn til at det ikke skal fungere? Er modellene på noe vis avhengig av arkitektur eller noe annet fra maskinen den er trent på? Eller installen du har lagt opp til med make, på noen måte?
PS: forsøket med c/p av modeller fra anna_lyse ender i en blindvei for meg:
eirikstavelin@MacBook-Pro-8:~/Code/models/syntaxnet$ echo "Hello, I'm a mac." | syntaxnet/demo2.sh
2017-04-28 10:29:08.496850: W external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-04-28 10:29:08.496870: W external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-04-28 10:29:08.496874: W external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-04-28 10:29:08.496878: W external/org_tensorflow/tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
[... flere slike logg-linje om at jeg kan få mer guff av tensorflor ved å installere med støtte for ditt og datt på maskinene jeg sitter på nå, og så: ...]
2017-04-28 10:29:08.500010: F syntaxnet/task_context.cc:140] Check failed: input.part_size() == 1 (0 vs. 1)label-map
2017-04-28 10:29:08.500295: F syntaxnet/task_context.cc:140] Check failed: input.part_size() == 1 (0 vs. 1)label-map
INFO:tensorflow:Read 0 documents
info: veien via make endte (etter en del knoting) i dette:
eirikstavelin@MacBook-Pro-8:~/Code/anna_lyse$ make
git submodule update --init --recursive
export PYTHON_BIN_PATH="/opt/local/bin/python2.7"; \
export TF_NEED_GCP=0; \
export TF_NEED_CUDA=0; \
cd lib/models/syntaxnet/tensorflow; \
git apply "/Users/eirikstavelin/Code/anna_lyse/aux/change_repo_gmock.patch"; \
./configure
error: patch failed: tensorflow/workspace.bzl:76
error: tensorflow/workspace.bzl: patch does not apply
Configuration finished
cd lib/models/syntaxnet; \
bazel test --linkopt=-headerpad_max_install_names \
syntaxnet/... \
util/utf8/...
ERROR: Failed to load Skylark extension '//tensorflow/tensorflow:workspace.bzl'.
It usually happens when the repository is not defined prior to being used.
Maybe repository '' was defined later in your WORKSPACE file?
ERROR: cycles detected during target parsing.
INFO: Elapsed time: 0.112s
ERROR: Couldn't start the build. Unable to run tests.
make: *** [syntaxnet] Error 1
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.