GithubHelp home page GithubHelp logo

Comments (4)

yongduosui avatar yongduosui commented on July 24, 2024
  1. Please check if the dataset is on the correct path.
  2. Maybe you can try to change the other different version for pickle.

from graphcl.

Austinzhenghua avatar Austinzhenghua commented on July 24, 2024

Thank you so much, I found the reason is that, there are no init files in each package.

Another problem is when I run main_superpixels_graph_classification.py I got :

I] Loading dataset MNIST...
train, test, val sizes : 5500 10000 5000
[I] Finished loading.
[I] Data load time: 25.4718s

MODEL DETAILS:

MODEL/Total parameters: GIN 105434
----------------------------------------Finetune Option----------------------------------------
Data Name: [MNIST]
Model Name: [GIN]
Training Graphs:[5500]
Valid Graphs: [5000]
Test Graphs: [10000]
Number Classes: [10]
Learning rate: [0.001]
----------------------------------------Contrastive Option----------------------------------------
Load model: [True]
Aug Type: [drop_nodes]
Projection head:[True]


Traceback (most recent call last):
File "/home/zhenghua/pythoncode/Graph_cl_MNIST_CIFAR10/finetuning/main_superpixels_graph_classification.py", line 332, in
main()
File "/home/zhenghua/pythoncode/Graph_cl_MNIST_CIFAR10/finetuning/main_superpixels_graph_classification.py", line 298, in main
train_val_pipeline(MODEL_NAME, dataset, params, net_params, args)
File "/home/zhenghua/pythoncode/Graph_cl_MNIST_CIFAR10/finetuning/main_superpixels_graph_classification.py", line 79, in train_val_pipeline
checkpoint = torch.load(load_file_name[-1])
IndexError: list index out of range

I am not sure why the Training Graphs become 5500. The pretrain training graph is 55000, Thank you so much, I need your help. @yongduosui yongduosui

from graphcl.

yongduosui avatar yongduosui commented on July 24, 2024

This is finetuning code, please use the pretraining code first.

from graphcl.

Austinzhenghua avatar Austinzhenghua commented on July 24, 2024

from graphcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.