Skip to content

ValueError: too many values to unpack  #1

Description

@asarigun

Hi,

Thank you for sharing the codes for the paper! I run your GCN implementation on the ZINC dataset, but I got the following error:

Traceback (most recent call last):
  File "train_zinc.py", line 212, in <module>
    main(args)
  File "train_zinc.py", line 61, in main
    zinc_data = load_dataset(args)
  File "/home/ubuntu/Documents/FactorGCN.PyTorch/dataset/load_dataset.py", line 22, in load_dataset
    zinc_data = MoleculeDatasetDGL()
  File "/home/ubuntu/Documents/FactorGCN.PyTorch/dataset/zinc_dataset.py", line 117, in __init__
    self.train = MoleculeDGL(data_dir, 'train', num_graphs=10000)
  File "/home/ubuntu/Documents/FactorGCN.PyTorch/dataset/zinc_dataset.py", line 51, in __init__
    self._prepare()
  File "/home/ubuntu/Documents/FactorGCN.PyTorch/dataset/zinc_dataset.py", line 58, in _prepare
    self.graph_lists, self.graph_labels = pickle.load( f )
ValueError: too many values to unpack (expected 2)

I tried to follow the instructions in README.md , but I couldn't fix the problem. Is there anything that you can suggest to fix this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions