# \#tensorflow

**URL:** https://community.deeplearning.ai/tag/tensorflow/27.md

[Latest](https://community.deeplearning.ai/latest.md) · [Categories](https://community.deeplearning.ai/categories.md) · [Tags](https://community.deeplearning.ai/tags.md)

---

## [C3W1\_Assignment\_DeepLearning.AI TensorFlow Developer](https://community.deeplearning.ai/t/c3w1-assignment-deeplearning-ai-tensorflow-developer/879667)

<div class="topic-metadata">

**Author:** [@fullstackdipakrai](https://community.deeplearning.ai/u/fullstackdipakrai)\
**Replies:** 1\
**Last updated:** [September 19, 2025, 2:42pm UTC](https://community.deeplearning.ai/t/c3w1-assignment-deeplearning-ai-tensorflow-developer/879667 "2025-09-19T14:42:12Z")

</div>

\#C3W1 week1 TensorFlow Developer Professional \> TF Developer Professional Certificate Resources In Exercise 4: fit\_label\_encoder I am always failing the unit test since I am getting an extra label ‘None’ despite passing…

---

## [Tensorflow C3W4 assignment for part 2](https://community.deeplearning.ai/t/tensorflow-c3w4-assignment-for-part-2/864236)

<div class="topic-metadata">

**Author:** [@dbasick](https://community.deeplearning.ai/u/dbasick)\
**Replies:** 2\
**Last updated:** [August 1, 2025, 9:01am UTC](https://community.deeplearning.ai/t/tensorflow-c3w4-assignment-for-part-2/864236 "2025-08-01T09:01:51Z")

</div>

I am struggling so hard on the ‘create n\_gram’ part of this assignment. Part 1 passes the tests, and I’ve tried about 5 different ways to do the 2nd part. It always produces the expected results but when checking with …

---

## [C4W1 Working with Generated Time Series grading problem “series\_valid” not defined](https://community.deeplearning.ai/t/c4w1-working-with-generated-time-series-grading-problem-series-valid-not-defined/771909)

<div class="topic-metadata">

**Author:** [@mdaniyalnasir](https://community.deeplearning.ai/u/mdaniyalnasir)\
**Replies:** 6\
**Last updated:** [February 19, 2025, 3:24pm UTC](https://community.deeplearning.ai/t/c4w1-working-with-generated-time-series-grading-problem-series-valid-not-defined/771909 "2025-02-19T15:24:15Z")

</div>

Hi everyone, I’m encountering an issue with the grading of the Sequences, Time Series, and Prediction (TensorFlow Course 4, Week 1) programming assignment: Working with Generated Time Series. Despite completing the tas…

---

## [Problem utilising KerasLayer() for loading Pretrained Models | TensorFlow](https://community.deeplearning.ai/t/problem-utilising-keraslayer-for-loading-pretrained-models-tensorflow/757257)

<div class="topic-metadata">

**Author:** [@Godugu\_Anil\_Himam](https://community.deeplearning.ai/u/Godugu_Anil_Himam)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 3:24am UTC](https://community.deeplearning.ai/t/problem-utilising-keraslayer-for-loading-pretrained-models-tensorflow/757257 "2025-01-24T03:24:08Z")

</div>

Problem Description I am trying to load the universal\_sentence\_encoder model available on the Kaggle model hub and utilise its pre-trained weights to fine-tune my model for downstream tasks. I had numerous tensor compati…

---

## [How do I implement a sparse locally connected neural network](https://community.deeplearning.ai/t/how-do-i-implement-a-sparse-locally-connected-neural-network/724548)

<div class="topic-metadata">

**Author:** [@RohanTJ](https://community.deeplearning.ai/u/RohanTJ)\
**Replies:** 7\
**Last updated:** [November 19, 2024, 7:04pm UTC](https://community.deeplearning.ai/t/how-do-i-implement-a-sparse-locally-connected-neural-network/724548 "2024-11-19T19:04:14Z")

</div>

I’m trying to build a image based neural network in tensorflow where the output shape is the same as the input shape, and I’m trying to make a sparsely connected neural network. The sparse connections should not be rando…

---

## [Loan Processing | Kaggle Community Competition](https://community.deeplearning.ai/t/loan-processing-kaggle-community-competition/716474)

<div class="topic-metadata">

**Author:** [@Godugu\_Anil\_Himam](https://community.deeplearning.ai/u/Godugu_Anil_Himam)\
**Replies:** 12\
**Last updated:** [November 7, 2024, 3:54am UTC](https://community.deeplearning.ai/t/loan-processing-kaggle-community-competition/716474 "2024-11-07T03:54:52Z")

</div>

Hi Kaggle Community, I’ve been working on improving my submission for this month’s Loan Processing competition, but I’m stuck. So far, I’ve tried calculating Mutual Information Scores and correlations to evaluate featur…

---

## [Handwritten Digits Performance](https://community.deeplearning.ai/t/handwritten-digits-performance/706656)

<div class="topic-metadata">

**Author:** [@Godugu\_Anil\_Himam](https://community.deeplearning.ai/u/Godugu_Anil_Himam)\
**Replies:** 4\
**Last updated:** [October 11, 2024, 5:56pm UTC](https://community.deeplearning.ai/t/handwritten-digits-performance/706656 "2024-10-11T17:56:08Z")

</div>

Hey everyone, I have been working on a project to recognise hand written digits for the Digit Recognizer competition on Kaggle. I have been able to consistently develop the performance of the model from 95% to 99% on th…

---

## [TF-GNN error when training a graph: ValueError: Could not unbatch scalar (rank=0) GraphPiece](https://community.deeplearning.ai/t/tf-gnn-error-when-training-a-graph-valueerror-could-not-unbatch-scalar-rank-0-graphpiece/698483)

<div class="topic-metadata">

**Author:** [@Sid72](https://community.deeplearning.ai/u/Sid72)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 7:04pm UTC](https://community.deeplearning.ai/t/tf-gnn-error-when-training-a-graph-valueerror-could-not-unbatch-scalar-rank-0-graphpiece/698483 "2024-09-26T19:04:27Z")

</div>

Hi, I am trying to model an autoencoder of graph data to best reconstruct the graph but Im facing an issue when trying to do the training. I created the graph tensor as follows: edge\_sources = train\_data\['from\_encoded…

---

## [AI tool for image/video](https://community.deeplearning.ai/t/ai-tool-for-image-video/561815)

<div class="topic-metadata">

**Author:** [@Amitkushwaha](https://community.deeplearning.ai/u/Amitkushwaha)\
**Replies:** 1\
**Last updated:** [August 24, 2024, 7:32am UTC](https://community.deeplearning.ai/t/ai-tool-for-image-video/561815 "2024-08-24T07:32:55Z")

</div>

Hello, my friends I am eager to know which AI tool is 100% free to create awesome images and videos. Kindly recommend any of those you know. Your support will make my day! thank you

---

## [C3W1 Bird Box - 'batch\_shape' unrecognized value in final save](https://community.deeplearning.ai/t/c3w1-bird-box-batch-shape-unrecognized-value-in-final-save/672456)

<div class="topic-metadata">

**Author:** [@anakha272](https://community.deeplearning.ai/u/anakha272)\
**Replies:** 5\
**Last updated:** [August 4, 2024, 8:50pm UTC](https://community.deeplearning.ai/t/c3w1-bird-box-batch-shape-unrecognized-value-in-final-save/672456 "2024-08-04T20:50:55Z")

</div>

I am having an issue with the final step of the birdbox assignment. My model runs, I am able to classify and localize birds in each image, and I get IOUs and am able to save it to temp\_model.h5. However, the final step, …

---

## [Robot that targets robbers using facial recognition](https://community.deeplearning.ai/t/robot-that-targets-robbers-using-facial-recognition/630412)

<div class="topic-metadata">

**Author:** [@ligt04](https://community.deeplearning.ai/u/ligt04)\
**Replies:** 8\
**Last updated:** [June 25, 2024, 8:21am UTC](https://community.deeplearning.ai/t/robot-that-targets-robbers-using-facial-recognition/630412 "2024-06-25T08:21:06Z")

</div>

I am new to artificial intelligence, and although this may sound like a challenge, I am eager to learn. I have a particular interest in computer vision and facial recognition. However, my experience is limited to using a…

---

## [Help me visualization convolution neural network](https://community.deeplearning.ai/t/help-me-visualization-convolution-neural-network/651226)

<div class="topic-metadata">

**Author:** [@encryptman](https://community.deeplearning.ai/u/encryptman)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 12:51pm UTC](https://community.deeplearning.ai/t/help-me-visualization-convolution-neural-network/651226 "2024-06-21T12:51:20Z")

</div>

I have build a screenshot classifier and working fine with 98% accuracy. Now I want to visualize convolution filters but I am getting following error in Jupyter Notebook: —\> 29 visualization\_model = tf.keras.models.Mode…

---

## [VGG vs ResNet: Gradient ascent for generating an image that maximizes the class score with tensorflow and keras](https://community.deeplearning.ai/t/vgg-vs-resnet-gradient-ascent-for-generating-an-image-that-maximizes-the-class-score-with-tensorflow-and-keras/649608)

<div class="topic-metadata">

**Author:** [@Zappytoes](https://community.deeplearning.ai/u/Zappytoes)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 6:35pm UTC](https://community.deeplearning.ai/t/vgg-vs-resnet-gradient-ascent-for-generating-an-image-that-maximizes-the-class-score-with-tensorflow-and-keras/649608 "2024-06-18T18:35:50Z")

</div>

languages: Python 3 and tf.keras 2.15.0 I’m working on an XAI project and I want to experiment with ResNet for generating images that maximize a class score or activation. This process is generally understood throu…

---

## [What is the use of Weights in TensorFlow Layers](https://community.deeplearning.ai/t/what-is-the-use-of-weights-in-tensorflow-layers/631444)

<div class="topic-metadata">

**Author:** [@humanbot](https://community.deeplearning.ai/u/humanbot)\
**Replies:** 6\
**Last updated:** [May 20, 2024, 8:27pm UTC](https://community.deeplearning.ai/t/what-is-the-use-of-weights-in-tensorflow-layers/631444 "2024-05-20T20:27:52Z")

</div>

Hi Everyone, I am very new to TensorFlow and trying to understand the basics. Can someone help me understand the purpose of Weights in TensorFlow and how does it help the neuron. I saw the following example: linear\_lay…

---

## [Tensors .. here I come!](https://community.deeplearning.ai/t/tensors-here-i-come/624083)

<div class="topic-metadata">

**Author:** [@JoeDL](https://community.deeplearning.ai/u/JoeDL)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 9:20pm UTC](https://community.deeplearning.ai/t/tensors-here-i-come/624083 "2024-05-08T21:20:04Z")

</div>

Namaste n hoe gaat het n wie geht es!

---

## [AI conversation about book/text as input](https://community.deeplearning.ai/t/ai-conversation-about-book-text-as-input/616324)

<div class="topic-metadata">

**Author:** [@Davor\_Trninic](https://community.deeplearning.ai/u/Davor_Trninic)\
**Replies:** 5\
**Last updated:** [April 29, 2024, 5:00pm UTC](https://community.deeplearning.ai/t/ai-conversation-about-book-text-as-input/616324 "2024-04-29T17:00:01Z")

</div>

I’m trying to build AI that will take book/text as input, and then to have conversation about input topic like with chatgpt. Then second step is to add another input/book, train it again, and now model should have both i…

---

## [How to get learning rate (LR) bounds (min and max values) wrt optimal LR found to use Cyclical Learning Rate method after the use of LR finder code?](https://community.deeplearning.ai/t/how-to-get-learning-rate-lr-bounds-min-and-max-values-wrt-optimal-lr-found-to-use-cyclical-learning-rate-method-after-the-use-of-lr-finder-code/614736)

<div class="topic-metadata">

**Author:** [@marcocintra](https://community.deeplearning.ai/u/marcocintra)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 9:05pm UTC](https://community.deeplearning.ai/t/how-to-get-learning-rate-lr-bounds-min-and-max-values-wrt-optimal-lr-found-to-use-cyclical-learning-rate-method-after-the-use-of-lr-finder-code/614736 "2024-04-22T21:05:23Z")

</div>

I am using the following code to get the optimal learning rate for a given neural network model - lrfinder/lrfinder/lrfinder.py at master · beringresearch/lrfinder · GitHub - specifically via get\_best\_lr function. So aft…

---

## [Lost when trying to get good time series prediction results (regression problem) even after trying many things](https://community.deeplearning.ai/t/lost-when-trying-to-get-good-time-series-prediction-results-regression-problem-even-after-trying-many-things/598308)

<div class="topic-metadata">

**Author:** [@marcocintra](https://community.deeplearning.ai/u/marcocintra)\
**Replies:** 5\
**Last updated:** [March 26, 2024, 1:25pm UTC](https://community.deeplearning.ai/t/lost-when-trying-to-get-good-time-series-prediction-results-regression-problem-even-after-trying-many-things/598308 "2024-03-26T13:25:44Z")

</div>

0 I’m not able to get good results after a long time testing when using TensorFlow to predict time series data (regression problem). I don’t know if the problem is with the data (little quantity and/or low quality) or w…

---

## [Keras Model Predict Shape Issue](https://community.deeplearning.ai/t/keras-model-predict-shape-issue/587859)

<div class="topic-metadata">

**Author:** [@omkar17](https://community.deeplearning.ai/u/omkar17)\
**Replies:** 7\
**Last updated:** [March 11, 2024, 12:00pm UTC](https://community.deeplearning.ai/t/keras-model-predict-shape-issue/587859 "2024-03-11T12:00:02Z")

</div>

@Deepti\_Prasad Iam using a "efficientnetv2\_b0\_imagenet pre trained model for Image Classification of Osteoarthritis. The model is Fitted Successfully the below is model summary But when I run Predict on A Particular…

---

## [Model deployment in the real world question ... data preprocessing](https://community.deeplearning.ai/t/model-deployment-in-the-real-world-question-data-preprocessing/581591)

<div class="topic-metadata">

**Author:** [@Lars\_UK](https://community.deeplearning.ai/u/Lars_UK)\
**Replies:** 3\
**Last updated:** [March 4, 2024, 3:58pm UTC](https://community.deeplearning.ai/t/model-deployment-in-the-real-world-question-data-preprocessing/581591 "2024-03-04T15:58:51Z")

</div>

Hi all, New here. I have done some TensorFlow training over the few years but have never had a chance to work on a real project until recently. Now most of the ML training seems to stop at building the model and check…

---

## [TensorFlow model deployment on Android](https://community.deeplearning.ai/t/tensorflow-model-deployment-on-android/580312)

<div class="topic-metadata">

**Author:** [@Adaramola\_Samson](https://community.deeplearning.ai/u/Adaramola_Samson)\
**Replies:** 10\
**Last updated:** [March 3, 2024, 2:06pm UTC](https://community.deeplearning.ai/t/tensorflow-model-deployment-on-android/580312 "2024-03-03T14:06:48Z")

</div>

I did download the classroom ungraded lab code from GitHub tensorflow-2-public/C2\_Device-based-TF-lite/W2/ungraded\_labs/android\_apps at main · https-deeplearning-ai/tensorflow-2-public · GitHub , but considering current …

---

## [Probabilisitc Matrix Factorization with Tensorflow](https://community.deeplearning.ai/t/probabilisitc-matrix-factorization-with-tensorflow/569499)

<div class="topic-metadata">

**Author:** [@Salma\_Issaoui](https://community.deeplearning.ai/u/Salma_Issaoui)\
**Replies:** 3\
**Last updated:** [February 11, 2024, 4:15pm UTC](https://community.deeplearning.ai/t/probabilisitc-matrix-factorization-with-tensorflow/569499 "2024-02-11T16:15:54Z")

</div>

Hello everyone, Can anyone help me build this recommender collaborative filtering model with TensorFlow. I thought about making U and V embedding layers but i did not know how to define the loss function with those fro…

---

## [URL phishing detection using RAGs and LLMs](https://community.deeplearning.ai/t/url-phishing-detection-using-rags-and-llms/566357)

<div class="topic-metadata">

**Author:** [@rspotpelwar](https://community.deeplearning.ai/u/rspotpelwar)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 10:55am UTC](https://community.deeplearning.ai/t/url-phishing-detection-using-rags-and-llms/566357 "2024-02-06T10:55:53Z")

</div>

Is anyone working in URL phishing detection using RAGs and LLMs

---

## [Emotion recognition](https://community.deeplearning.ai/t/emotion-recognition/557229)

<div class="topic-metadata">

**Author:** [@shikhar1](https://community.deeplearning.ai/u/shikhar1)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 9:17am UTC](https://community.deeplearning.ai/t/emotion-recognition/557229 "2024-01-29T09:17:22Z")

</div>

CAN ANYONE TELL WHY THIS IS NOT WORKING.PLS HELP ME OUT WITH THIS

---

## [How to perform Model Parallel in Tensorflow?](https://community.deeplearning.ai/t/how-to-perform-model-parallel-in-tensorflow/557226)

<div class="topic-metadata">

**Author:** [@Stav28](https://community.deeplearning.ai/u/Stav28)\
**Replies:** 2\
**Last updated:** [January 28, 2024, 5:56pm UTC](https://community.deeplearning.ai/t/how-to-perform-model-parallel-in-tensorflow/557226 "2024-01-28T17:56:46Z")

</div>

We have Mirror Strategy which uses Data Parallel. Is Model parallel available in TF? What about ZeRO Parallel technique?

---

## [CatVsNonCat dataset classification using TensorFlow](https://community.deeplearning.ai/t/catvsnoncat-dataset-classification-using-tensorflow/550573)

<div class="topic-metadata">

**Author:** [@Nayan\_Prakash1](https://community.deeplearning.ai/u/Nayan_Prakash1)\
**Replies:** 14\
**Last updated:** [January 25, 2024, 4:16pm UTC](https://community.deeplearning.ai/t/catvsnoncat-dataset-classification-using-tensorflow/550573 "2024-01-25T16:16:25Z")

</div>

I wrote a program using TensorFlow to replicate the Course 1’s assignment of differentiating the Cat vs non-cat data set. I am unable to get a good accuracy and lesser cost despite using the same set of parameters as in…
