uf-hobi-informatics-lab / SDoH_SODA

MIT License
17 stars 4 forks source link

can not use the ClinicTransformerNER & Relation #8

Open LeiGong0125Carrot opened 9 months ago

LeiGong0125Carrot commented 9 months ago

Hello,

after git all the files, I tried to follow the usage to test, but it failed to work on my test data. !bash /content/SDoH_SODA/scipts/run_pred.sh -i /content/SDoH_SODA/test_data -c -1 Here are the results. Input dir: /content/SDoH_SODA/test_data CUDA used: -1 mkdir: cannot create directory ‘../results’: File exists python3: can't open file '/content/./run_ner.py': [Errno 2] No such file or directory python3: can't open file '/content/../ClinicalTransformerNER/src/run_transformer_batch_prediction.py': [Errno 2] No such file or directory python3: can't open file '/content/./make_relation.py': [Errno 2] No such file or directory python3: can't open file '/content/../ClinicalTransformerRelationExtraction/src/relation_extraction.py': [Errno 2] No such file or directory mkdir: cannot create directory ‘../results/result’: File exists mkdir: cannot create directory ‘../results/result/eval’: File exists mkdir: cannot create directory ‘../results/result/RE’: File exists python3: can't open file '/content/../ClinicalTransformerRelationExtraction/src/data_processing/post_processing.py': [Errno 2] No such file or directory python3: can't open file '/content/brat_eval.py': [Errno 2] No such file or directory Am I on the right track? Could you please help with this?