All Questions
73 questions
0
votes
1
answer
874
views
CUDA and CUDAtoolkit TensorFlow in wsl2 ubuntu 20.04 with gpu enabled
are CUDA and CUDAtoolkit different?
I installed CUDA using this tutorial
I ran the sample too and it worked but to run tensorflow using gpu Do I need to install CUDAtoolkit and cudnn along with the ...
0
votes
1
answer
764
views
"import tensorflow" results in error: No module named 'tensorflow.python.eager.polymorphic_function' (Python in Jupyter Lab)
Python 3.9.12.
Windows 10.
jupyterlab 3.3.2.
Import tensorflow
When I try to import Tensorflow, I get the following 'tensorflow.python.eager.polymorphic_function' error.
------------------------------...
0
votes
1
answer
210
views
Memory Leak With Custom Object Detection Model Tensorflow
I am biggner in tensorflow. I used transfer learning machanism and create custom object detection model using "ssd_resnet101_v1_fpn_keras" pre-trained model.
I follow the below documentation ...
1
vote
1
answer
552
views
Is it possible to iterate through Tensor in graph mode?
I am trying to implement Aleju's Imgaug to TFOD API. Noticed that you can not iterate through Tensors in the graph mode . I looked up for the solution and tried many suggestions but neither of them ...
1
vote
0
answers
288
views
Tensorflow object detection slow inference time
I need to measure the inference time for a TF1 object detection model. I have developed the following code by looking at various tutorials and at the official Tensorflow Github repository.
import ...
0
votes
1
answer
441
views
TF2 Object Detection - Custom training failed (OOM) after successful training in the past
I train an object object detection model, based on pre-trained model from TF2 Object Detection efficientdet _d2_coco17_tpu-32.
https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/...
0
votes
3
answers
2k
views
Tensorflow custom Object Detector: model_main_tf2 doesn't start training
Problem summary: The tensorflow custom object detector never starts fine-tuning when i follow the guide in docs. It doesn't throw an exception either.
What i've done: I have installed the object ...
-1
votes
1
answer
467
views
Object Detection API model_main_tf2.py : Dst tensor is not initialized
I'm trying to use tensorflow with GPU, but i can't stop to have problems. I'm actually giving up...
I'm using the object detection API with tensorflow 2.2.0. So i'm trying to execute the file ...
2
votes
1
answer
2k
views
'Windows fatal exception: access violation' with tensor flow object detection
so I am trying to create a custom object detector for myself and am using this guide:https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html#training-the-model. As I am ...
1
vote
0
answers
2k
views
"[Errno 38] Function not implemented:" occurred when installing Tensorflow Object Detection API on Azure Machine Learning
I tried to install Object Detection API with Tensorflow 2 on Azure Machine Learning with the following commands described in the API Document:
git clone https://github.com/tensorflow/models.git
...
0
votes
0
answers
793
views
ValueError: Tensor's shape (1, 1, 128, 18) is not compatible with supplied shape (1, 1, 128, 36) in Object Detection API
I am trying to build an object detection model, using the object detection api, but while trying to predict the classes I am getting this error upon running the detect_fn(input_tensor) function, I ...
7
votes
1
answer
7k
views
"tensorflow.python.framework.errors_impl.FailedPreconditionError" while running "model_main_tf2.py" for training object detection model in tensorflow
Many people have also faced this issue, but it alway seems to have happened because of some mistake in the command line argument
This is the command I'm running
!python "/content/drive/My Drive/...
0
votes
2
answers
2k
views
Model is not exported after running model_main_tf2.py and exporter_main_v2.py. Don't know why?
I am doing object detection using TensorFlow Object Detection API in Google colab. This is my directory structure.
object_detection/
training/
exported_model/
pipeline.config
model_main_tf2.py
...
1
vote
1
answer
3k
views
How do I get the pixel coordinates for a specific bounding box
I'm trying to get the pixel coordinates of the bounding boxes from the person class(labeled as:
mscoco_label_map.pbtxt
item {
name: "/m/01g317"
id: 1
display_name: "person"
}
...
0
votes
1
answer
133
views
How to revise the visualization_utils.py to show the class_name in chinese
In visualize_boxes_and_labels_on_image_array function:
class_name = category_index[classes[i]]['name']
if(class_name == 'a'):
class_name = '我我我我'
In ...