Closed SeekPoint closed 6 years ago
mldl@ub1604:~/ub16_prj/NeuroNLP2$ bash examples/run_analyze.sh 2018-09-03 09:59:58,293 - Analyzer - INFO - punctuations(5): . `` : '' , 2018-09-03 09:59:58,293 - Create Alphabets - INFO - Creating Alphabets: models/parsing/stack_ptr/alphabets/ train_path is None Traceback (most recent call last): File "examples/analyze.py", line 486, in main() File "examples/analyze.py", line 61, in main stackptr(model_path, model_name, test_path, punct_set, use_gpu, logger, args) File "examples/analyze.py", line 198, in stackptr type_alphabet = conllx_stacked_data.create_alphabets(alphabet_path, None, data_paths=[None, None], max_vocabulary_size=50000, embedd_dict=None) File "./neuronlp2/io/conllx_data.py", line 89, in create_alphabets with open(train_path, 'r') as file: TypeError: invalid file: None mldl@ub1604:~/ub16_prj/NeuroNLP2$
mldl@ub1604:~/ub16_prj/NeuroNLP2$ bash examples/run_analyze.sh 2018-09-03 09:59:58,293 - Analyzer - INFO - punctuations(5): . `` : '' , 2018-09-03 09:59:58,293 - Create Alphabets - INFO - Creating Alphabets: models/parsing/stack_ptr/alphabets/ train_path is None Traceback (most recent call last): File "examples/analyze.py", line 486, in
main()
File "examples/analyze.py", line 61, in main
stackptr(model_path, model_name, test_path, punct_set, use_gpu, logger, args)
File "examples/analyze.py", line 198, in stackptr
type_alphabet = conllx_stacked_data.create_alphabets(alphabet_path, None, data_paths=[None, None], max_vocabulary_size=50000, embedd_dict=None)
File "./neuronlp2/io/conllx_data.py", line 89, in create_alphabets
with open(train_path, 'r') as file:
TypeError: invalid file: None
mldl@ub1604:~/ub16_prj/NeuroNLP2$