Skip to content

Align TensorFlow and OpenCV paths to create a text graph - #13735

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:fix_13725
Feb 1, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:fix_13725

Conversation

@dkurt

@dkurt dkurt commented Jan 31, 2019

Copy link
Copy Markdown
Member

This pullrequest changes

resolves #13725

This fix aligns TensorFlow's and OpenCV's paths for text graphs creation:

for (it = net.mutable_node()->begin(); it != net.mutable_node()->end(); ++it)
{
if (it->op() == "Const")
{
it->mutable_attr()->at("value").mutable_tensor()->clear_tensor_content();
}
}

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Well done!

@opencv-pushbot
opencv-pushbot merged commit 252fd63 into opencv:3.4 Feb 1, 2019
opencv-pushbot pushed a commit that referenced this pull request Feb 1, 2019
@alalek alalek mentioned this pull request Feb 1, 2019
@dkurt
dkurt deleted the fix_13725 branch May 6, 2019 05:49
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants