models icon indicating copy to clipboard operation
models copied to clipboard

syntaxnet : 'char-map' context.pbtxt

Open dsindex opened this issue 10 years ago • 2 comments

  • syntaxnet version
   a5d45f2ed20effaabc213a2eb9def291354af1ec
   ( https://github.com/tensorflow/models/commit/a5d45f2ed20effaabc213a2eb9def291354af1ec )
  • situation

    • training pos-tagger failure
    • script
  • solution

    • it seems that segmentation fault is due to missing 'char-map'
    • so, i add below to create 'char-map'
    • context.pbtxt
    input {
      name: 'char-map'
      creator: 'brain_pos/greedy'
    }
    
  • i am wondering if it is intended to build char-map for pos-tagger.

  • and another question is ... i found --resource_dir parameter of parser_eval.

    • if this parameter is specified, i don't need to set proper path to *-map, etc in context.pbtxt
    input {
      name: "tag-map"
      Part {
        file_pattern: "tag-map"
      }
    }
    input {
      name: "word-map"
      Part {
        file_pattern: "word-map"
      }
    }
    ...
    
    • is it right purpose?

dsindex avatar Aug 16 '16 07:08 dsindex

If you have a fix for this problem can you submit a pull request with the change to context.pbtxt?

calberti avatar Aug 26 '16 16:08 calberti

Automatically closing due to lack of recent activity. Since this issue is old at this point, please reopen the issue if it still occurs when tried with the latest version of the code. Thank you.

karmel avatar Feb 22 '18 00:02 karmel