Performance issues in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py(P2)

Open
#369 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python, tensorflow

Research direction

Start in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py at the train_dataset.map call around line 105 and the test_dataset.map call around line 107. Review the TensorFlow Dataset.map documentation linked in the issue, and consider the work done when both calls use an appropriate parallel-call setting.

Written by the indexing model from the issue text.

Description

Hello,I found a performance issue in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py ,
train_dataset = train_dataset.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 in test_dataset = test_dataset.map

Here is the documemtation of tensorflow to support this thing.

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

Dominant language
Python
Stars
383
Forks
93
Avg merge
1d 3h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tensorflow/cloud

All issues in tensorflow/cloud

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.