Skip to content

bug :wired_table_rec/table_recover.py #33

Answered by Kyrie666
Kyrie666 asked this question in Q&A
Discussion options

You must be logged in to vote

split_idxs = np.argwhere(abs(minus_res) > thresh).squeeze() 输出变量是一个数组,可能是空数组,但仍然是一个数组;
if split_idxs.ndim == 0: 这个条件永远不会为真,max(split_idxs) 就会报错。

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Joker1212
Comment options

@Kyrie666
Comment options

@Joker1212
Comment options

@Joker1212
Comment options

Answer selected by Joker1212
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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