/data/home/weiyb/miniconda3/envs/NLGraph/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/data/home/weiyb/miniconda3/envs/NLGraph/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet50_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet50_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
cat_node_feat_mf:  False
cat_n2v_feat:  False
Namespace(use_val_edges_as_input=False, data_name='cora', neg_mode='equal', gnn_model='GCN', score_model='mlp_score', load=None, loadmod=False, savemod=False, num_layers=1, num_layers_predictor=3, hidden_channels=128, dropout=0.3, batch_size=256, lr=0.005, epochs=1000, eval_steps=5, runs=5, kill_cnt=10, output_dir='/data/home/weiyb/HeaRT/checkpoints/GNN', l2=0.0005, seed=42, velr=0.005, fslr=0.005, hop_num=2, id=3, feat=10, VE='resnet50_tuned', test=False, layout_aug=False, save=False, use_saved_model=False, metric='MRR', device=0, log_steps=1, gin_mlp_layer=2, gat_head=1, cat_node_feat_mf=False, cat_n2v_feat=False)
the number of nodes in cora is:  2708
2708 tensor(2707)
dataset split 
train edge 4488
valid edge 263
valid edge_neg 263
test edge 527
test edge_neg 527
#################################           0           #################################
seed:  0
No saved model parameters found. Starting training from scratch.
layers in gcn:  1
train valid_pos valid_neg test_pos test_neg torch.Size([263]) torch.Size([263]) torch.Size([263]) torch.Size([527]) torch.Size([527])
Hits@1
2024-06-26 06:31:01,397 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 3.80%, Test: 3.61%
Hits@3
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 7.60%, Test: 3.61%
Hits@10
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 9.51%, Test: 9.11%
Hits@100
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 36.88%, Test: 24.48%
MRR
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 7.10%, Test: 5.22%
AUC
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 48.76%, Test: 49.94%
AP
2024-06-26 06:31:01,398 - [INFO] - Run: 01, Epoch: 05, Loss: 0.3190, Valid: 55.49%, Test: 56.41%
---
Best Current: 5.22_5
train valid_pos valid_neg test_pos test_neg torch.Size([263]) torch.Size([263]) torch.Size([263]) torch.Size([527]) torch.Size([527])
Hits@1
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 0.38%, Test: 0.57%
Hits@3
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 0.76%, Test: 0.76%
Hits@10
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 1.52%, Test: 1.14%
Hits@100
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 36.12%, Test: 21.44%
MRR
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 1.93%, Test: 1.42%
AUC
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 45.87%, Test: 49.58%
AP
2024-06-26 09:18:44,527 - [INFO] - Run: 01, Epoch: 10, Loss: 0.5459, Valid: 48.05%, Test: 50.14%
