damo-cv / Ada-NETS

This is an official implementation for "Ada-NETS: Face Clustering via Adaptive Neighbour Discovery in the Structure Space" accepted at ICLR 2022.
MIT License
33 stars 3 forks source link

AttributeError: 'DGLBlock' object has no attribute 'create_format_' #1

Closed GlennCGL closed 2 years ago

GlennCGL commented 2 years ago

When running 'sh script/train_GCN.sh', meet questions below. My dgl version is 0.6.1. Have you met this before?

File "train.py", line 58, in collate block1.createformat() AttributeError: 'DGLBlock' object has no attribute 'createformat'

Thomas-wyh commented 2 years ago

Please look at this requirements.txt. You'd better use dgl-cu102==0.5.0 because the API of DGL often changes.