Code Monkey home page Code Monkey logo

anna_lyse's People

Contributors

ljos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anna_lyse's Issues

droppe modellene inn i install fra SyntaxNet/parsey?

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/nobmed 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.