allenai / allenai/vampire

jsonnet_evaluate_file issue on branch allennlp-1.0

Aperta
#66 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
174
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.