Skip to content

Conversation

@abgoswam
Copy link
Member

Fixes #779

(1) address the additional comments on the original TensorFlowTransform PR

(2) added an additional unit test to verify invalid shapes are being handled correctly

@zeahmed
Copy link
Contributor

zeahmed commented Aug 31, 2018

            Assert.Equal(0.99, metrics.AccuracyMicro, 2);

Can you please fix this too? this was my typo. Eric E. had comment on this. One of them is AccuracyMacro. #Closed


Refers to: test/Microsoft.ML.Tests/ScenariosWithDirectInstantiation/TensorflowTests.cs:122 in 88db7be. [](commit_id = 88db7be, deletion_comment = False)

Copy link
Contributor

@zeahmed zeahmed left a comment

Choose a reason for hiding this comment

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

:shipit:

var thrown = false;
try
{
IDataView trans = TensorFlowTransform.Create(env, pixels, model_location, "Output", "Input");
Copy link
Member

@eerhardt eerhardt Aug 31, 2018

Choose a reason for hiding this comment

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

Can use Assert.Throws instead of manually try catching. #Pending

Copy link
Member Author

@abgoswam abgoswam Sep 1, 2018

Choose a reason for hiding this comment

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

for now i am keeping this as-is. will consider using Assert.Throws in future


In reply to: 214481486 [](ancestors = 214481486)

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

:shipit:

@eerhardt
Copy link
Member

eerhardt commented Aug 31, 2018

Thanks for fixing these up. #Resolved

@abgoswam abgoswam merged commit a3b67d3 into dotnet:master Sep 1, 2018
@abgoswam abgoswam deleted the abgoswam/unitestfixes branch September 24, 2018 15:03
@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants