`./parser_trainer.py: línea 16: A program to train a tensorflow neural net parser from a a conll file.: order not found
from: can't read /var/mail/tensorflow.python.platform
from: can't read /var/mail/tensorflow.python.platform
from: can't read /var/mail/google.protobuf
from: can't read /var/mail/syntaxnet
from: can't read /var/mail/syntaxnet
from: can't read /var/mail/syntaxnet.ops
from: can't read /var/mail/syntaxnet
./parser_trainer.py: line 36: flags: order not found
./parser_trainer.py: line 37: FLAGS: order not found
./parser_trainer.py: line 39: syntactic error near element 'tf_master',' ./parser_trainer.py: line 39:flags.DEFINE_string('tf_master', '','`
Hi, i'm trying to do the local pretraining (https://github.com/tensorflow/models/tree/master/syntaxnet#training-a-parser-step-1-local-pretraining) but I'm getting an error when executing _parsertrainer.py
`./parser_trainer.py: línea 16: A program to train a tensorflow neural net parser from a a conll file.: order not found
from: can't read /var/mail/tensorflow.python.platform from: can't read /var/mail/tensorflow.python.platform from: can't read /var/mail/google.protobuf from: can't read /var/mail/syntaxnet from: can't read /var/mail/syntaxnet from: can't read /var/mail/syntaxnet.ops from: can't read /var/mail/syntaxnet ./parser_trainer.py: line 36: flags: order not found ./parser_trainer.py: line 37: FLAGS: order not found ./parser_trainer.py: line 39: syntactic error near element
'tf_master',' ./parser_trainer.py: line 39:
flags.DEFINE_string('tf_master', '','`I use this command on the terminal:
`./parser_trainer.py \
--arg_prefix=brain_parser \ --batch_size=32 \ --projectivize_training_set \ --decay_steps=4400 \ --graph_builder=greedy \ --hidden_layer_sizes=200,200 \ --learning_rate=0.08 \ --momentum=0.85 \ --output_path=models \ --task_context=models/brain_pos/greedy/$PARAMS/context \ --seed=4 \ --training_corpus=/home/iago/Escritorio/UniversalTreebanks2/UD_English/en-ut-train.conll \ --tuning_corpus=/home/iago/Escritorio/UniversalTreebanks2/UD_English/en-ut-dev.conll \ --params=testingTrainModel`
If I try the command:
`python parser_trainer.py \
--arg_prefix=brain_parser \ --batch_size=32 \ --projectivize_training_set \ --decay_steps=4400 \ --graph_builder=greedy \ --hidden_layer_sizes=200,200 \ --learning_rate=0.08 \ --momentum=0.85 \ --output_path=models \ --task_context=models/brain_pos/greedy/$PARAMS/context \ --seed=4 \ --training_corpus=/home/iago/Escritorio/UniversalTreebanks2/UD_English/en-ut-train.conll \ --tuning_corpus=/home/iago/Escritorio/UniversalTreebanks2/UD_English/en-ut-dev.conll \ --params=testingTrainModel`
I get: `Traceback (most recent call last):
File "parser_trainer.py", line 24, in
import tensorflow as tf
ImportError: No module named tensorflow
`
What I'm doing wrong or what I forgot to configure?
Thanks.