rampasek / GraphGPS

Recipe for a General, Powerful, Scalable Graph Transformer
MIT License
636 stars 115 forks source link

AssertionError: Invalid type <class 'NoneType'> for key layer_edge_indices_dir; valid types = {<class 'tuple'>, <class 'int'>, <class 'float'>, <class 'bool'>, <class 'list'>, <class 'str'>} #49

Open PaintingProgrammer opened 4 months ago

PaintingProgrammer commented 4 months ago

When I use yacs=0.1.8, I get an error KeyError: 'non-key config key: train.mode' When I use yacs==0.1.6, I get an error AssertionError: Invalid type <class 'NoneType'> for key layer_edge_indices_dir; valid types = {<class 'tuple'>, <class 'int'>, <class 'float'>, <class 'bool'>, <class 'list'>, <class 'str'>} I hope you can help to solve it

jiaqingxie commented 3 months ago

I think it's not part of a severe error since with this error the program would be still running. For me I think its bot too important during the training process. You could still get the correct result.