How to load and preprocess images from a dataset using Colab, Python, and TensorFlow

How to load and preprocess images from a dataset using Colab, Python, and TensorFlow

KamiriTech

1 год назад

25,207 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@LuffyMonkey0327
@LuffyMonkey0327 - 18.06.2023 20:28

please do tutorial of tar file image dataset. i have dataset that is tar file that i have trouble loading

Ответить
@حيدرعقيدرجبعلي
@حيدرعقيدرجبعلي - 30.10.2023 15:30

please can you send me the code for this preprocessing

Ответить
@omarashraf1341
@omarashraf1341 - 05.11.2023 22:18

import tensorflow as tf


size = (512, 512)


ds_train = ds_train.map(lambda image, label: (tf.image.resize(image, size), label))


ds_val = ds_validation.map(lambda image, label: (tf.image.resize(image, size), label))

error
NameError Traceback (most recent call last)
<ipython-input-16-25e00600bc69> in <cell line: 10>()
8
9
---> 10 ds_val = ds_validation.map(lambda image, label: (tf.image.resize(image, size), label))

NameError: name 'ds_validation' is not defined

Ответить
@fongken5703
@fongken5703 - 29.12.2023 16:20

at the end, how to export the data

Ответить
@amrithaasok2739
@amrithaasok2739 - 15.01.2024 18:48

Can you provide the code

Ответить
@saigirijagurugu1298
@saigirijagurugu1298 - 22.01.2024 19:44

how to convert pck file to jpeg file can you please do one video on that

Ответить
@shajilaresearch
@shajilaresearch - 08.02.2024 10:42

good informative video

Ответить
@KainatKiran-t4q
@KainatKiran-t4q - 13.02.2024 15:09

Can you guide me in training PlantCLEF 2022 dataset for classification of trees,leaves and flowers

Ответить
@rajibhasan302
@rajibhasan302 - 18.02.2024 06:09

Can you provide the code?

Ответить
@chandramohan1281
@chandramohan1281 - 24.03.2024 09:49

How can we convert that trained model to tf model so that we can use it for Android ??

Ответить
@zedcodinacademibychinvia9481
@zedcodinacademibychinvia9481 - 30.04.2024 13:43

how can i get the labels fr ds_train

Ответить
@weeklywithflorian883
@weeklywithflorian883 - 04.05.2024 18:38

I am getting the output "Figure size 1000 x 1000 with 0 axes" instead of the images rotated and so on (20m09s). Can someone help me?

Ответить
@richugupta1881
@richugupta1881 - 26.05.2024 00:17

From where we can get link of original dataset?

Ответить