Comments (3)
Hi: I've updated the permission. Could you try it again?
from gpt-gnn.
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.
I meet the same error. Did you solve it? @jiaruHithub
from gpt-gnn.
Related Issues (20)
- time_range for the finetuning experiment HOT 2
- attribute generation for pretrain_OAG
- About the training time
- How to generate a new graph?
- 'node_emb' & 'emb' in graph.node_features
- About Reddit pretraining | NameError: name 'graph' is not defined HOT 1
- IndexError: "index out of range in self" in training on custom dataset HOT 1
- Raise 'IndexError: index out of range in self' when I use HGTConv with my own dataset. HOT 1
- About down load the OAG dataset OAG_ALL HOT 1
- nothing
- How to generate vfi_vector.csv
- Amazon Review Recommendation Dataset
- error "return RenameUnpickler(file_obj).load() TypeError: an integer is required (got type bytes)" HOT 4
- KeyError: 'emb'
- get training data takes a long time
- How to choose pre-training data HOT 1
- [BUG]Typo int the README.md file about the paramter "--neg_samp_num" HOT 1
- The experimental result on ogbn-mag
- attr_ loss is a negative value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt-gnn.