AlibabaResearch / DAMO-ConvAI

DAMO-ConvAI: The official repository which contains the codebase for Alibaba DAMO Conversational AI.
MIT License
1.1k stars 178 forks source link

Loading heterograph issue of GraphixT5 #60

Closed 22842219 closed 11 months ago

22842219 commented 12 months ago

Hi, I was trying to read your "graph_pedia_total.bin" but got the following error. Could you kindly advise me on this, please? IThanks.

This is the error. "Can't get attribute 'DGLHeteroGraph' on <module 'dgl.heterograph' from '/usr/local/lib/python3.10/dist-packages/dgl/heterograph.py'>"

Best, Zea

22842219 commented 11 months ago

Hi, is there anybody who can advise me on this please?,?

accpatrick commented 11 months ago

@22842219 Thanks for interest in our work. Sorry for the late reply. It seems that the issue you encountered might be related to package compatibility. The Deep Graph Library (DGL) requires specific versions of PyTorch and CUDA to be aligned. In our code files, we already compile all things into the docker, which can be downloaded by docker pull eyuansu62/graphix-text-to-sql:v2 directly. Thanks a lot.

22842219 commented 11 months ago

I've got it. Many thanks!