Skip to content

Update deep_atropos file to optimize performance and remove TensorFlow warning#169

Open
Uttampatel1 wants to merge 1 commit intoANTsX:masterfrom
Uttampatel1:patch-1
Open

Update deep_atropos file to optimize performance and remove TensorFlow warning#169
Uttampatel1 wants to merge 1 commit intoANTsX:masterfrom
Uttampatel1:patch-1

Conversation

@Uttampatel1
Copy link

Optimize the overall code for model loading and prediction to use less memory compared to the previous code. Also, remove unnecessary lines. more convenience latest TensorFlow version

Optimize the overall code for model loading and prediction to use less memory compared to the previous code. Also, remove unnecessary lines.
input_images.append(t1[2])
elif t1[1] is not None:
input_images.extend([t1[1], t1[2]])
elif t1[1] is not None and t1[2] is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second and third conditions shouldn't be identical.

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