Skip to content
Discussion options

You must be logged in to vote
import argparse
import os.path as osp
import torch
import torch.nn.functional as F
from torch_geometric.datasets import UPFD
from torch_geometric.data import DataLoader
from torch_geometric.transforms import ToUndirected
from torch_geometric.nn import GCNConv
from torch_geometric.utils import negative_sampling, to_dense_batch, to_dense_adj

parser = argparse.ArgumentParser()
parser.add_argument('--dataset', type=str, default='politifact',
                    choices=['politifact', 'gossipcop'])
parser.add_argument('--feature', type=str, default='profile',
                    choices=['profile', 'spacy', 'bert', 'content'])
args = parser.parse_args()

path = osp.join(osp.dirname(osp.realpath(

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@A11en0
Comment options

Comment options

You must be logged in to vote
2 replies
@rusty1s
Comment options

@rusty1s
Comment options

Answer selected by A11en0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants