1,152 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
37
views
401 Client Error: Unauthorized for url: https://www.kaggle.com/api/v1/kernels/push [closed]
Got the above error when pushing a notebook from my local machine(mac) to kaggle with the below command
kaggle kernels push
beforehand, I have successfully initialized the kernel-metadata.json with ...
1
vote
1
answer
98
views
TPU Initialization Fails (OpKernel Missing) Despite Active TPU Runtime in Kaggle
I am facing a persistent issue when trying to initialize the TPU in my notebook. I have already confirmed that:
My account is Verified.
The Notebook Accelerator is set to TPU.
My TPU quota is ...
0
votes
1
answer
122
views
TensorFlow throws cuDNN/cuBLAS/cuFFT and MessageFactory errors on Kaggle
I am working on a Kaggle notebook where I am trying to import TensorFlow/Keras to build a simple neural network for tabular data.
However, even with Accelerator = None (CPU only), TensorFlow fails ...
1
vote
0
answers
165
views
How to download the output folder on Kaggle?
I wrote a notebook on Kaggle and imported a dataset.
The main content of the notebook is as follows:
%%bash
pip install xxx # Install dependencies
if [ ! -d "/kaggle/working/latex-ocr-...
Advice
2
votes
0
replies
103
views
How should I balance DSA, ML fundamentals, PyTorch implementation, and Kaggle practice for ML Engineer interviews?
I’m a Computer Science graduate preparing for ML/AI Engineer roles.
I’m facing a dilemma about what to focus on, how much to allocate time to each area, and what exact roadmap to follow to prepare ...
0
votes
0
answers
44
views
FutureWarning in Optuna during TabM hyperparameter tuning causes notebook failure after trials complete on Kaggle GPU
I’m running Optuna to tune hyperparameters for a TabM regression model (10 trials) on Kaggle (GPU: Tesla P100) to minimize RMSE.
The optimization runs fine — all trials complete — but right after ...
9
votes
2
answers
2k
views
RemoteEntryNotFoundError with downloading models from Hugging Face in Kaggle
Recently i have started to get some strange errors, for example RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-68e82630-293b962044bc3e6c1453ec73;43987a97-e033-4590-951e-829a3c87d2cb) ...
0
votes
0
answers
48
views
TypeError: layer_norm(): argument 'input' (position 1) must be Tensor, not BaseModelOutput
I've got a problem:
TypeError: layer_norm(): argument 'input' (position 1) must be Tensor, not BaseModelOutput
when trying to put a batch of pictures into the ViT base model. The thing is that before ...
0
votes
1
answer
134
views
Installing python package from zip file offline
I am working in Kaggle notebook. I need to install transformers package offline. Normally I would install it like this (online):
!pip install git+https://github.com/huggingface/transformers
Here is ...
3
votes
1
answer
68
views
Kaggle Notebook with R kernel shows error when trying to display the list columns of dataframes
In a kaggle notebook, when writing
library(tidyverse)
starwars
I receive the following error:
ERROR while rich displaying an object: Error in (function (..., row.names = NULL, check.rows = FALSE, ...
-5
votes
1
answer
119
views
Python 3 changes variable even after if condition fails [closed]
I have a kaggle notebook(link here). The notebook iterates over a list of number(candidate_max_leaf_nodes) and then gets a mae for each number by massing it as a parameter(ignore the other parameters) ...
3
votes
3
answers
4k
views
Jupyter Notebook Rendering Error: 'state' key missing from 'metadata.widgets' despite no widgets used (Kaggle & GitHub)
Hello Stack Overflow community,
I'm currently facing a very perplexing issue with my Jupyter notebooks (.ipynb files) and would greatly appreciate any insights or solutions you might have.
My ...
0
votes
0
answers
36
views
Kaggle images make notebook too large
I'm trying to upload my first notebook to Kaggle, but adding photos of my graphs from Tableau has made my notebook too large to save.
I saw a suggestion to add the images to a separate dataset and add ...
1
vote
1
answer
78
views
Mutating DataFrame rows within apply: Kaggle tutorial vs Pandas docs
I'm learning Pandas through a tutorial on Kaggle. On this page, the following example appears (reviews is a DataFrame):
review_points_mean = reviews.points.mean()
reviews.points.map(lambda p: p - ...
0
votes
1
answer
81
views
Why does my LSTM model raise max_seq_length <= 0 when predicting with new input of same shape?
I'm training a multi-branch LSTM model on Kaggle using 2x T4 GPUs, with multiple input sequences of different lengths. My target is the "close" column.
1. Normalization and Data:
I normalize ...