forked from THUDM/GraphMAE2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_minibatch.sh
50 lines (48 loc) · 1 KB
/
run_minibatch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
dataset=$1
device=$2
[ -z "${dataset}" ] && dataset="ogbn-arxiv"
[ -z "${device}" ] && device=0
CUDA_VISIBLE_DEVICES=$device \
python main_large.py \
--device 0 \
--dataset $dataset \
--mask_type "mask" \
--mask_rate 0.5 \
--remask_rate 0.5 \
--num_remasking 3 \
--in_drop 0.2 \
--attn_drop 0.2 \
--num_layers 4 \
--num_dec_layers 1 \
--num_hidden 1024 \
--num_heads 4 \
--num_out_heads 1 \
--encoder "gat" \
--decoder "gat" \
--max_epoch 60 \
--max_epoch_f 1000 \
--lr 0.002 \
--weight_decay 0.04 \
--lr_f 0.005 \
--weight_decay_f 1e-4 \
--activation "prelu" \
--optimizer "adamw" \
--drop_edge_rate 0.5 \
--loss_fn "sce" \
--alpha_l 4 \
--mask_method "random" \
--scheduler \
--batch_size 512 \
--batch_size_f 256 \
--seeds 0 \
--residual \
--norm "layernorm" \
--sampling_method "lc" \
--label_rate 1.0 \
--lam 1.0 \
--momentum 0.996 \
--linear_prob \
--use_cfg \
--ego_graph_file_path "./lc_ego_graphs/${dataset}-lc-ego-graphs-256.pt" \
--data_dir "./dataset" \
# --logging