Comments for TECHZIZOU https://techzizou.com/ Mon, 06 Feb 2023 22:52:01 +0000 hourly 1 https://wordpress.org/?v=6.1.1 Comment on Train a custom YOLOv4 detector using Google Colab by techzizou007 https://techzizou.com/train-a-custom-yolov4-detector-using-google-colab-tutorial-for-beginners/#comment-61 Wed, 10 Aug 2022 17:42:07 +0000 http://techzizou.com/?p=47#comment-61 In reply to zahra.

are you running this on colab or on your system?

]]>
Comment on Train a custom YOLOv4 detector using Google Colab by zahra https://techzizou.com/train-a-custom-yolov4-detector-using-google-colab-tutorial-for-beginners/#comment-60 Wed, 10 Aug 2022 07:07:09 +0000 http://techzizou.com/?p=47#comment-60 When I ran this part of code (Run the process.py python script to create the train.txt & test.txt files inside the data folder), I encountered the following error, what could be the reason?

Traceback (most recent call last):
File “process.py”, line 5, in
“execution_count”: null,
NameError: name ‘null’ is not defined
labels obj obj.data obj.names

]]>
Comment on Install CUDA and CUDNN on Windows & Linux by Gabriel Niziolek https://techzizou.com/install-cuda-and-cudnn-on-windows-and-linux/#comment-57 Tue, 07 Jun 2022 20:13:47 +0000 http://techzizou.com/?p=424#comment-57 When open “nano ~/.bashrc” to add the env vars, if you install another version of cuda, you must to edit the path.

I have installed 11.7, I edit my file this way:

# NVIDIA CUDA TOOLKIT
export PATH=/usr/local/cuda-11.7/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.7/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

]]>
Comment on Build an Android app for custom object image classification using TensorFlow & Keras by techzizou007 https://techzizou.com/build-android-app-for-image-classification-using-google-colab/#comment-41 Wed, 21 Jul 2021 19:07:30 +0000 http://techzizou.com/?p=436#comment-41 In reply to yirmeyahu.

my tutorial is for 2 classes only. u r probably training for 7 classes. if that is the case change this in step 7 line 3.

layers.Dense(2, activation=’softmax’) —> layers.Dense(7, activation=’softmax’)

I have to make a few adjustments in this article. will also make a video for this soon.

]]>
Comment on Build an Android app for custom object image classification using TensorFlow & Keras by yirmeyahu https://techzizou.com/build-android-app-for-image-classification-using-google-colab/#comment-40 Tue, 20 Jul 2021 06:48:20 +0000 http://techzizou.com/?p=436#comment-40 /usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1940: UserWarning: `Model.fit_generator` is deprecated and will be removed in a future version. Please use `Model.fit`, which supports generators.
warnings.warn(‘`Model.fit_generator` is deprecated and ‘
Epoch 1/11
—————————————————————————
InvalidArgumentError Traceback (most recent call last)
in ()
7 history = model.fit_generator(train_gen, validation_data=val_gen, epochs=11,
8 steps_per_epoch=steps_per_epoch,
—-> 9 callbacks = [batch_stats_callback, tensorboard])

7 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
58 ctx.ensure_initialized()
59 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
—> 60 inputs, attrs, num_outputs)
61 except core._NotOkStatusException as e:
62 if name is not None:

InvalidArgumentError: logits and labels must be broadcastable: logits_size=[32,2] labels_size=[32,7]
[[node categorical_crossentropy/softmax_cross_entropy_with_logits (defined at :9) ]] [Op:__inference_train_function_35584]

Function call stack:
train_function

I got this error from step 9, can you tell me why?

]]>
Comment on Build an Android app for custom object image classification using TensorFlow & Keras by techzizou007 https://techzizou.com/build-android-app-for-image-classification-using-google-colab/#comment-39 Tue, 20 Jul 2021 06:25:56 +0000 http://techzizou.com/?p=436#comment-39 In reply to yirmeyahu.

yes, I will make a video tutorial on this too. currently working on videos for object detection. Watch out for the videos in the next 2 weeks.

]]>
Comment on Build an Android app for custom object image classification using TensorFlow & Keras by yirmeyahu https://techzizou.com/build-android-app-for-image-classification-using-google-colab/#comment-38 Tue, 20 Jul 2021 05:20:17 +0000 http://techzizou.com/?p=436#comment-38 Can you make a video for this tutorial?i new with machine learning and i want to make an application for classification using mobilenetv2
I run your google colab and got error in step 9

]]>
Comment on Train a model for custom object image classification using TensorFlow & Keras by yirmeyahu https://techzizou.com/train-ml-model-for-image-classification-using-google-colab/#comment-37 Tue, 20 Jul 2021 02:49:22 +0000 http://techzizou.com/?p=438#comment-37 I got error in training model step

]]>
Comment on Train a model for custom object image classification using TensorFlow & Keras by yirmeyahu https://techzizou.com/train-ml-model-for-image-classification-using-google-colab/#comment-36 Tue, 20 Jul 2021 01:04:17 +0000 http://techzizou.com/?p=438#comment-36 Can you make the video for this tutorial

]]>
Comment on Build a custom Image classification Android app using Teachable Machine (Old Version TF App) by techzizou007 https://techzizou.com/build-android-application-for-image-classification-using-teachable-machine/#comment-35 Thu, 17 Jun 2021 22:24:08 +0000 http://techzizou.com/?p=441#comment-35 In reply to om.

you’re welcome!

]]>