# Data Pipelines with TensorFlow Data Services

**URL:** https://dlai.staged-by-discourse.com/c/course-q-a/tensorflow-data-and-deployment-specialization/tf2-course-3/143.md

[Latest](https://dlai.staged-by-discourse.com/latest.md) · [Categories](https://dlai.staged-by-discourse.com/categories.md) · [Tags](https://dlai.staged-by-discourse.com/tags.md)

---

## [About the Data Pipelines with TensorFlow Data Services category](https://dlai.staged-by-discourse.com/t/about-the-data-pipelines-with-tensorflow-data-services-category/26471)

<div class="topic-metadata">

**Author:** [@Community-Team](https://dlai.staged-by-discourse.com/u/Community-Team)\
**Replies:** 0

</div>

Welcome to course 2 of Tensorflow Data and Deployment In this third course, you will: Perform streamlined ETL tasks using TensorFlow Data Services Load different datasets and custom feature vectors using TensorFlow Hu…

---

## [C3W2 Assignment: Kernel keeps crashing in the "Split the dataset" cell](https://dlai.staged-by-discourse.com/t/c3w2-assignment-kernel-keeps-crashing-in-the-split-the-dataset-cell/888522)

<div class="topic-metadata">

**Author:** [@mahmoud.j](https://dlai.staged-by-discourse.com/u/mahmoud.j)\
**Replies:** 5\
**Last updated:** [February 18, 2026, 6:04am UTC](https://dlai.staged-by-discourse.com/t/c3w2-assignment-kernel-keeps-crashing-in-the-split-the-dataset-cell/888522 "2026-02-18T06:04:49Z")

</div>

I am working on the “Data Pipelines with TensorFlow Data Services” , week 2 assignment and the kernel keeps crashing in the Split the dataset I suspect the issue is that the runtime is running a different version that …

---

## [C3W2\_Assignment (TFDS-V2-Week2). Error: AttributeError](https://dlai.staged-by-discourse.com/t/c3w2-assignment-tfds-v2-week2-error-attributeerror/793700)

<div class="topic-metadata">

**Author:** [@bala\_actuary](https://dlai.staged-by-discourse.com/u/bala_actuary)\
**Replies:** 1\
**Last updated:** [March 31, 2025, 11:58am UTC](https://dlai.staged-by-discourse.com/t/c3w2-assignment-tfds-v2-week2-error-attributeerror/793700 "2025-03-31T11:58:36Z")

</div>

I am getting the below error repeatedly for the C3W2 Assignment (TFDS-V2-Week2). Can anyone please let me know the way to fix this and move on to the next course?

---

## [Feature\_columns.ipynb : AttributeError: module 'keras.\_tf\_keras.keras.layers' has no attribute 'DenseFeatures'](https://dlai.staged-by-discourse.com/t/feature-columns-ipynb-attributeerror-module-keras-tf-keras-keras-layers-has-no-attribute-densefeatures/693636)

<div class="topic-metadata">

**Author:** [@Thierry\_Pochon](https://dlai.staged-by-discourse.com/u/Thierry_Pochon)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 3:00pm UTC](https://dlai.staged-by-discourse.com/t/feature-columns-ipynb-attributeerror-module-keras-tf-keras-keras-layers-has-no-attribute-densefeatures/693636 "2025-01-08T15:00:49Z")

</div>

in notebook feature\_columns.ipynb : Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera when I run cell : photo\_count = feature\_column.numeric\_column(‘PhotoAmt’) demo(photo\_count) I g…

---

## [Too many values to unpack (expected 2) -can someone point me towards previous lectures on one-hot encoding?](https://dlai.staged-by-discourse.com/t/too-many-values-to-unpack-expected-2-can-someone-point-me-towards-previous-lectures-on-one-hot-encoding/746988)

<div class="topic-metadata">

**Author:** [@Cormac\_Garvey](https://dlai.staged-by-discourse.com/u/Cormac_Garvey)\
**Replies:** 6\
**Last updated:** [January 6, 2025, 3:10pm UTC](https://dlai.staged-by-discourse.com/t/too-many-values-to-unpack-expected-2-can-someone-point-me-towards-previous-lectures-on-one-hot-encoding/746988 "2025-01-06T15:10:42Z")

</div>

Hi Folks, im stuck on the week1 exercise for 3 weeks now: Step 3 - Mapping one hot encode function to dataset Previously all cells compiled, but grader does not accept it so i am re writing some cells to see if it mak…

---

## [Assignment TFDS-V2-Week2 The kernel appears to have died. It will restart automatically](https://dlai.staged-by-discourse.com/t/assignment-tfds-v2-week2-the-kernel-appears-to-have-died-it-will-restart-automatically/739465)

<div class="topic-metadata">

**Author:** [@Cormac\_Garvey](https://dlai.staged-by-discourse.com/u/Cormac_Garvey)\
**Replies:** 4\
**Last updated:** [December 30, 2024, 4:24pm UTC](https://dlai.staged-by-discourse.com/t/assignment-tfds-v2-week2-the-kernel-appears-to-have-died-it-will-restart-automatically/739465 "2024-12-30T16:24:42Z")

</div>

Cannot progress past # EXERCISE: Split the dataset … without the message: The kernel appears to have died. It will restart automatically. I keep getting dead kernel message. THere is a line of code that splits 1 dat…

---

## [2024 , this problem is back and data\_dir is not the solution: TypeError("\_\_init\_\_() missing 2 required positional arguments: 'op' and 'message'",)](https://dlai.staged-by-discourse.com/t/2024-this-problem-is-back-and-data-dir-is-not-the-solution-typeerror-init-missing-2-required-positional-arguments-op-and-message/739368)

<div class="topic-metadata">

**Author:** [@Cormac\_Garvey](https://dlai.staged-by-discourse.com/u/Cormac_Garvey)\
**Replies:** 10\
**Last updated:** [December 30, 2024, 3:11pm UTC](https://dlai.staged-by-discourse.com/t/2024-this-problem-is-back-and-data-dir-is-not-the-solution-typeerror-init-missing-2-required-positional-arguments-op-and-message/739368 "2024-12-30T15:11:01Z")

</div>

Im reposting this common error as all the other threads are closed, and simply adding data\_dir (it was never missing, for me) is not the solution. After 20 grader fails, I find myself spending more time on the coursera g…

---

## [C3W2 Assignment: Grader ran out of memory while grading the submission](https://dlai.staged-by-discourse.com/t/c3w2-assignment-grader-ran-out-of-memory-while-grading-the-submission/30644)

<div class="topic-metadata">

**Author:** [@Mubsi](https://dlai.staged-by-discourse.com/u/Mubsi)\
**Replies:** 16\
**Last updated:** [December 26, 2024, 1:23pm UTC](https://dlai.staged-by-discourse.com/t/c3w2-assignment-grader-ran-out-of-memory-while-grading-the-submission/30644 "2024-12-26T13:23:20Z")

</div>

If you do face this error message “Grader ran out of memory while grading the submission. Please contact support or wait for 24 hours to submit” from the grader’s output, comment in this thread if it is still not solved …

---

## [Error: TypeError("\_\_init\_\_() missing 2 required positional arguments: 'op' and 'message'",)](https://dlai.staged-by-discourse.com/t/error-typeerror-init-missing-2-required-positional-arguments-op-and-message/220728)

<div class="topic-metadata">

**Author:** [@Z\_G](https://dlai.staged-by-discourse.com/u/Z_G)\
**Replies:** 28\
**Last updated:** [December 26, 2024, 10:55am UTC](https://dlai.staged-by-discourse.com/t/error-typeerror-init-missing-2-required-positional-arguments-op-and-message/220728 "2024-12-26T10:55:03Z")

</div>

I am able to run the complete notebook including the optional evaluation step. However, my grader is failing with this- Cell #3. Can’t compile the student’s code. Error: TypeError(“init() missing 2 required positional …

---

## [Week1 Assignment cell 2 - ouput differs from expected output. is it still correct?](https://dlai.staged-by-discourse.com/t/week1-assignment-cell-2-ouput-differs-from-expected-output-is-it-still-correct/739364)

<div class="topic-metadata">

**Author:** [@Cormac\_Garvey](https://dlai.staged-by-discourse.com/u/Cormac_Garvey)\
**Replies:** 4\
**Last updated:** [December 25, 2024, 8:34am UTC](https://dlai.staged-by-discourse.com/t/week1-assignment-cell-2-ouput-differs-from-expected-output-is-it-still-correct/739364 "2024-12-25T08:34:02Z")

</div>

link to the classroom: https://www.coursera.org/learn/data-pipelines-tensorflow/home/week/1 The grader fails this assignment even though code executes correctly in the coursera jupyter notebook. (I am now exploring all…

---

## [C3W2 BBC News](https://dlai.staged-by-discourse.com/t/c3w2-bbc-news/732285)

<div class="topic-metadata">

**Author:** [@Sherry\_Marcus](https://dlai.staged-by-discourse.com/u/Sherry_Marcus)\
**Replies:** 1\
**Last updated:** [December 7, 2024, 1:30am UTC](https://dlai.staged-by-discourse.com/t/c3w2-bbc-news/732285 "2024-12-07T01:30:45Z")

</div>

I am getting this error in the pre\_processing section: There was an error grading your submission. Details: {{function\_node \_wrapped\_\_IteratorGetNext\_output\_types\_2\_device/job:localhost/replica:0/task:0/device:CPU:0}} …

---

## [TFDS-V2-WEEK4, unexpected error occurred during variable check](https://dlai.staged-by-discourse.com/t/tfds-v2-week4-unexpected-error-occurred-during-variable-check/721800)

<div class="topic-metadata">

**Author:** [@Nazar03](https://dlai.staged-by-discourse.com/u/Nazar03)\
**Replies:** 10\
**Last updated:** [November 12, 2024, 10:13am UTC](https://dlai.staged-by-discourse.com/t/tfds-v2-week4-unexpected-error-occurred-during-variable-check/721800 "2024-11-12T10:13:51Z")

</div>

I got this message when submitting my results: Unexpected error occurred during variable check. We expected variable train\_dataset to be of type \<class ‘int’\>. Please check that this variable is initialized and is of th…

---

## [Dead kernel error in Week 2 assignment](https://dlai.staged-by-discourse.com/t/dead-kernel-error-in-week-2-assignment/75639)

<div class="topic-metadata">

**Author:** [@Brendan\_Horsfield](https://dlai.staged-by-discourse.com/u/Brendan_Horsfield)\
**Replies:** 9\
**Last updated:** [April 8, 2024, 10:38am UTC](https://dlai.staged-by-discourse.com/t/dead-kernel-error-in-week-2-assignment/75639 "2024-04-08T10:38:46Z")

</div>

I am trying to train the Dogs & Cats model in the Week 2 assignment for the TF Data & Deployment course. However, each time I try to start a training run the kernel dies. The other cells in the notebook all run without…

---

## [Week4 lab is not loading](https://dlai.staged-by-discourse.com/t/week4-lab-is-not-loading/708727)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Skrzypski](https://dlai.staged-by-discourse.com/u/Krzysztof_Skrzypski)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 2:46pm UTC](https://dlai.staged-by-discourse.com/t/week4-lab-is-not-loading/708727 "2024-10-17T14:46:13Z")

</div>

Link to the classroom: https://www.coursera.org/learn/data-pipelines-tensorflow/programming/uUjBu/parallelization-with-tfds/lab Description: Lab is not loading, it’s always stuck at 50% in various browsers, there are …

---

## [Lab failing to load](https://dlai.staged-by-discourse.com/t/lab-failing-to-load/446310)

<div class="topic-metadata">

**Author:** [@jkh.goh](https://dlai.staged-by-discourse.com/u/jkh.goh)\
**Replies:** 7\
**Last updated:** [October 15, 2024, 4:59pm UTC](https://dlai.staged-by-discourse.com/t/lab-failing-to-load/446310 "2024-10-15T16:59:34Z")

</div>

Hi, I am having problem loading the lab for C3W3: Classify Structured Data. The lab loads up to 50% and stalls. I have tried: (1) Reloading the lab (2) Clearing my browser cache (3) Restarting the browser (4) Loggi…

---

## [Strange Bug and Broken notebook in C2\_W4](https://dlai.staged-by-discourse.com/t/strange-bug-and-broken-notebook-in-c2-w4/698816)

<div class="topic-metadata">

**Author:** [@vaidabhishek](https://dlai.staged-by-discourse.com/u/vaidabhishek)\
**Replies:** 2\
**Last updated:** [September 26, 2024, 10:13pm UTC](https://dlai.staged-by-discourse.com/t/strange-bug-and-broken-notebook-in-c2-w4/698816 "2024-09-26T22:13:04Z")

</div>

In week4 grading assignment. There’s this very strange bug. If I open the train/A folder and browse a few images (open them in tabs by clicknig on them) then the count in dataset increases. The count exactly increases by…

---

## [FailedPreconditionError in TFDS-V2-Week1](https://dlai.staged-by-discourse.com/t/failedpreconditionerror-in-tfds-v2-week1/697080)

<div class="topic-metadata">

**Author:** [@RobertStan](https://dlai.staged-by-discourse.com/u/RobertStan)\
**Replies:** 5\
**Last updated:** [September 24, 2024, 6:34am UTC](https://dlai.staged-by-discourse.com/t/failedpreconditionerror-in-tfds-v2-week1/697080 "2024-09-24T06:34:40Z")

</div>

In Week 1, Exercise 1 - Rock, Paper, Scissors, the code throws a error (attached error message). I am unable to load any other data into these notebooks but the same code is working in Google Colab. FailedPreconditionEr…

---

## [C3W2 assignment issue cell 3](https://dlai.staged-by-discourse.com/t/c3w2-assignment-issue-cell-3/634727)

<div class="topic-metadata">

**Author:** [@Dennis\_Sinitsky](https://dlai.staged-by-discourse.com/u/Dennis_Sinitsky)\
**Replies:** 11\
**Last updated:** [August 13, 2024, 4:46pm UTC](https://dlai.staged-by-discourse.com/t/c3w2-assignment-issue-cell-3/634727 "2024-08-13T16:46:16Z")

</div>

I get this message when submit my job: Cell #3. Can’t compile the student’s code. Error: TypeError(“init() missing 2 required positional arguments: ‘op’ and ‘message’”,) In the past, other learners posted this issue an…

---

## [Some slides of week three are missing](https://dlai.staged-by-discourse.com/t/some-slides-of-week-three-are-missing/265498)

<div class="topic-metadata">

**Author:** [@veysel\_sapan](https://dlai.staged-by-discourse.com/u/veysel_sapan)\
**Replies:** 16\
**Last updated:** [July 10, 2024, 2:58pm UTC](https://dlai.staged-by-discourse.com/t/some-slides-of-week-three-are-missing/265498 "2024-07-10T14:58:28Z")

</div>

Hello, The slides in the video and the shared slides do not match. More precisely, some of the topics covered in the third week, especially the last ones, were not included in the slide. Any chance of updating and repos…

---

## [Your solution should have 15 code-cells, but you have 16](https://dlai.staged-by-discourse.com/t/your-solution-should-have-15-code-cells-but-you-have-16/650684)

<div class="topic-metadata">

**Author:** [@alfian\_arya](https://dlai.staged-by-discourse.com/u/alfian_arya)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 1:24pm UTC](https://dlai.staged-by-discourse.com/t/your-solution-should-have-15-code-cells-but-you-have-16/650684 "2024-06-20T13:24:58Z")

</div>

I finding some problem in my assignment in week4, the output grader shown below: Exercise 4 Filename: Exercise 4 0/100Score: 0 of 100 Hide grader output Grader output Your solution should have 15 code-cells, but you…

---

## [TFDS-V2-Week2](https://dlai.staged-by-discourse.com/t/tfds-v2-week2/516864)

<div class="topic-metadata">

**Author:** [@Muqoddam\_Husni\_Wijay](https://dlai.staged-by-discourse.com/u/Muqoddam_Husni_Wijay)\
**Replies:** 2\
**Last updated:** [June 5, 2024, 1:25am UTC](https://dlai.staged-by-discourse.com/t/tfds-v2-week2/516864 "2024-06-05T01:25:56Z")

</div>

after I finished my assigment, there was an error in my code Cell #3. Can’t compile the student’s code. Error: TypeError(“init() missing 2 required positional arguments: ‘op’ and ‘message’”,)

---

## [C3W2 Assignment 'Exercise 2': Notebook OK?, Grader fails: "Cell #5. Can't compile the student's code. Error: InvalidArgumentError()"](https://dlai.staged-by-discourse.com/t/c3w2-assignment-exercise-2-notebook-ok-grader-fails-cell-5-cant-compile-the-students-code-error-invalidargumenterror/624386)

<div class="topic-metadata">

**Author:** [@covelus](https://dlai.staged-by-discourse.com/u/covelus)\
**Replies:** 1\
**Last updated:** [May 11, 2024, 2:20pm UTC](https://dlai.staged-by-discourse.com/t/c3w2-assignment-exercise-2-notebook-ok-grader-fails-cell-5-cant-compile-the-students-code-error-invalidargumenterror/624386 "2024-05-11T14:20:32Z")

</div>

Hello, I am having an issue with this assignment, I wonder if someone could help me, please: Site demanded Info: Week 2. Link to the classroom item: Coursera | Online Courses & Credentials From Top Educators. Join for…

---

## [C2\_Week 3 Assignment: Data Pipeline Components for Production](https://dlai.staged-by-discourse.com/t/c2-week-3-assignment-data-pipeline-components-for-production/592870)

<div class="topic-metadata">

**Author:** [@chutintorn](https://dlai.staged-by-discourse.com/u/chutintorn)\
**Replies:** 2\
**Last updated:** [March 21, 2024, 11:47am UTC](https://dlai.staged-by-discourse.com/t/c2-week-3-assignment-data-pipeline-components-for-production/592870 "2024-03-21T11:47:44Z")

</div>

for Execerise 1 , Feautre setection , my runing result is matched with the result example provide within the expect result and after I completed exercise 1 , before moving to execise 2 , I submit the assginment to check…

---

## [Week 1 Data Pipelines with TensorFlow Data Services](https://dlai.staged-by-discourse.com/t/week-1-data-pipelines-with-tensorflow-data-services/522227)

<div class="topic-metadata">

**Author:** [@Ahmad\_Nazamudin](https://dlai.staged-by-discourse.com/u/Ahmad_Nazamudin)\
**Replies:** 2\
**Last updated:** [March 4, 2024, 4:43pm UTC](https://dlai.staged-by-discourse.com/t/week-1-data-pipelines-with-tensorflow-data-services/522227 "2024-03-04T16:43:08Z")

</div>

Data Pipelines with TensorFlow Data Services

---

## [TFDS-V2-Week2 assignment](https://dlai.staged-by-discourse.com/t/tfds-v2-week2-assignment/578695)

<div class="topic-metadata">

**Author:** [@Akshay\_Srinivasan\_As](https://dlai.staged-by-discourse.com/u/Akshay_Srinivasan_As)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 2:28pm UTC](https://dlai.staged-by-discourse.com/t/tfds-v2-week2-assignment/578695 "2024-02-26T14:28:30Z")

</div>

This was a custom function included in the assignment EXERCISE: shuffle and map the batches This will turn the 3 sets into batches so you can train and load batches def format\_image(features): image = features\[‘image’\] …

---

## [Cell #3. Can't compile the student's code. Error: TypeError("\_\_init\_\_() missing 2 required positional arguments: 'op' and 'message'",)](https://dlai.staged-by-discourse.com/t/cell-3-cant-compile-the-students-code-error-typeerror-init-missing-2-required-positional-arguments-op-and-message/546313)

<div class="topic-metadata">

**Author:** [@TAYAB\_FAROOQ](https://dlai.staged-by-discourse.com/u/TAYAB_FAROOQ)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 2:14am UTC](https://dlai.staged-by-discourse.com/t/cell-3-cant-compile-the-students-code-error-typeerror-init-missing-2-required-positional-arguments-op-and-message/546313 "2024-01-29T02:14:00Z")

</div>

Course: \[3-data-pipelines-with-tensorflow-data-services\] Week 2, Programming Assignment, Transfer Learning Here is my code and my output is exactly the same as expected but I am getting this error Error: "Cell #3. Ca…

---

## [Connection Error - Please help](https://dlai.staged-by-discourse.com/t/connection-error-please-help/501655)

<div class="topic-metadata">

**Author:** [@Lakshmi\_Narayana](https://dlai.staged-by-discourse.com/u/Lakshmi_Narayana)\
**Replies:** 2\
**Last updated:** [November 23, 2023, 2:27pm UTC](https://dlai.staged-by-discourse.com/t/connection-error-please-help/501655 "2023-11-23T14:27:45Z")

</div>

I keep getting this error while loading the dataset: Downloading and preparing dataset 786.68 MiB (download: 786.68 MiB, generated: Unknown size, total: 786.68 MiB) to /root/tensorflow\_datasets/cats\_vs\_dogs/4.0.0... Dl …

---

## [Submit submission faild](https://dlai.staged-by-discourse.com/t/submit-submission-faild/497994)

<div class="topic-metadata">

**Author:** [@Gian\_Patar\_P\_Sirait](https://dlai.staged-by-discourse.com/u/Gian_Patar_P_Sirait)\
**Replies:** 4\
**Last updated:** [November 21, 2023, 3:01pm UTC](https://dlai.staged-by-discourse.com/t/submit-submission-faild/497994 "2023-11-21T15:01:44Z")

</div>

Grading failed Learner Error: Grader ran out of memory Try submitting an optimized solution. If you think your solution is correct, please search the discussion forum to see if your peers have experienced and found …

---

## [Problem with submission : your solution should have 10-code cells but you have 12](https://dlai.staged-by-discourse.com/t/problem-with-submission-your-solution-should-have-10-code-cells-but-you-have-12/339652)

<div class="topic-metadata">

**Author:** [@Liza\_Estu\_Mulyani](https://dlai.staged-by-discourse.com/u/Liza_Estu_Mulyani)\
**Replies:** 13\
**Last updated:** [November 13, 2023, 4:47pm UTC](https://dlai.staged-by-discourse.com/t/problem-with-submission-your-solution-should-have-10-code-cells-but-you-have-12/339652 "2023-11-13T16:47:22Z")

</div>

Hello, I’m having a problem when submitting an assignment, the grader output says your solution should have 10-code cells but you have 12. Even though I’ve checked my solution doesn’t have 12 code cells, can anyone help …

---

## [Different tfds version on grader?](https://dlai.staged-by-discourse.com/t/different-tfds-version-on-grader/230528)

<div class="topic-metadata">

**Author:** [@Olivier\_van\_de\_Wiel](https://dlai.staged-by-discourse.com/u/Olivier_van_de_Wiel)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 9:42am UTC](https://dlai.staged-by-discourse.com/t/different-tfds-version-on-grader/230528 "2023-09-15T09:42:54Z")

</div>

Continuing the discussion from Error: TypeError("init() missing 2 required positional arguments: 'op' and 'message'",): Stuck for 2 weeks on this, help anyone ? I haven’t found a work-around for this, and I am not sure…

[Next page](https://dlai.staged-by-discourse.com/c/course-q-a/tensorflow-data-and-deployment-specialization/tf2-course-3/143.md?page=1)
