Title: Performance issues in 7.%20ResNet/train.py(P2) · Issue #3 · Keyird/DeepLearning-TensorFlow2 · GitHub
Open Graph Title: Performance issues in 7. ResNet/train.py(P2) · Issue #3 · Keyird/DeepLearning-TensorFlow2
X Title: Performance issues in 7. ResNet/train.py(P2) · Issue #3 · Keyird/DeepLearning-TensorFlow2
Description: Hello,I found a performance issue in 7. ResNet/train.py , train_db = train_db.shuffle(50000).map was called without num_parallel_calls. I think it will increase the efficiency of your program if you add this. The same issues also exist...
Open Graph Description: Hello,I found a performance issue in 7. ResNet/train.py , train_db = train_db.shuffle(50000).map was called without num_parallel_calls. I think it will increase the efficiency of your program if ...
X Description: Hello,I found a performance issue in 7. ResNet/train.py , train_db = train_db.shuffle(50000).map was called without num_parallel_calls. I think it will increase the efficiency of your program if ...
Opengraph URL: https://github.com/Keyird/DeepLearning-TensorFlow2/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" Performance issues in 7.%20ResNet/train.py(P2)","articleBody":"Hello,I found a performance issue in `7.%20ResNet/train.py` ,\r\n[train_db = train_db.shuffle(50000).map](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L21) was called without **num_parallel_calls**.\r\nI think it will increase the efficiency of your program if you add this.\r\n\r\nThe same issues also exist in [test_db = test_db.map](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L24) ,\r\n[db = db.shuffle(1000).map](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/4.%20AlexNet/AlexNet.py#L99),\r\n[db = db.shuffle(1000).map](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/5.%20VGG11/VGG11.py#L99),\r\n\r\nHere is [the documemtation of tensorflow](https://tensorflow.google.cn/api_docs/python/tf/data/Dataset?hl=en#map) to support this thing.\r\n\r\nLooking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.","author":{"url":"https://github.com/DLPerf","@type":"Person","name":"DLPerf"},"datePublished":"2021-08-20T13:35:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/DeepLearning-TensorFlow2/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:b601584d-ce36-fc2f-82a3-c88206b35b67 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89BA:2F4D39:4F32C:6E87A:6A585654 |
| html-safe-nonce | 7ef78b42d80ea51d70ca969d4f0fc62e883c3dbfede8051a523232ba61c58c0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUJBOjJGNEQzOTo0RjMyQzo2RTg3QTo2QTU4NTY1NCIsInZpc2l0b3JfaWQiOiI2MzA3Nzg0NjE3MDQwMDQxNTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 80bad863d2aa7a5d2141e4ca17758d0cdf155842fdb902f0e78324b7e531e815 |
| hovercard-subject-tag | issue:975617816 |
| 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/Keyird/DeepLearning-TensorFlow2/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edd6a464759e7ed433bb068543c638802db3c44b75554acfe3c8ca7b49f783fa/Keyird/DeepLearning-TensorFlow2/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edd6a464759e7ed433bb068543c638802db3c44b75554acfe3c8ca7b49f783fa/Keyird/DeepLearning-TensorFlow2/issues/3 |
| og:image:alt | Hello,I found a performance issue in 7. ResNet/train.py , train_db = train_db.shuffle(50000).map was called without num_parallel_calls. I think it will increase the efficiency of your program if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DLPerf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/Keyird/DeepLearning-TensorFlow2 git https://github.com/Keyird/DeepLearning-TensorFlow2.git |
| octolytics-dimension-user_id | 46480540 |
| octolytics-dimension-user_login | Keyird |
| octolytics-dimension-repository_id | 255152147 |
| octolytics-dimension-repository_nwo | Keyird/DeepLearning-TensorFlow2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 255152147 |
| octolytics-dimension-repository_network_root_nwo | Keyird/DeepLearning-TensorFlow2 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width