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!
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!