Code Monkey home page Code Monkey logo

Comments (3)

acbull avatar acbull commented on August 28, 2024

Hi: I've updated the permission. Could you try it again?

from gpt-gnn.

jiaruHithub avatar jiaruHithub commented on August 28, 2024

thx a lot! But when I run the code, report a ERROR that:

+--------------------+------------------------------+
| Parameter          | Value                        |
+--------------------+------------------------------+
| data_dir           | ../DATA/OAG                  |
+--------------------+------------------------------+
| use_pretrain       | 0                            |
+--------------------+------------------------------+
| pretrain_model_dir | /datadrive/models/gpt_all_cs |
+--------------------+------------------------------+
| model_dir          | /datadrive/models            |
+--------------------+------------------------------+
| task_name          | PF                           |
+--------------------+------------------------------+
| cuda               | 2                            |
+--------------------+------------------------------+
| domain             | _CS                          |
+--------------------+------------------------------+
| sample_depth       | 6                            |
+--------------------+------------------------------+
| sample_width       | 128                          |
+--------------------+------------------------------+
| conv_name          | hgt                          |
+--------------------+------------------------------+
| n_hid              | 400                          |
+--------------------+------------------------------+
| n_heads            | 8                            |
+--------------------+------------------------------+
| n_layers           | 3                            |
+--------------------+------------------------------+
| prev_norm          | 0                            |
+--------------------+------------------------------+
| last_norm          | 0                            |
+--------------------+------------------------------+
| dropout            | 0.200                        |
+--------------------+------------------------------+
| optimizer          | adamw                        |
+--------------------+------------------------------+
| scheduler          | cycle                        |
+--------------------+------------------------------+
| data_percentage    | 0.100                        |
+--------------------+------------------------------+
| n_epoch            | 50                           |
+--------------------+------------------------------+
| n_pool             | 8                            |
+--------------------+------------------------------+
| n_batch            | 16                           |
+--------------------+------------------------------+
| batch_size         | 256                          |
+--------------------+------------------------------+
| clip               | 0.500                        |
+--------------------+------------------------------+
Start Loading Graph Data...
Traceback (most recent call last):
  File "finetune_OAG_PF.py", line 80, in <module>
    graph = renamed_load(open(os.path.join(args.data_dir, 'graph%s.pk' % args.domain), 'rb'))
  File "/home/GPT-GNN/example_OAG/GPT_GNN/data.py", line 274, in renamed_load
    return RenameUnpickler(file_obj).load()
TypeError: an integer is required (got type bytes)

Can you help me?

from gpt-gnn.

lihuiliullh avatar lihuiliullh commented on August 28, 2024

I meet the same error. Did you solve it? @jiaruHithub

from gpt-gnn.

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.