# \#kaggle

**URL:** https://discuss.ai.google.dev/tag/kaggle/59.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)

---

## [How can I save a model downloaded from kaggle that has None(-1) as an input shape as a fixed shape model?](https://discuss.ai.google.dev/t/how-can-i-save-a-model-downloaded-from-kaggle-that-has-none-1-as-an-input-shape-as-a-fixed-shape-model/76797)

<div class="topic-metadata">

**Author:** [@ShinobuHUYUGIRI](https://discuss.ai.google.dev/u/ShinobuHUYUGIRI)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 2:01pm UTC](https://discuss.ai.google.dev/t/how-can-i-save-a-model-downloaded-from-kaggle-that-has-none-1-as-an-input-shape-as-a-fixed-shape-model/76797 "2026-01-29T14:01:53Z")

</div>

Hello! I want to convert a TensorFlow model downloaded from kaggle to TensorFlow Lite format for embedded devices. Embedded devices only accept models with fixed shapes, and I want to fix the shape to None(-1). Currentl…

---

## [How can I convert "BigGAN (TensorFlow 1)" to TensorFlow Lite format?](https://discuss.ai.google.dev/t/how-can-i-convert-biggan-tensorflow-1-to-tensorflow-lite-format/79164)

<div class="topic-metadata">

**Author:** [@ShinobuHUYUGIRI](https://discuss.ai.google.dev/u/ShinobuHUYUGIRI)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 2:38pm UTC](https://discuss.ai.google.dev/t/how-can-i-convert-biggan-tensorflow-1-to-tensorflow-lite-format/79164 "2025-04-11T14:38:37Z")

</div>

I’ve also asked my question on stackoverflow, but I thought this forum might be better for Kaggle-related questions, so I’m posting here. How can I convert “BigGAN (TensorFlow 1)” to TensorFlow Lite format? I want to do…

---

## [I have a problem with my aAPI KEY from google ai studio](https://discuss.ai.google.dev/t/i-have-a-problem-with-my-aapi-key-from-google-ai-studio/74920)

<div class="topic-metadata">

**Author:** [@Claudia\_Arias\_Gonzal](https://discuss.ai.google.dev/u/Claudia_Arias_Gonzal)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 9:04pm UTC](https://discuss.ai.google.dev/t/i-have-a-problem-with-my-aapi-key-from-google-ai-studio/74920 "2025-03-27T21:04:38Z")

</div>

AttributeError: ‘GenerativeModel’ object has no attribute ‘generate\_embeddings’ Model object: genai.GenerativeModel( model\_name=‘models/text-embedding-005’, generation\_config={}, safety\_settings={}, tools=None, sys…

---

## [How to Import and Load Kaggle Models in TensorFlow.js: A Step-by-Step Guide to Using Google MoveNet SinglePose Lightning](https://discuss.ai.google.dev/t/how-to-import-and-load-kaggle-models-in-tensorflow-js-a-step-by-step-guide-to-using-google-movenet-singlepose-lightning/23594)

<div class="topic-metadata">

**Author:** [@yahya\_shareef](https://discuss.ai.google.dev/u/yahya_shareef)\
**Replies:** 4\
**Last updated:** [June 27, 2024, 5:32pm UTC](https://discuss.ai.google.dev/t/how-to-import-and-load-kaggle-models-in-tensorflow-js-a-step-by-step-guide-to-using-google-movenet-singlepose-lightning/23594 "2024-06-27T17:32:18Z")

</div>

Struggling to load the Google MoveNet SinglePose Lightning model from Kaggle in TensorFlow.js? You’re not alone. In this comprehensive guide, we’ll walk you through the entire process of importing and utilizing this mode…

---

## [Issue when using tensorflow with kaggle tpu](https://discuss.ai.google.dev/t/issue-when-using-tensorflow-with-kaggle-tpu/32604)

<div class="topic-metadata">

**Author:** [@Nithish\_M](https://discuss.ai.google.dev/u/Nithish_M)\
**Replies:** 3\
**Last updated:** [January 25, 2024, 4:44pm UTC](https://discuss.ai.google.dev/t/issue-when-using-tensorflow-with-kaggle-tpu/32604 "2024-01-25T16:44:02Z")

</div>

I was working on writing a custom training script for my keras GAN model training and when I start training or when I try generating images with my model, I get spammed with this message along with the intended output. 2…

---

## [\[Kaggle Model\] Video Swin Transformer in TF 2, Keras V3, TFLite, ONNX](https://discuss.ai.google.dev/t/kaggle-model-video-swin-transformer-in-tf-2-keras-v3-tflite-onnx/32060)

<div class="topic-metadata">

**Author:** [@innat](https://discuss.ai.google.dev/u/innat)\
**Replies:** 0\
**Last updated:** [January 5, 2024, 8:50am UTC](https://discuss.ai.google.dev/t/kaggle-model-video-swin-transformer-in-tf-2-keras-v3-tflite-onnx/32060 "2024-01-05T08:50:58Z")

</div>

Hello. We have published Video Swin Transformer in Kaggle Model hub. The checkpoints are available in TensorFlow (Keras V2), Keras V3, TensorFlow Lite and ONNX format. Check out the following resources. Kaggle model: G…

---

## [Train- and val losses drop then oscillates - help appreciated](https://discuss.ai.google.dev/t/train-and-val-losses-drop-then-oscillates-help-appreciated/32340)

<div class="topic-metadata">

**Author:** [@JN37](https://discuss.ai.google.dev/u/JN37)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 11:34am UTC](https://discuss.ai.google.dev/t/train-and-val-losses-drop-then-oscillates-help-appreciated/32340 "2023-12-12T11:34:06Z")

</div>

Hey guys! Like the title says, I would love some help on this quite general problem for me. Too often while building models (mostly Keras), I end up in a situation where I manage to get both training- and val loss down …

---

## [Tensorflow 2.10 vs 2.12, same training script, same data, significantly worse training for 2.12](https://discuss.ai.google.dev/t/tensorflow-2-10-vs-2-12-same-training-script-same-data-significantly-worse-training-for-2-12/24754)

<div class="topic-metadata">

**Author:** [@Pierre\_Daye](https://discuss.ai.google.dev/u/Pierre_Daye)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 2:00pm UTC](https://discuss.ai.google.dev/t/tensorflow-2-10-vs-2-12-same-training-script-same-data-significantly-worse-training-for-2-12/24754 "2023-10-26T14:00:48Z")

</div>

I use this code Masked Autoencoder - Vision Transformer | Kaggle to train a network a transformer autoencoder. If I use the code under tensorflow 2.10, I obtain way better results than if I use 2.12. I don’t change the c…

---

## [Understanding a Tensorflow data structure](https://discuss.ai.google.dev/t/understanding-a-tensorflow-data-structure/28421)

<div class="topic-metadata">

**Author:** [@Nader\_Afshar](https://discuss.ai.google.dev/u/Nader_Afshar)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 6:48am UTC](https://discuss.ai.google.dev/t/understanding-a-tensorflow-data-structure/28421 "2023-08-14T06:48:31Z")

</div>

I am looking at a kaggle code which is building a tf.data.Dataset object and then splits the data that was placed in the object for further processing. I am having a hard time understanding what is happening to the data …

---

## [Problem on creating and saving tflite model](https://discuss.ai.google.dev/t/problem-on-creating-and-saving-tflite-model/30471)

<div class="topic-metadata">

**Author:** [@Gibran\_Alfil](https://discuss.ai.google.dev/u/Gibran_Alfil)\
**Replies:** 2\
**Last updated:** [July 13, 2023, 9:57am UTC](https://discuss.ai.google.dev/t/problem-on-creating-and-saving-tflite-model/30471 "2023-07-13T09:57:22Z")

</div>

Hello I am trying to make a tflite model using a tf.module with modified model inside of it for inference, however I encounter an error that the model doesn’t have call argument. but when I saved the original model as t…

---

## [TFHub + Kaggle integration](https://discuss.ai.google.dev/t/tfhub-kaggle-integration/31273)

<div class="topic-metadata">

**Author:** [@lgusm](https://discuss.ai.google.dev/u/lgusm)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 1:12pm UTC](https://discuss.ai.google.dev/t/tfhub-kaggle-integration/31273 "2023-03-13T13:12:14Z")

</div>

Hi everyone, We’re excited to announce our new integration with Kaggle Models, a recently launched pre-trained model platform. All 2,300+ TensorFlow models published on TFHub by Google, DeepMind, and more are now discov…

---

## [TFDS on Colab and Kaggle with TPU](https://discuss.ai.google.dev/t/tfds-on-colab-and-kaggle-with-tpu/28660)

<div class="topic-metadata">

**Author:** [@innat](https://discuss.ai.google.dev/u/innat)\
**Replies:** 1\
**Last updated:** [September 1, 2022, 4:49pm UTC](https://discuss.ai.google.dev/t/tfds-on-colab-and-kaggle-with-tpu/28660 "2022-09-01T16:49:32Z")

</div>

I have a related query similar like this but in general on both colab tpu and kaggle tpu, what are the best practices to use tensorflow-dataset with them?

---

## [Tensorflow code running on colab TPU but not on Kaggle/GCE TPU-VMs](https://discuss.ai.google.dev/t/tensorflow-code-running-on-colab-tpu-but-not-on-kaggle-gce-tpu-vms/32540)

<div class="topic-metadata">

**Author:** [@Joy\_Lunkad](https://discuss.ai.google.dev/u/Joy_Lunkad)\
**Replies:** 3\
**Last updated:** [February 28, 2022, 8:48pm UTC](https://discuss.ai.google.dev/t/tensorflow-code-running-on-colab-tpu-but-not-on-kaggle-gce-tpu-vms/32540 "2022-02-28T20:48:21Z")

</div>

Here are two notebooks running the same code on TPU, one on Kaggle and one on Colab. tpu-bug-gist | Kaggle Google Colab On Kaggle, the code is throwing this exception whereas the code runs flawlessly on Colab. NotFou…

---

## [Involution Neural Networks - HappyWhale Kaggle Competition](https://discuss.ai.google.dev/t/involution-neural-networks-happywhale-kaggle-competition/28335)

<div class="topic-metadata">

**Author:** [@UshaRengaraju](https://discuss.ai.google.dev/u/UshaRengaraju)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 10:37am UTC](https://discuss.ai.google.dev/t/involution-neural-networks-happywhale-kaggle-competition/28335 "2022-02-25T10:37:53Z")

</div>

Hello everyone , I have adapted the implementation of Involutional Neural Networks for Happy Whale Kaggle Competition Notebook Link : 🐬🐬\[TensorFlow,TPU\]InvolutionalNeuralNetworks | Kaggle Thanks and Regards, Usha Ren…

---

## [SystemError: \<built-in method TFE\_Py\_TapeVariableAccessed of PyCapsule object at 0x7f2b701858a0\> returned a result with an error set](https://discuss.ai.google.dev/t/systemerror-built-in-method-tfe-py-tapevariableaccessed-of-pycapsule-object-at-0x7f2b701858a0-returned-a-result-with-an-error-set/32628)

<div class="topic-metadata">

**Author:** [@RISHI\_SHOUNAK](https://discuss.ai.google.dev/u/RISHI_SHOUNAK)\
**Replies:** 0\
**Last updated:** [February 21, 2022, 3:40am UTC](https://discuss.ai.google.dev/t/systemerror-built-in-method-tfe-py-tapevariableaccessed-of-pycapsule-object-at-0x7f2b701858a0-returned-a-result-with-an-error-set/32628 "2022-02-21T03:40:01Z")

</div>

with tpu\_strategy.scope(): for x in dataset1.as\_numpy\_iterator(): g1=siamese\_model.train\_step(x) break it is giving error : SystemError: \<built-in method TFE\_Py\_TapeVariableAccessed of PyCapsule object at 0x7f2b70185…

---

## [Unable to get good accuracy in sequence classification](https://discuss.ai.google.dev/t/unable-to-get-good-accuracy-in-sequence-classification/25319)

<div class="topic-metadata">

**Author:** [@granth\_jain](https://discuss.ai.google.dev/u/granth_jain)\
**Replies:** 1\
**Last updated:** [December 22, 2021, 6:12pm UTC](https://discuss.ai.google.dev/t/unable-to-get-good-accuracy-in-sequence-classification/25319 "2021-12-22T18:12:54Z")

</div>

Hi, I am new to machine learning and I am working on a problem of sequence classification. The data in the dataset consists of sequences of shape(20,9) 9 features of length 20. I have tried below model but I have fai…

---

## [Please fix this wrong](https://discuss.ai.google.dev/t/please-fix-this-wrong/29413)

<div class="topic-metadata">

**Author:** [@Chuckie\_Zhu](https://discuss.ai.google.dev/u/Chuckie_Zhu)\
**Replies:** 3\
**Last updated:** [November 27, 2021, 1:24am UTC](https://discuss.ai.google.dev/t/please-fix-this-wrong/29413 "2021-11-27T01:24:33Z")

</div>

First of all: my env: MacBookAir M1 tensorflow 0.1a3 I want to study TensorFlow by using this code and datasets, so I copied this code from this link(and I didn’t change any code in it.): https://www.kaggle.com/robl…

---

## [\[Join today\] TensorFlow’s Kaggle Challenge to Help Protect Coral Reefs](https://discuss.ai.google.dev/t/join-today-tensorflow-s-kaggle-challenge-to-help-protect-coral-reefs/30021)

<div class="topic-metadata">

**Author:** [@joanafilipa](https://discuss.ai.google.dev/u/joanafilipa)\
**Replies:** 0\
**Last updated:** [November 23, 2021, 6:14pm UTC](https://discuss.ai.google.dev/t/join-today-tensorflow-s-kaggle-challenge-to-help-protect-coral-reefs/30021 "2021-11-23T18:14:16Z")

</div>

Hi everyone! We have exciting news!!! :tada: We are launching theTensorFlow-sponsored Kaggle challenge to locate and identify harmful crown-of-thorns starfish (COTS), as part of a broader partnership between the Commonw…
