allenai / allenai/vampire

jsonnet_evaluate_file issue on branch allennlp-1.0

Aberta
#66 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
174
Forks
33
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi,

When following the instructions in https://github.com/allenai/dont-stop-pretraining/blob/master/DATA_SELECTION.md, upon running the command ""python -m scripts.train --config training_config/vampire.jsonnet --serialization-dir model_logs/vampire-world --environment VAMPIRE --device 0 -o", I get the following error:

> overriding model_logs/vampire-world
> 2021-03-30 17:05:56,684 - INFO - transformers.file_utils - PyTorch version 1.5.1 available.
> Something went wrong during jsonnet_evaluate_file, please report this: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'Z'
> Aborted
> Traceback (most recent call last):
> File "/path/to/python3.7/runpy.py", line 193, in _run_module_as_main
> "__main__", mod_spec)
> File "/path/to/python3.7/runpy.py", line 85, in _run_code
> exec(code, run_globals)
> File "/path/to//dont-stop-pretraining/vampire/scripts/train.py", line 89, in
> main()
> File "/path/to/dont-stop-pretraining/vampire/scripts/train.py", line 85, in main
> subprocess.run(" ".join(allennlp_command), shell=True, check=True)
> File "/path/to/python3.7/subprocess.py", line 468, in run
> output=stdout, stderr=stderr)
> subprocess.CalledProcessError: Command 'allennlp train --include-package vampire training_config/vampire.jsonnet -s model_logs/vampire-world' returned non-zero exit status 134.

I notice this is the same error as issue #65.

I also notice training works if I use the master branch, so this seems to be an issue related to the branch the DSP DATA_SELECTION.md requires.

Could you perhaps help out with this? Thank you!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.