goodbai-nlp / AMRBART

Code for our paper "Graph Pre-training for AMR Parsing and Generation" in ACL2022
MIT License
92 stars 28 forks source link

ValueError while running inference-amr.sh #17

Closed cws7777 closed 1 year ago

cws7777 commented 1 year ago

Hi, I'm trying to inference my own data for AMR parsing, and followed the instructions (of main branch) as in README.md. I'm having an error as below, image

So, I set fp16 as False in inference-amr.sh, and it gave me like the error below. image

Have you experienced this kind of situation before?

Thanks!

Best, Paul

cws7777 commented 1 year ago

Figured out the problem with re-installing cuda version. I had 11.3 but downgraded to 11.1!