Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Performance issues in your project (by P3) #5

Open

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/train.py: .batch(128)(here) should be called before .map(preprocess)(here).
  • /7. ResNet/train.py: .batch(128)(here) should be called before .map(preprocess)(here).
  • /4. AlexNet/AlexNet.py: .batch(32)(here) should be called before .map(preprocess)(here).
  • /5. VGG11/VGG11.py: .batch(16)(here) should be called before .map(preprocess)(here).

Besides, 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).

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /