Skip to content

TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' #84

@POLARXSSS

Description

@POLARXSSS

Hi muhan, 我最近使用模型时遇到这个问题不知道怎么解决:
Traceback (most recent call last):
File "C:\Users\Miao Jiangbei\Desktop\计算机\机器学习\Lab\SEAL\Python\Main.py", line 162, in
train_graphs, test_graphs, max_n_label = links2subgraphs(
File "C:\Users\Miao Jiangbei\Desktop\计算机\机器学习\Lab\SEAL\Python\util_functions.py", line 135, in links2subgraphs
train_graphs = helper(A, train_pos, 1) + helper(A, train_neg, 0)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
我不知道为什么会得到'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions