Skip to content

Instantly share code, notes, and snippets.

@ysyun
Created August 28, 2018 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysyun/af9db9e92188c9573a4faa5044cb0a25 to your computer and use it in GitHub Desktop.
Save ysyun/af9db9e92188c9573a4faa5044cb0a25 to your computer and use it in GitHub Desktop.
inference shell of data2vis
python -m bin.infer \
--tasks "
- class: DecodeText
params:
delimiter: '' " \
--model_dir vizmodel \
--model_params "
inference.beam_search.beam_width: 2" \
--input_pipeline "
class: ParallelTextInputPipeline
params:
source_delimiter: ''
target_delimiter: ''
source_files:
- test.txt "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment