{"action":"closed","issue":{"url":"https://api.github.com/repos/lambdaji/tf_repos/issues/20","repository_url":"https://api.github.com/repos/lambdaji/tf_repos","labels_url":"https://api.github.com/repos/lambdaji/tf_repos/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/lambdaji/tf_repos/issues/20/comments","events_url":"https://api.github.com/repos/lambdaji/tf_repos/issues/20/events","html_url":"https://github.com/lambdaji/tf_repos/issues/20","id":381453143,"node_id":"MDU6SXNzdWUzODE0NTMxNDM=","number":20,"title":"loss计算问题","user":{"login":"laketitikakaou","id":23240074,"node_id":"MDQ6VXNlcjIzMjQwMDc0","avatar_url":"https://avatars3.githubusercontent.com/u/23240074?v=4","gravatar_id":"","url":"https://api.github.com/users/laketitikakaou","html_url":"https://github.com/laketitikakaou","followers_url":"https://api.github.com/users/laketitikakaou/followers","following_url":"https://api.github.com/users/laketitikakaou/following{/other_user}","gists_url":"https://api.github.com/users/laketitikakaou/gists{/gist_id}","starred_url":"https://api.github.com/users/laketitikakaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laketitikakaou/subscriptions","organizations_url":"https://api.github.com/users/laketitikakaou/orgs","repos_url":"https://api.github.com/users/laketitikakaou/repos","events_url":"https://api.github.com/users/laketitikakaou/events{/privacy}","received_events_url":"https://api.github.com/users/laketitikakaou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T05:33:03Z","updated_at":"2018-11-16T06:18:13Z","closed_at":"2018-11-16T06:18:13Z","author_association":"NONE","body":"loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=y, labels=labels)) \r\n这里的计算loss的时候，预测值使用的是y,在代码里面y是未经过sigmoid激活函数的一个输出，想请教一下这样做的原因，因为通常来说分类任务都是会经过sigmoid做预测的。\r\nPS：比较困惑的是，做实验发现不经过sigmoid网络优化的更好，但是一经过sigmoid之后就会差很多。\r\n谢谢！"}}
{"actor":{"display_login":"laketitikakaou"}}