R3DCNN
R3DCNN copied to clipboard
evaluation accuracy
hi, the eval result is mean_edit_distance, could I use tf.metrics.accuracy to evaluate the accuracy? Could you please tell me how should I modify the code? eval_metric_ops = {"accuracy": tf.metrics.accuracy(labels,predictions)} it is not working...
PS: very interest in your post but have no experience about that.
im using below code to try to get the accuracy for the latest epcoh, but seems something wrong, the accuracy number always change to 0.5 and 0.75 with no any other numbers. dense_label = tf.sparse_tensor_to_dense(labels) dense_prediction = tf.cast(tf.sparse_tensor_to_dense(decoded[0]),tf.int32) eval_metric_ops = {"accuracy": tf.metrics.accuracy(dense_label,dense_prediction)}
ctc outputs a vector rather than a scalar. you cant use accuracy with its output.发自我的华为手机-------- 原始邮件 --------主题:[breadbread1984/R3DCNN] evaluation accuracy (#6)发件人:sunnymoon155 收件人:breadbread1984/R3DCNN 抄送:Subscribed hi, the eval result is mean_edit_distance, could I use tf.metrics.accuracy to evaluate the accuracy? Could you please tell me how should I modify the code? eval_metric_ops = {"accuracy": tf.metrics.accuracy(labels,predictions)} it is not working...
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/breadbread1984/R3DCNN","title":"breadbread1984/R3DCNN","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/breadbread1984/R3DCNN"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"evaluation accuracy (#6)"}],"action":{"name":"View Issue","url":"https://github.com/breadbread1984/R3DCNN/issues/6"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/breadbread1984/R3DCNN/issues/6", "url": "https://github.com/breadbread1984/R3DCNN/issues/6", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "evaluation accuracy (#6)", "sections": [ { "text": "", "activityTitle": "sunnymoon155", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@sunnymoon155", "facts": [ { "name": "Repository: ", "value": "breadbread1984/R3DCNN" }, { "name": "Issue #: ", "value": 6 } ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "breadbread1984/R3DCNN",\n"issueId": 6,\n"IssueComment": "{{IssueComment.value}}"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n"commandName": "IssueClose",\n"repositoryFullName": "breadbread1984/R3DCNN",\n"issueId": 6\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/breadbread1984/R3DCNN/issues/6" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n"commandName": "MuteNotification",\n"threadId": 414438653\n}" } ], "themeColor": "26292E" } ]