René's URL Explorer Experiment


Title: Performance issues in your project (by P3) · Issue #5 · Keyird/DeepLearning-TensorFlow2 · GitHub

Open Graph Title: Performance issues in your project (by P3) · Issue #5 · Keyird/DeepLearning-TensorFlow2

X Title: Performance issues in your project (by P3) · Issue #5 · Keyird/DeepLearning-TensorFlow2

Description: Hello! I've found a performance issue in your project: batch() should be called before map(), which could make your program more efficient. Here is the tensorflow document to support it. Detailed description is listed below: /7. ResNet/t...

Open Graph Description: Hello! I've found a performance issue in your project: batch() should be called before map(), which could make your program more efficient. Here is the tensorflow document to support it. Detailed d...

X Description: Hello! I've found a performance issue in your project: batch() should be called before map(), which could make your program more efficient. Here is the tensorflow document to support it. Detail...

Opengraph URL: https://github.com/Keyird/DeepLearning-TensorFlow2/issues/5

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performance issues in your project (by P3)","articleBody":"Hello! I've found a performance issue in your project: `batch()` should be called before `map()`, which could make your program more efficient. Here is [the tensorflow document](https://tensorflow.google.cn/guide/data_performance?hl=zh_cn#vectorized_mapping) to support it.\r\n\r\nDetailed description is listed below:\r\n\r\n- /7. ResNet/train.py: `.batch(128)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L21) should be called before `.map(preprocess)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L21).\r\n- /7. ResNet/train.py: `.batch(128)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L24) should be called before `.map(preprocess)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L24).\r\n- /4. AlexNet/AlexNet.py: `.batch(32)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/4.%20AlexNet/AlexNet.py#L99) should be called before `.map(preprocess)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/4.%20AlexNet/AlexNet.py#L99).\r\n- /5. VGG11/VGG11.py: `.batch(16)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/5.%20VGG11/VGG11.py#L99) should be called before `.map(preprocess)`[(here)](https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/5.%20VGG11/VGG11.py#L99).\r\n\r\nBesides, you need to check the function called in `map()`(e.g., `preprocess` called in `.map(preprocess)`) whether to be affected or not to make the changed code work properly. For example, if `preprocess` needs data with shape (x, y, z) as its input before fix, it would require data with shape (batch_size, x, y, z).\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-29T12:57:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5/DeepLearning-TensorFlow2/issues/5"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:71db729a-2685-91e4-c471-89f4076ad284
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE99A:38EED0:6408981:8D6C86F:6A5756AA
html-safe-nonce0c716a66d09268be1cce5a0f6420a468d9c84ced376ad8b81d62a30fedcbbc9f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTlBOjM4RUVEMDo2NDA4OTgxOjhENkM4NkY6NkE1NzU2QUEiLCJ2aXNpdG9yX2lkIjoiNTg2NzA4MTIxMzk1ODExNzAzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4bb936b426ac05765814b676120eeaf9034bd955c7cf6ae698c5069b231b0dca
hovercard-subject-tagissue:982092327
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Keyird/DeepLearning-TensorFlow2/5/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ec6416264c59ebcc381c8f87bd11e234d0e41ee5a4526d26d3dfb880bd125e73/Keyird/DeepLearning-TensorFlow2/issues/5
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec6416264c59ebcc381c8f87bd11e234d0e41ee5a4526d26d3dfb880bd125e73/Keyird/DeepLearning-TensorFlow2/issues/5
og:image:altHello! I've found a performance issue in your project: batch() should be called before map(), which could make your program more efficient. Here is the tensorflow document to support it. Detailed d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDLPerf
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
turbo-cache-controlno-preview
go-importgithub.com/Keyird/DeepLearning-TensorFlow2 git https://github.com/Keyird/DeepLearning-TensorFlow2.git
octolytics-dimension-user_id46480540
octolytics-dimension-user_loginKeyird
octolytics-dimension-repository_id255152147
octolytics-dimension-repository_nwoKeyird/DeepLearning-TensorFlow2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id255152147
octolytics-dimension-repository_network_root_nwoKeyird/DeepLearning-TensorFlow2
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release602250ea3b6dd8302a7220ef98adb828dbc807e4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Keyird/DeepLearning-TensorFlow2/issues/5#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FKeyird%2FDeepLearning-TensorFlow2%2Fissues%2F5
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FKeyird%2FDeepLearning-TensorFlow2%2Fissues%2F5
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Keyird%2FDeepLearning-TensorFlow2
Reloadhttps://github.com/Keyird/DeepLearning-TensorFlow2/issues/5
Reloadhttps://github.com/Keyird/DeepLearning-TensorFlow2/issues/5
Reloadhttps://github.com/Keyird/DeepLearning-TensorFlow2/issues/5
Keyird https://github.com/Keyird
DeepLearning-TensorFlow2https://github.com/Keyird/DeepLearning-TensorFlow2
Notifications https://github.com/login?return_to=%2FKeyird%2FDeepLearning-TensorFlow2
Fork 112 https://github.com/login?return_to=%2FKeyird%2FDeepLearning-TensorFlow2
Star 355 https://github.com/login?return_to=%2FKeyird%2FDeepLearning-TensorFlow2
Code https://github.com/Keyird/DeepLearning-TensorFlow2
Issues 4 https://github.com/Keyird/DeepLearning-TensorFlow2/issues
Pull requests 0 https://github.com/Keyird/DeepLearning-TensorFlow2/pulls
Actions https://github.com/Keyird/DeepLearning-TensorFlow2/actions
Projects https://github.com/Keyird/DeepLearning-TensorFlow2/projects
Security and quality 0 https://github.com/Keyird/DeepLearning-TensorFlow2/security
Insights https://github.com/Keyird/DeepLearning-TensorFlow2/pulse
Code https://github.com/Keyird/DeepLearning-TensorFlow2
Issues https://github.com/Keyird/DeepLearning-TensorFlow2/issues
Pull requests https://github.com/Keyird/DeepLearning-TensorFlow2/pulls
Actions https://github.com/Keyird/DeepLearning-TensorFlow2/actions
Projects https://github.com/Keyird/DeepLearning-TensorFlow2/projects
Security and quality https://github.com/Keyird/DeepLearning-TensorFlow2/security
Insights https://github.com/Keyird/DeepLearning-TensorFlow2/pulse
Performance issues in your project (by P3)https://github.com/Keyird/DeepLearning-TensorFlow2/issues/5#top
https://github.com/DLPerf
DLPerfhttps://github.com/DLPerf
on Aug 29, 2021https://github.com/Keyird/DeepLearning-TensorFlow2/issues/5#issue-982092327
the tensorflow documenthttps://tensorflow.google.cn/guide/data_performance?hl=zh_cn#vectorized_mapping
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L21
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L21
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L24
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/7.%20ResNet/train.py#L24
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/4.%20AlexNet/AlexNet.py#L99
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/4.%20AlexNet/AlexNet.py#L99
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/5.%20VGG11/VGG11.py#L99
(here)https://github.com/Keyird/DeepLearning-TensorFlow2/blob/118e16981498ffd73e9b98c3805d0666fd0c70bc/5.%20VGG11/VGG11.py#L99
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.