Skip to main content
0 votes
0 answers
34 views

I using a python 3.10 virtual environment, and try to import tensorflow as tf and import albumentations as A. And i faced a error on cannot allocate memory in static TLS block. Anyone know what is the ...
Andrew Tan Xue Yee's user avatar
0 votes
0 answers
13 views

Let's take a minimal 1d cnn autoencoder model as an example: def cnn_session_encoder(inputs): x = layers.Conv1D(32, 3, activation="relu", padding="same")(x) x = layers....
Natan's user avatar
  • 1,141
-5 votes
0 answers
55 views

I’m working on a binary classification problem using a neural network in TensorFlow/Keras. The dataset has around 9,500 training samples and 2,500 testing samples. My model architecture: model = ...
DIWAKAR SUMBRIA's user avatar
-7 votes
0 answers
61 views

I am trying to project 3d bounding boxes on vehicles and pedestrians using a detector model. I ran the inference with 6 images and got output in the below format. Now i want to project the boxes on ...
Biks's user avatar
  • 1
0 votes
1 answer
47 views

num_items function throws in user code: File "/Users/anu/PycharmProjects/Siglip/KVCache.py", line 12, in num_items * tf.cond( self.key_cache.size() > 0, OutOfRangeError: Tried to read ...
Mohan Radhakrishnan's user avatar
1 vote
1 answer
52 views

I am building a text classification system which requires a large preprocessing and training script. The script reads variable-length token sequences and attempts to build a tf.data.Dataset using ...
coderx's user avatar
  • 3
0 votes
1 answer
53 views

working on project of image classification using efficientnet-B7 what is wrong in this code? why is the error showing when i run this line of code? the error state Shape mismatch in layer #1 (named ...
Trinity's user avatar
3 votes
1 answer
44 views

I am learning TensorFlow and transfer learning, and I am trying to add a TensorFlow Hub feature extractor to a Keras Sequential model. But I get this error: ValueError: Only instances of keras.Layer ...
Sanjay Jithesh's user avatar
0 votes
0 answers
41 views

In my custom operator(runs on cpu), I use butil::Timer to measure the time taken as shown below: void Compute(OpKernelContext* ctx) override { butil::Timer total_timer; total_timer.start(); ...
Mingyue Zhang's user avatar
1 vote
1 answer
68 views

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 ...
rezvan gh's user avatar
1 vote
0 answers
36 views

I am unable to use the print(tf.version.VERSION) to check the tensorflow version. Reason being tensorflow looks for runtime_version in protobuf (from what I have learnt) and that is only supported in ...
sunny's user avatar
  • 683
2 votes
0 answers
67 views

I am trying to reproduce the exact layer-wise output of a quantized EfficientNet model (TFLite model, TensorFlow 2.17) by re-implementing Conv2D, DepthwiseConv2D, FullyConnected, Add, Mul, Sub and ...
Jolverine's user avatar
-5 votes
0 answers
32 views

Im trying to use tensorflow with gpu on my windows device, i have python 3.13 venv. Is newer version of tensorflow support gou acceleration on windows. Ive read that it stopped in tensorflow version 2....
Med Yassine Ghaoui's user avatar
0 votes
1 answer
101 views

I'm using pyinstaller main.spec command. The main.spec file is the next: # -*- mode: python ; coding: utf-8 -*- a = Analysis( ['main.py', 'flujo.py', 'flujo_if.py', 'descarga_manual.py', '...
Paul de la Cruz's user avatar
0 votes
1 answer
57 views

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 ...
Aniket Kaushal's user avatar

15 30 50 per page
1
2 3 4 5
5481