Franck-Dernoncourt / NeuroNER

Named-entity recognition using neural networks. Easy-to-use and state-of-the-art results.
http://neuroner.com
MIT License
1.7k stars 475 forks source link

XML format - Data Processing Problem #162

Closed ashikrafi closed 4 years ago

ashikrafi commented 4 years ago

Dear Team,

Thank you very much for all the effort. I have got numerous support from you. However, right now I am facing a problem while processing XML data. How to process XML data? Could you please tell me the way?

Below I have attached the error log for your consideration. I look forward to hearing from you soon.

Traceback (most recent call last): File "E:/Projects/Python/NeuroNER/NeuroNER-master/neuroner/main.py", line 118, in main() File "E:/Projects/Python/NeuroNER/NeuroNER-master/neuroner/main.py", line 112, in main nn = neuromodel.NeuroNER(**arguments) File "C:\Program Files\Python37\lib\site-packages\pyneuroner-1.0.8-py3.7.egg\neuroner\neuromodel.py", line 462, in init self._check_param_compatibility(self.parameters, self.dataset_filepaths) File "C:\Program Files\Python37\lib\site-packages\pyneuroner-1.0.8-py3.7.egg\neuroner\neuromodel.py", line 591, in _check_param_compatibility check_param_compatibility(parameters, dataset_filepaths) File "C:\Program Files\Python37\lib\site-packages\pyneuroner-1.0.8-py3.7.egg\neuroner\neuromodel.py", line 368, in check_param_compatibility raise IOError(msg) OSError: If train_model is set to True, both train and valid set must exist in the specified dataset folder: ./data/i2b2_2014_deid Exception ignored in: <function NeuroNER.del at 0x0000027335B76510> Traceback (most recent call last): File "C:\Program Files\Python37\lib\site-packages\pyneuroner-1.0.8-py3.7.egg\neuroner\neuromodel.py", line 827, in del self.sess.close() AttributeError: 'NeuroNER' object has no attribute 'sess'

Thank you Ashikur ****