# General Discussion

**URL:** https://discuss.ai.google.dev/c/tensorflow/general-discussion-6/37.md

[Latest](https://discuss.ai.google.dev/latest.md) · [Categories](https://discuss.ai.google.dev/categories.md) · [Tags](https://discuss.ai.google.dev/tags.md)

---

## [About the General Discussion category](https://discuss.ai.google.dev/t/about-the-general-discussion-category/14859)

<div class="topic-metadata">

**Author:** [@carlos](https://discuss.ai.google.dev/u/carlos)\
**Replies:** 14\
**Last updated:** [February 20, 2026, 2:02pm UTC](https://discuss.ai.google.dev/t/about-the-general-discussion-category/14859 "2026-02-20T14:02:27Z")

</div>

Ask and answer technical questions here. Say hello to the community!

---

## [TensorFlow dataset pipeline not reading some downloaded PPT/PDF files correctly](https://discuss.ai.google.dev/t/tensorflow-dataset-pipeline-not-reading-some-downloaded-ppt-pdf-files-correctly/187112)

<div class="topic-metadata">

**Author:** [@JohnJennifer](https://discuss.ai.google.dev/u/JohnJennifer)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 8:54pm UTC](https://discuss.ai.google.dev/t/tensorflow-dataset-pipeline-not-reading-some-downloaded-ppt-pdf-files-correctly/187112 "2026-10-09T20:54:56Z")

</div>

Hi everyone, I am working on a small document dataset for a TensorFlow project. I have some presentation files in PPT/PDF format and I am trying to extract the text from them before putting the data into my TensorFlow p…

---

## [TFRecord Writer writing patches in unexpected ways](https://discuss.ai.google.dev/t/tfrecord-writer-writing-patches-in-unexpected-ways/29894)

<div class="topic-metadata">

**Author:** [@SlimThugg](https://discuss.ai.google.dev/u/SlimThugg)\
**Replies:** 1\
**Last updated:** [September 10, 2026, 12:34pm UTC](https://discuss.ai.google.dev/t/tfrecord-writer-writing-patches-in-unexpected-ways/29894 "2026-09-10T12:34:38Z")

</div>

I have implemented this example notebook -a methodology to segment satellite imagery using Google Earth Engine (GEE) and Tensorflow- on my specific use case. The final step in this pipeline is uploading inference imager…

---

## [Improving TensorFlow performance by hinting the Python GC about unreachable cycles](https://discuss.ai.google.dev/t/improving-tensorflow-performance-by-hinting-the-python-gc-about-unreachable-cycles/177931)

<div class="topic-metadata">

**Author:** [@Omri\_Palmon](https://discuss.ai.google.dev/u/Omri_Palmon)\
**Replies:** 0\
**Last updated:** [August 12, 2026, 5:55am UTC](https://discuss.ai.google.dev/t/improving-tensorflow-performance-by-hinting-the-python-gc-about-unreachable-cycles/177931 "2026-08-12T05:55:06Z")

</div>

I have recently tried to convince the Python community to add a feature to the Python GC which would accept hints that a certain group of objects is unreachable and can be deallocated. Such a feature would reduce the amo…

---

## [Will the ARM Mali GPU accelerate a Tensor Flow Lite model](https://discuss.ai.google.dev/t/will-the-arm-mali-gpu-accelerate-a-tensor-flow-lite-model/32079)

<div class="topic-metadata">

**Author:** [@Charry2014](https://discuss.ai.google.dev/u/Charry2014)\
**Replies:** 5\
**Last updated:** [July 31, 2026, 8:19pm UTC](https://discuss.ai.google.dev/t/will-the-arm-mali-gpu-accelerate-a-tensor-flow-lite-model/32079 "2026-07-31T20:19:04Z")

</div>

Hello - I am developing an object detection model in Python closely following Google’s examples. This runs on a Raspberry Pi 4 and works quite well. There are many other SBCs and many have the ARM Mali G610 GPU and other…

---

## [Gradients for Encoder in my BiGAN network are returning None values. Can someone with experience in this field identify the issue?](https://discuss.ai.google.dev/t/gradients-for-encoder-in-my-bigan-network-are-returning-none-values-can-someone-with-experience-in-this-field-identify-the-issue/27970)

<div class="topic-metadata">

**Author:** [@PaulD153](https://discuss.ai.google.dev/u/PaulD153)\
**Replies:** 1\
**Last updated:** [July 24, 2026, 11:17am UTC](https://discuss.ai.google.dev/t/gradients-for-encoder-in-my-bigan-network-are-returning-none-values-can-someone-with-experience-in-this-field-identify-the-issue/27970 "2026-07-24T11:17:56Z")

</div>

I’m implementing a BiGAN network for multivariate time-series data and I’m running into problems with training my Encoder. When calling tape.gradient(e\_loss, encoder.trainable\_variables) I’m receiving only None values. C…

---

## [Face Detector in MediaPipe model maker](https://discuss.ai.google.dev/t/face-detector-in-mediapipe-model-maker/39959)

<div class="topic-metadata">

**Author:** [@Jason\_Xie](https://discuss.ai.google.dev/u/Jason_Xie)\
**Replies:** 5\
**Last updated:** [June 15, 2026, 7:47am UTC](https://discuss.ai.google.dev/t/face-detector-in-mediapipe-model-maker/39959 "2026-06-15T07:47:51Z")

</div>

I see that face detection is missing in MediaPipe Model Maker and I was wondering whether it will be supported any time soon. Is there a roadmap for MediaPipe Model Maker that can be shared?

---

## [What is the maximum model size to run on Google Coral Dev Board Micro? or How to run FullSubNet on Coral mirco?](https://discuss.ai.google.dev/t/what-is-the-maximum-model-size-to-run-on-google-coral-dev-board-micro-or-how-to-run-fullsubnet-on-coral-mirco/147283)

<div class="topic-metadata">

**Author:** [@Alvis1](https://discuss.ai.google.dev/u/Alvis1)\
**Replies:** 0\
**Last updated:** [May 22, 2026, 8:18am UTC](https://discuss.ai.google.dev/t/what-is-the-maximum-model-size-to-run-on-google-coral-dev-board-micro-or-how-to-run-fullsubnet-on-coral-mirco/147283 "2026-05-22T08:18:29Z")

</div>

I am trying to run a FullSubNet model on the micro coral board, but it just stuck on the running interface. I converted the FullSubNet from pytorch to TensorFlow Lite by using Nobuco and TensorFlow Lite converter, result…

---

## [Does not contain symbol 'cc\_autoconf\_impl'](https://discuss.ai.google.dev/t/does-not-contain-symbol-cc-autoconf-impl/139439)

<div class="topic-metadata">

**Author:** [@brokencog](https://discuss.ai.google.dev/u/brokencog)\
**Replies:** 2\
**Last updated:** [April 20, 2026, 2:43pm UTC](https://discuss.ai.google.dev/t/does-not-contain-symbol-cc-autoconf-impl/139439 "2026-04-20T14:43:56Z")

</div>

I’m trying to build tensorflow locally, because that was given as a suggestion for resolving the error resulting from installing via pip. I’ll list the error from the pip install first, then the compile error. After do…

---

## [Regression in a dataset with flattened images and target reals](https://discuss.ai.google.dev/t/regression-in-a-dataset-with-flattened-images-and-target-reals/28301)

<div class="topic-metadata">

**Author:** [@Rafael\_Scatena](https://discuss.ai.google.dev/u/Rafael_Scatena)\
**Replies:** 1\
**Last updated:** [April 13, 2026, 12:03pm UTC](https://discuss.ai.google.dev/t/regression-in-a-dataset-with-flattened-images-and-target-reals/28301 "2026-04-13T12:03:27Z")

</div>

Hello, I am trying to set up a dataset with flattened lung images and 2 reals indicating the lung nodule location but I am facing some problems: import tensorflow as tf import tensorflow\_io as tfio import matplotlib.…

---

## [Memory leak with training different models in loops](https://discuss.ai.google.dev/t/memory-leak-with-training-different-models-in-loops/136413)

<div class="topic-metadata">

**Author:** [@DefinitlyNotAModel](https://discuss.ai.google.dev/u/DefinitlyNotAModel)\
**Replies:** 3\
**Last updated:** [April 7, 2026, 7:47am UTC](https://discuss.ai.google.dev/t/memory-leak-with-training-different-models-in-loops/136413 "2026-04-07T07:47:13Z")

</div>

:brain: TensorFlow Memory Growth Issue in Training Loop :pushpin: Summary I encountered a progressive memory growth issue when repeatedly creating, training, and deleting a tf.keras.Model inside a loop. Despite explicitl…

---

## [Why tensorflow switches to clang suddenly?](https://discuss.ai.google.dev/t/why-tensorflow-switches-to-clang-suddenly/31149)

<div class="topic-metadata">

**Author:** [@Quan\_Nie](https://discuss.ai.google.dev/u/Quan_Nie)\
**Replies:** 1\
**Last updated:** [April 2, 2026, 12:51pm UTC](https://discuss.ai.google.dev/t/why-tensorflow-switches-to-clang-suddenly/31149 "2026-04-02T12:51:20Z")

</div>

According to 從原始碼開始建構 | TensorFlow, tensorflow sets its default compiler as clang-16 since 2.13.0. May I ask the reason?

---

## [Error running tuner component in tfx pipeline](https://discuss.ai.google.dev/t/error-running-tuner-component-in-tfx-pipeline/27711)

<div class="topic-metadata">

**Author:** [@Brempong\_Appiah\_Dank](https://discuss.ai.google.dev/u/Brempong_Appiah_Dank)\
**Replies:** 1\
**Last updated:** [April 2, 2026, 8:24am UTC](https://discuss.ai.google.dev/t/error-running-tuner-component-in-tfx-pipeline/27711 "2026-04-02T08:24:07Z")

</div>

I’m trying to create a pipeline for ML project. But whenever I run the the Tuner component, I get this error --------------------------------------------------------------------------- TypeError …

---

## [Transformer for asynchronous multi-stream image time-series with online prediction?](https://discuss.ai.google.dev/t/transformer-for-asynchronous-multi-stream-image-time-series-with-online-prediction/137033)

<div class="topic-metadata">

**Author:** [@satadru](https://discuss.ai.google.dev/u/satadru)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 12:20pm UTC](https://discuss.ai.google.dev/t/transformer-for-asynchronous-multi-stream-image-time-series-with-online-prediction/137033 "2026-03-30T12:20:10Z")

</div>

I have two streams of images, each stream corresponding to a different “channel” (e.g. different sensor modality). The streams are not synchronized — at any given moment, a new image arrives from one stream or the other,…

---

## [Issues Running Sanity Check](https://discuss.ai.google.dev/t/issues-running-sanity-check/25265)

<div class="topic-metadata">

**Author:** [@Mahrukh](https://discuss.ai.google.dev/u/Mahrukh)\
**Replies:** 1\
**Last updated:** [March 26, 2026, 3:27pm UTC](https://discuss.ai.google.dev/t/issues-running-sanity-check/25265 "2026-03-26T15:27:02Z")

</div>

Hi I have recently started open-source contributions and am facing issues when performing sanity check using the instructions mentioned in TensorFlow CONTRIBUTING.md guidelines. I have performed Python Coding Style chec…

---

## [Missing Python wheel package building from source](https://discuss.ai.google.dev/t/missing-python-wheel-package-building-from-source/32204)

<div class="topic-metadata">

**Author:** [@IUSR](https://discuss.ai.google.dev/u/IUSR)\
**Replies:** 1\
**Last updated:** [March 25, 2026, 9:01am UTC](https://discuss.ai.google.dev/t/missing-python-wheel-package-building-from-source/32204 "2026-03-25T09:01:36Z")

</div>

Hello, I tried building TensorFlow from source following “Build from source”. I cloned the GitHub repo and checked out the latest 2.16.1 tag. Everything went well with bazelisk managing bazel’s versions, and yet I was m…

---

## [Missing Method under c#](https://discuss.ai.google.dev/t/missing-method-under-c/42435)

<div class="topic-metadata">

**Author:** [@Pascal567](https://discuss.ai.google.dev/u/Pascal567)\
**Replies:** 1\
**Last updated:** [March 17, 2026, 6:36am UTC](https://discuss.ai.google.dev/t/missing-method-under-c/42435 "2026-03-17T06:36:31Z")

</div>

Hello Forum, i m struggling with KerasNet I use it with c# and install the latest built from nuget. I created an Stateful LSTM and my Problem is, i m unable to reset hidden states to change context. Nowhere i find a m…

---

## [Buidling a network from a binary parse tree](https://discuss.ai.google.dev/t/buidling-a-network-from-a-binary-parse-tree/29395)

<div class="topic-metadata">

**Author:** [@Peter\_Bleackley](https://discuss.ai.google.dev/u/Peter_Bleackley)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 7:53am UTC](https://discuss.ai.google.dev/t/buidling-a-network-from-a-binary-parse-tree/29395 "2026-03-13T07:53:21Z")

</div>

I’m experimenting with the Stanford Natural Language Inference Corpus. I want to create a network whose structure is based on the parse trees given in the columns sentence1\_parse and sentence2\_parse, with weights shared …

---

## [TensorFlow Error. With Rust Failed to start training: InvalidArgument:](https://discuss.ai.google.dev/t/tensorflow-error-with-rust-failed-to-start-training-invalidargument/27782)

<div class="topic-metadata">

**Author:** [@Bah](https://discuss.ai.google.dev/u/Bah)\
**Replies:** 1\
**Last updated:** [March 12, 2026, 5:33pm UTC](https://discuss.ai.google.dev/t/tensorflow-error-with-rust-failed-to-start-training-invalidargument/27782 "2026-03-12T17:33:09Z")

</div>

I am using rust with TensorFlow and I keep getting this error for this part of the code on the last line nd.finish and I cannot figure out why. Any ideas? print!("Setting up TensorFlow disc\_optimizer\_op operations \\…

---

## [TF 2.20 C API (libtensorflow.so)](https://discuss.ai.google.dev/t/tf-2-20-c-api-libtensorflow-so/128856)

<div class="topic-metadata">

**Author:** [@Zsolt\_Szakaly](https://discuss.ai.google.dev/u/Zsolt_Szakaly)\
**Replies:** 2\
**Last updated:** [March 10, 2026, 11:43am UTC](https://discuss.ai.google.dev/t/tf-2-20-c-api-libtensorflow-so/128856 "2026-03-10T11:43:57Z")

</div>

I spent two days trying to build a TF 2.20 library. I understand that from 2.19 no pre-compiled binaries are made, but apparently it is practically impossible to do it manually either. I used TF 2.20, used bazel 7.4.1 a…

---

## [Keras is not saving models as intended](https://discuss.ai.google.dev/t/keras-is-not-saving-models-as-intended/127353)

<div class="topic-metadata">

**Author:** [@satadru](https://discuss.ai.google.dev/u/satadru)\
**Replies:** 3\
**Last updated:** [March 5, 2026, 9:17am UTC](https://discuss.ai.google.dev/t/keras-is-not-saving-models-as-intended/127353 "2026-03-05T09:17:06Z")

</div>

Despite the claim in following link, I found keras is not saving/loading the models with iteration number, optimizer, ExponentialDecay learning rate etc What I want: an adaptive training I want to save the model af…

---

## [Optimizer Question](https://discuss.ai.google.dev/t/optimizer-question/28122)

<div class="topic-metadata">

**Author:** [@B1t\_F3n1x](https://discuss.ai.google.dev/u/B1t_F3n1x)\
**Replies:** 1\
**Last updated:** [February 25, 2026, 4:00pm UTC](https://discuss.ai.google.dev/t/optimizer-question/28122 "2026-02-25T16:00:38Z")

</div>

Hello. I’m fascinated machine learnings and tensorflow framework , I have a question, is it possible implement this optimizer \[1805.07500\] GADAM: Genetic-Evolutionary ADAM for Deep Neural Network Optimization to tensorf…

---

## [Issues building and preparing binary for SparkFun Edge](https://discuss.ai.google.dev/t/issues-building-and-preparing-binary-for-sparkfun-edge/24609)

<div class="topic-metadata">

**Author:** [@Harry\_Tye](https://discuss.ai.google.dev/u/Harry_Tye)\
**Replies:** 1\
**Last updated:** [February 25, 2026, 3:05pm UTC](https://discuss.ai.google.dev/t/issues-building-and-preparing-binary-for-sparkfun-edge/24609 "2026-02-25T15:05:04Z")

</div>

Hello, I want to upload my own neural network onto the SparkFun Edge device. Since Arduino no longer supports the board, I am trying to build the binary for my code and upload it. There is a tutorial that explains how to…

---

## [Fast GeLU approximation](https://discuss.ai.google.dev/t/fast-gelu-approximation/109588)

<div class="topic-metadata">

**Author:** [@gwiesenekker](https://discuss.ai.google.dev/u/gwiesenekker)\
**Replies:** 2\
**Last updated:** [February 25, 2026, 6:32am UTC](https://discuss.ai.google.dev/t/fast-gelu-approximation/109588 "2026-02-25T06:32:34Z")

</div>

I needed a faster version of GeLU for my application. The following approximation with p=0.544790 works quite well: 0.5\*x\*(1.0+x/sqrt(p+x\*x)) We can rewrite it in terms of y = 0.5 \* x as: y+y\*y/sqrt(0.25\*p+y\*y) which…

---

## [Tf.keras.Model and model class adaptation](https://discuss.ai.google.dev/t/tf-keras-model-and-model-class-adaptation/25541)

<div class="topic-metadata">

**Author:** [@MucTran](https://discuss.ai.google.dev/u/MucTran)\
**Replies:** 1\
**Last updated:** [February 23, 2026, 2:59pm UTC](https://discuss.ai.google.dev/t/tf-keras-model-and-model-class-adaptation/25541 "2026-02-23T14:59:15Z")

</div>

Hello everyone. I’m new to the tensorflow library and keras package so I am having some trouble in making adjustment to a 3D-UNET originally defined using Tf.keras.Model to an adaptation of another model defined using mo…

---

## [Tensorflow Lite Micro on STM32F4](https://discuss.ai.google.dev/t/tensorflow-lite-micro-on-stm32f4/58717)

<div class="topic-metadata">

**Author:** [@Asraful\_Islam\_Taj](https://discuss.ai.google.dev/u/Asraful_Islam_Taj)\
**Replies:** 1\
**Last updated:** [February 23, 2026, 11:15am UTC](https://discuss.ai.google.dev/t/tensorflow-lite-micro-on-stm32f4/58717 "2026-02-23T11:15:30Z")

</div>

Hello Everyone, I am trying to use Tensorflow Lite Micro library with my stm32f446re. I compiled tflm as a static library with make and after that I generated the tflm tree so that I can add it to my project. after that…

---

## [Convertion of tensorflow gpt2 sequence classification to tflite](https://discuss.ai.google.dev/t/convertion-of-tensorflow-gpt2-sequence-classification-to-tflite/39464)

<div class="topic-metadata">

**Author:** [@Krishnaraj\_k](https://discuss.ai.google.dev/u/Krishnaraj_k)\
**Replies:** 1\
**Last updated:** [February 20, 2026, 5:23am UTC](https://discuss.ai.google.dev/t/convertion-of-tensorflow-gpt2-sequence-classification-to-tflite/39464 "2026-02-20T05:23:33Z")

</div>

Hello, I am trying to convert a fine tuned gpt2 sequence classification model to a tflite model. and i am getting the below issue. TypeError: Exception encountered when calling layer ‘tfgpt2\_for\_sequence\_classification…

---

## [TensorFlow Lite and 16 KB Page Size Support](https://discuss.ai.google.dev/t/tensorflow-lite-and-16-kb-page-size-support/93052)

<div class="topic-metadata">

**Author:** [@kevin\_santoki](https://discuss.ai.google.dev/u/kevin_santoki)\
**Replies:** 5\
**Last updated:** [February 10, 2026, 2:23am UTC](https://discuss.ai.google.dev/t/tensorflow-lite-and-16-kb-page-size-support/93052 "2026-02-10T02:23:03Z")

</div>

Issue: We’re using libtensorflowlite\_jni.so (from org.tensorflow:tensorflow-lite:2.17.0) in an Android project. We’re targeting SDK 35+ on Android devices that require 16 KB page size. But when inspecting the .so using r…

---

## [TensorFlow port of HF's Paligemma](https://discuss.ai.google.dev/t/tensorflow-port-of-hfs-paligemma/120324)

<div class="topic-metadata">

**Author:** [@mohan\_radhakrishnan](https://discuss.ai.google.dev/u/mohan_radhakrishnan)\
**Replies:** 1\
**Last updated:** [February 2, 2026, 4:19am UTC](https://discuss.ai.google.dev/t/tensorflow-port-of-hfs-paligemma/120324 "2026-02-02T04:19:06Z")

</div>

Hi, I assumed many would port such models to TF to learn but I didn’t find any repos. Mine is It is supposed to be the same as transformers/src/transformers/models/siglip at main · huggingface/transformers · GitHub T…

---

## [Model.predict processing interruption](https://discuss.ai.google.dev/t/model-predict-processing-interruption/27644)

<div class="topic-metadata">

**Author:** [@Roelof\_P\_Emmerink](https://discuss.ai.google.dev/u/Roelof_P_Emmerink)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 3:56pm UTC](https://discuss.ai.google.dev/t/model-predict-processing-interruption/27644 "2026-01-30T15:56:50Z")

</div>

Hello, I’m using TensorFlow for speech/voice generation with 5 neural nets. While capturing wave in and playing the buffers for wave out the speech is processed by the 5 neural nets. This I do with model.predict. I have…

[Next page](https://discuss.ai.google.dev/c/tensorflow/general-discussion-6/37.md?page=1)
