Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle len(pred_0.tensors) == 0 in is_same_node_merge #133

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

jiafatom
Copy link
Contributor

@jiafatom jiafatom commented Jul 2, 2020

Just see test_cycleGAN has an error in optimization in python35 (not happen every time.)

val_0 = numpy_helper.to_array(pred_0.tensors[0])
IndexError: list index out of range

Need handle this corner case.

@jiafatom jiafatom requested a review from wenbingl July 2, 2020 02:55
@jiafatom jiafatom merged commit 1550953 into microsoft:master Jul 2, 2020
@jiafatom jiafatom deleted the tensor_len branch July 2, 2020 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants