Skip to content

The hyper_opti.py in FP-GNN  #2

@mamei1016

Description

@mamei1016

when i When I run code run hyper_opti.py in FP-GNN in multitask situations, it always reminds me of the following error:

File "F:\Code\molecule\Two paper\reference code\FP-GNN-main\FP-GNN-main\train.py", line 39, in training
info(f'Average test {one_name} {args.metric} = {np.nanmean(score[:, i]):.6f} +/- {np.nanstd(score[:, i]):.6f}')
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

how to solve
Thank you!

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