Title: 為何要對圖形中 0-255 的灰階像素值做 normalization (將灰階值數值範圍縮減到 [0 - 1])? · Issue #3 · WomenWhoCodeTaipei/DeepLearningwithPython · GitHub
Open Graph Title: 為何要對圖形中 0-255 的灰階像素值做 normalization (將灰階值數值範圍縮減到 [0 - 1])? · Issue #3 · WomenWhoCodeTaipei/DeepLearningwithPython
X Title: 為何要對圖形中 0-255 的灰階像素值做 normalization (將灰階值數值範圍縮減到 [0 - 1])? · Issue #3 · WomenWhoCodeTaipei/DeepLearningwithPython
Description: 9/22 第二次讀書會(Chapter 2)現場提問 在 "A First Look at a Neural Network" note book 中,為何要將所有的灰階像素除以 255?(code example 如下)? train_images = train_images.reshape((60000, 28 * 28)) train_images = train_images.astype('float32') / 255 test_images = test...
Open Graph Description: 9/22 第二次讀書會(Chapter 2)現場提問 在 "A First Look at a Neural Network" note book 中,為何要將所有的灰階像素除以 255?(code example 如下)? train_images = train_images.reshape((60000, 28 * 28)) train_images = train_images.as...
X Description: 9/22 第二次讀書會(Chapter 2)現場提問 在 "A First Look at a Neural Network" note book 中,為何要將所有的灰階像素除以 255?(code example 如下)? train_images = train_images.reshape((60000, 28 * 28)) train_images = train...
Opengraph URL: https://github.com/WomenWhoCodeTaipei/DeepLearningwithPython/issues/3
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"為何要對圖形中 0-255 的灰階像素值做 normalization (將灰階值數值範圍縮減到 [0 - 1])?","articleBody":"9/22 第二次讀書會(Chapter 2)現場提問\r\n\r\n在 [\"A First Look at a Neural Network\"](https://github.com/fchollet/deep-learning-with-python-notebooks/blob/master/2.1-a-first-look-at-a-neural-network.ipynb) note book 中,為何要將所有的灰階像素除以 255?(code example 如下)?\r\n\r\n```\r\ntrain_images = train_images.reshape((60000, 28 * 28))\r\ntrain_images = train_images.astype('float32') / 255\r\n\r\ntest_images = test_images.reshape((10000, 28 * 28))\r\ntest_images = test_images.astype('float32') / 255\r\n```\r\n","author":{"url":"https://github.com/renewang","@type":"Person","name":"renewang"},"datePublished":"2018-09-28T06:04:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3/DeepLearningwithPython/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3de26f9e-74c9-8d05-71bc-d0d9d4cfedf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEBE:1D504F:4C73609:6345140:69754900 |
| html-safe-nonce | 2a6510aff8fb417eeea8726c80ba86a640c6dfc44e94085e2537f4041e6777d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUJFOjFENTA0Rjo0QzczNjA5OjYzNDUxNDA6Njk3NTQ5MDAiLCJ2aXNpdG9yX2lkIjoiMjQ5NDc5MzY1MDQyNDU5NjczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8885ce3dc1d33efd16abc2aa6d6533c5a36fa35b2a46e5d9fb67987de8629d0a |
| hovercard-subject-tag | issue:364752517 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/WomenWhoCodeTaipei/DeepLearningwithPython/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3333f2bc5d8b4e8d6b6f25cede26f4385615724f51b420a3754949646642d80f/WomenWhoCodeTaipei/DeepLearningwithPython/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3333f2bc5d8b4e8d6b6f25cede26f4385615724f51b420a3754949646642d80f/WomenWhoCodeTaipei/DeepLearningwithPython/issues/3 |
| og:image:alt | 9/22 第二次讀書會(Chapter 2)現場提問 在 "A First Look at a Neural Network" note book 中,為何要將所有的灰階像素除以 255?(code example 如下)? train_images = train_images.reshape((60000, 28 * 28)) train_images = train_images.as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | renewang |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/WomenWhoCodeTaipei/DeepLearningwithPython git https://github.com/WomenWhoCodeTaipei/DeepLearningwithPython.git |
| octolytics-dimension-user_id | 33110462 |
| octolytics-dimension-user_login | WomenWhoCodeTaipei |
| octolytics-dimension-repository_id | 147282085 |
| octolytics-dimension-repository_nwo | WomenWhoCodeTaipei/DeepLearningwithPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 147282085 |
| octolytics-dimension-repository_network_root_nwo | WomenWhoCodeTaipei/DeepLearningwithPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width