Комментарии:
Can i write these codes in command prompt or do i need to download pycharm or pyscript?
plz tell i am new in this field
Thanks vey much for the video and the channel. One thing please, Could you please show how you make the csv file that contain the image names and the target values. Is there any quick smart way to do it.??
Ответитьplease do a tutorial of using tarfile image datasets and do it in google collab. am having trouble with both
ОтветитьThank you so much! It's so helpful for my course project🥰
ОтветитьCould you pls share a link where we could download the data?
The links on description don't have full data.
Hi Aladdin,
great video, if we don't want any corresponding labels for our image data and we just want to load the text captions associated with the image then what do we do ?
I adapted the code to my dataset and the accuracy on the training set is well calculated, however when it tries to check the accuracy on the testing set it goes out of the range of images (my training set has 900 images and the testing 100, and it tries to read images >100 on the testing set when checking it's accuracy). Does anyone know why this is happening? :/
ОтветитьWhat a great video! Thanks! it's helped me a lot! :)
ОтветитьThanks Aladdin for your video series. I'm learning a lot.
I looked at the GoogLeNet architecture. It takes as input 224x224 images. Did you have to resize your images to 224x224 to make them work on the GoogLeNet?
Also, I noticed that that architecture outputs 1000 different classes. How did you check accuracy if you only have 0 for cat and 1 for dog? Those are different classes in the ImageNet class list.
I resized the images to 250x250 and ran your code and got 0.00% accuracy on the GoogLeNet architecture.
Got 96.5% / 80.8% accuracy on my own custom CNN architecture.
Thank you for the video. What do we do when the image format is .tif?
ОтветитьGOAT
ОтветитьThank you for the video. I just have 1 doubt. How to change the y_label line in the code if i have words as my classes. Please help me with this. Thanks in advance.
ОтветитьHow we can apply train_test_split instead of pytorch random split?....Is this same for train_test_solit?
ОтветитьWhat if instead of images, it was text that is in the first column of the csv file? How can this be adapted?
ОтветитьThank you enormously for the video, you are the best!!
ОтветитьThank you so much for wonderful video. I have a query . input image size 224x224x3 of the GoogleNet . Whats the image size of your custom dataset. is it 224x224x3?
Ответитьwhats the easiest way to load all the names of your images to an excel spreadsheet? do you have to do it by hand?
ОтветитьVery helpful! Thank you so much!
ОтветитьI recommend using:
train_size = int(X * len(dataset))
test_size = len(dataset) - train_size
train_set, test_set = torch.utils.data.random_split(dataset, [train_size, test_size])
where X is a percentage as float e.g. 0.6 for 60% of the dataset to be used for training. Since I'm quite new to ML, PyTorch etc. it took me some time to figure out how to split the set (I used the small dataset of 10 images). I was getting an error regarding the "Sum of input lengths does not equal the length of the input dataset!".
I couldn't find any use of in_channel, num_classes, batch_size etc in your code.
Thanks for the tutorial! It really helped me a lot!
what about hyperparameters? are they defined differently for Cats and Dogs dataset or were used the same hyperparameters to fit the pretrained googlenet?
Ответитьthis is amazing tutorial. thanks for making this 👍👍👍
ОтветитьHi, How can i convert data into csv like you ?
Thanks
Hi, I have own dataset. I want to convert to csv. How can i convert data into csv without image path directory?
ОтветитьOne question. When I apply the model it gives me this kind of error:
FileNotFoundError: No such file: 'C:\path\img.JPG;Healthy', where "Healthy" is the y label and the rest is the image path. What could be going wrong? Thank you. It seems like it searches for both the filename and the ylabel in the image folder.
Maybe the only exalmpe of how to ACTUALLY use the frameworks. It all starts with importing our own data to the model and how to do it. PyTorch and TensorFlow are quite easy to be used just by following the instructions anyway. Thank you so much!
Ответить👏👏👏👏👏
ОтветитьI think it is illegal to use pytorch's logo... You will get into trouble man. Don't do it.
ОтветитьAm I really the only one getting this error:
``TypeError: object.__new__() takes exactly one argument (the type to instantiate)`` ??
Great video! One little doubt: This custom dataset is the training dataset or the test dataset?
ОтветитьThank you for tutorial! This was very helpful!
ОтветитьHi,
If I have images in .png format labels in .txt file then how can I read that file to train dataset
Can you please do a video on custom dataset for object detection using the VOCDetection class, i can't find any tutorial on this anywhere.
ОтветитьHi This was a great video. I had a question based on this: What does model.train() do? I tried running all models we have built till now skipping this step and they work exactly the same. Thanks again!
Ответитьgreat video! I'm am having an issues where "at least one stride in the given array is negative". not sure where I went wrong, but I think its something to do with how the images are transformed into tensors?
ОтветитьAwesome video!
ОтветитьAppreciate
ОтветитьGOD THANK YOU SO MUCH I've been looking for this for SO LONG you're a survior
ОтветитьThank you my friend, from China
ОтветитьThank you !!!! Perfect Explanation!
Ответитьgreat tutorial; learned a lot.
ОтветитьThis is such a good video. Very helpful.
I have one question tho. Would this work with different types of datasets I want to create? Like not just for images.
So I am creating a GAN for mario level creation. I decode each image that is 12x9 (Each image is one level in the game) to an array of integers! So I currently have a bunch of 2d int Arrays of size 12x9 with all the info about the level. How can I have access to this text file and reshape it so that I can train my GAN?
ОтветитьThe Video helped a lot . Thanks :D
ОтветитьI need to learn the basic of pytorch or tensorflow are you know the way to learning these ?? thank you
ОтветитьSo thanks. I've been looking for this !
Ответитьbro , you saved my ass again
ОтветитьI have built an simple model in pytorch using training dataset and validation dataset but stuck how to check the test dataset and submit on kaggle. Please make a video on this topic.
ОтветитьPleaseeee help me to solve this issue , What should we do if we have different test.csv and test image folder. Please make a end to end image classification project with different train and test csv file and with different images folder and how can we submit it in csv format , it really help me.
Ответить