THUMNLab/AutoGL

[BUG]

shrutiOx opened this issue · 2 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. Windows 10]
  • python version: [The output of cmd python -V]
  • autogl version: [The output of cmd python -c 'import autogl; print(autogl.__version__)']
  • pip list: [the output of cmd pip list]

Additional Info (Optional)
Add any other context about the problem here. Such as the possible reason you think, or how to solve this bug if you are interested.

GraphClassification not working.

""""""""""""""""""""""""""""""""""""""""
HPO Search Phase:

0%| | 0/10 [00:00<?, ?it/s]WARNING:root:Ignore passed dec since enc is a whole model
0%| | 0/10 [00:00<?, ?it/s]

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 2>()
1 # train
----> 2 autoClassifier.fit(dataset , evaluation_method=[Acc])
3 #autoClassifier.get_leaderboard().show()
4
5 #print("best single model:\n", autoClassifier.get_leaderboard().get_best_model(0))

4 frames
/usr/local/lib/python3.10/dist-packages/autogl/datasets/utils/_general.py in graph_get_split(dataset, mask, is_loader, batch_size, num_workers, shuffle)
369 raise RuntimeError("Unsupported backend")
370 elif _backend.DependentBackend.is_dgl():
--> 371 from dgl.dataloading.pytorch import GraphDataLoader
372 return GraphDataLoader(
373 sub_dataset,

ModuleNotFoundError: No module named 'dgl.dataloading.pytorch'

""""""""""""""""""""""""""""""""""""""""""""""""""""'''

Hi. It seems that this problem is related to DGL backend. Can you check that you have successfully installed DGL (e.g., by running its examples)?

Hi, am getting this error now:

I tried re-installing networkx but it's still not working. Can you please tell me which version of networkx does AutoGL supports? Thanks!!

ImportError: cannot import name 'graph_number_of_cliques' from 'networkx.algorithms.clique' (C:\Users\ADMIN\anaconda3\envs\myenv\lib\site-packages\networkx\algorithms\clique.py)