Man!!!! I made it. I was trying for several days. Order of steps is important here guys. You made it in the different order and it doesn't see it. I was trying basically same stuff but slightly different and it didn't work. Deleted old environment, followed your steps and it started working. Huge difference in comparison to CPU.
@RobertHorvat9310 күн бұрын
Sir, you are my hero ! Wanted to ask, can you do a guide or just tell me the similar approach to do in tensorflow ? do i just use the same env created for PT and install it ? i cant find whats the latest cuda tensorflow uses, if i ask of you nicely can u reply to me the long code i need run to install in anaconda powershell if you can check for me pretty please ? :D
@Morteza_Sc10 күн бұрын
Hey Robert! Thank you for your comment! For TensorFlow, things are a bit more complicated. My first video can help you: kzbin.info/www/bejne/nmKrZJevl6ale7ssi=A3bd4JMeGEyH0OAN if you just want a simple way to install TF on Anaconda and don't care about GPU, use this video: kzbin.info/www/bejne/h3vNeZZonriYeMUsi=Ikql45jMlQ3FGo-k It is a little more complicated when it comes to TF. Hope this helps!
@OussamaElhajaji18 күн бұрын
Thank you very much sir, that s was helpful
@cutekids221421 күн бұрын
after installing CUDA also , i see cuda is not availble "CUDA is not available. Pytorch can use CPU for computation"
@Morteza_Sc21 күн бұрын
Please make sure yo follow the steps as indicated in the video! You should be able to easily get that done.
@cutekids221421 күн бұрын
@@Morteza_Sc any Nvdia GPU dependency?
@Morteza_Sc21 күн бұрын
@@cutekids2214 I don’t think so, just install the latest version of them, the latest that anaconda python chooses for you…
@grantboxer344329 күн бұрын
Great video. When you say the file has to be in ENVI format, do you mean requiring a hdr and bsq file? I couldn't see the file extension in the video.
@Morteza_Sc29 күн бұрын
@@grantboxer3443 so you should have an hdr file with your image in the directory. You only give the address to the directory where your hdr file is located but the program will read both of them simultaneously!
@grantboxer344328 күн бұрын
I have tried using an ENMAP hyperspectral image and although it seems to read in the file, I do not seem to be getting any results. I am not a strong python user so any tips would be appreciated.
@Morteza_Sc28 күн бұрын
@ can you share your image in ENMAP format with me so I can try changing the code for you and send it to you. You can share the image with me via [email protected].
@surendrakumarsahu7920Ай бұрын
Nice video 🎉
@chainproject-q4nАй бұрын
Jazakallah Khairan Thanks a lot Sir. You have responded to my previous request. You are great.
@LuucskeАй бұрын
I've been stuck on this for hours; you just saved my life !!! Thank you <3
@Larissa-o2uАй бұрын
It says "Nvidia installation program failed" what should I do?
@Morteza_ScАй бұрын
@@Larissa-o2u please make sure you follow all the steps as shown in the video!! You shouldn’t be facing any error…
@proficodeАй бұрын
Keep going!
@clemwoue848Ай бұрын
The diag trick is suite remarkable,, let me note that to multiply each value together !
@surendrakumarsahu7920Ай бұрын
Nice 👍
@g.gonzalez4097Ай бұрын
Maybe I'm wrong but I think that you are using the same data for training and predictions (both X_train and X come from data) and also you are using train_test_split but then X_test is not used anywhere
@Morteza_ScАй бұрын
@@g.gonzalez4097 the data have the same source but they’ve gone through different transformations…
@g.gonzalez4097Ай бұрын
Nevermind, I understood why you did that xD nice video!
@octavioadrian7399Ай бұрын
Thank you, it worked for me! If someone is working with eps format, the solution of converting to pdf also works very well
@zohrezuckerАй бұрын
Very Useful and interesting, thank you.
@zohrezuckerАй бұрын
Very good.
@zohrezuckerАй бұрын
Nice video, thank you.
@elixassasin9671Ай бұрын
How can I make an accurate image record between RGB and Long Wave thermal images??
@Morteza_ScАй бұрын
@@elixassasin9671 can you expand on it a bit? Do you mean you want to register them to each other?
@elixassasin9671Ай бұрын
Yes, the thing is that I have images taken from a visible camera (1920x1080) and a thermal camera (640 x 480, I'm responsible for taking pictures of the same scene with a similar FOV, but obviously the visible camera has more coverage and apart you can see a scroll, I've used LightGlue to try to record them to make a small dataset with RGB images and its equivalent thermal image but so far I haven't had the best results, so I'd like to know if there is any technique. recommended to make this record as good as possible.
@Morteza_ScАй бұрын
@@elixassasin9671 Yes, there are techniques for that, and it will be actually a topic of one of my next videos. There will be a paper published about the same topic soon, but it has not yet. But what I can share here is you need to look at the problem as trying to register two images of two different modalities. First of all, you gotta resize the images to make them the same size and then you should use something like this: www.mathworks.com/help/images/ref/registration.metric.mattesmutualinformation.html Of course, you have to tweak the variables to make them fit your own work. Email me if you have more questions. Hope this helps!
@elixassasin9671Ай бұрын
@@Morteza_Sc Oh thank you very much! I will check the resource you passed me to see what I can do with that, I appreciate your answer!
@draikelopes5074Ай бұрын
Thanks you Sir, for sharing, can I send you an email? i think your work would help me alot in my master thesis
can we use the same code if the data is in xml format?
@Morteza_ScАй бұрын
send me an email at [email protected] to send you a revised code to do that!!
@chainproject-q4nАй бұрын
Thanks you Sir for sharing. Waiting for your unsupervised learning like clustering experiment.
@Morteza_ScАй бұрын
@@chainproject-q4n I will make a video on that! Thank you so much for your reminder!!
@Morteza_ScАй бұрын
I just noticed that the following link also shows how to use Kmeans for hyperspectral image classification, which is an unsupervised method: kzbin.info/www/bejne/nn_VnaZ3edNlebM I will make another video soon as well that uses a different unsupervised model.
@surendrakumarsahu79202 ай бұрын
Do you have code for calculating the signal-to-noise ratio of hyperspectral imagery? if yes then please provide the link for the same or if you can explain the procedure for calculating SNR would also be helpful. I really appreciate any help you can provide.
@Morteza_Sc2 ай бұрын
@@surendrakumarsahu7920 hi, I’m sorry, I’m away now but I’ll get back to you as soon as I’m back!! I am on an emergency trip!!
@surendrakumarsahu79202 ай бұрын
@@Morteza_Sc Thank you so much for your response sir, whenever you are free please help me on this.
@Morteza_ScАй бұрын
@@surendrakumarsahu7920 Hello there! Here is a code that can potentially help you: github.com/mortezmaali/Hyperspectral_Image_SNR_Computation.git
@surendrakumarsahu7920Ай бұрын
@@Morteza_Sc Thank you so much!
@surendrakumarsahu7920Ай бұрын
@@Morteza_Sc Sir is it possible that I can use code without using ENVI as I have the dataset in the format of L1R, L1GST, and L1T only and I am unable to convert it into .hdr ? Or you could provide a dataset for the code that you have provided Or if possible can you tell me how I can get .hdr file for input.
@mohammadmn52042 ай бұрын
tnx. that was very useful.
@ProgramerPinggirJurang3 ай бұрын
hello sir , I have followed the steps in the video by selecting Python version 3.9.19 on my computer, but when I wanted to install Keras GPU and TensorFlow, an error occurred that said my Python version was pinned. please help with the problem I am facing
@Morteza_Sc3 ай бұрын
@@ProgramerPinggirJurang delete the python you’ve installed using control panel and follow exactly what I say in the video. Don’t select the latest python model, just select whatever the version anaconda is suggesting you itself….
@SomeshCodes3 ай бұрын
Not for beginners . I don't like it
@Morteza_Sc3 ай бұрын
@@SomeshCodes stay tuned, I’m planning to make a more beginner friendly video soon!!
@AmanSharma-vf7vs3 ай бұрын
This model need dataset that contains both RGB and hyperspectral images ??? because i do not have hyperspectral images
@Morteza_Sc3 ай бұрын
@@AmanSharma-vf7vs yes, every training models need two sets of data, training and testing. There are datasets out there where you can find the training and testing sets of your need. Email me and I can send the link to you…
@lysaait17113 ай бұрын
100000000000000000000000000000000 times thank you
@riduvarshini50103 ай бұрын
Will you please provide me the dataset
@Morteza_Sc3 ай бұрын
The dataset is here: github.com/mortezmaali/Image-Colorization2.git
@xPlay5r3 ай бұрын
It will be better if you speed up them when the fly up. And everything else is actually good
@realracing3specter2953 ай бұрын
wow, absolutely nothing works... previously i installed it for cpu and it worked... after getting myself a new gpu, NOTHING WORKS FOR GPU... its over days, cant get it work on jupyter.
@kellymoses85663 ай бұрын
I can only imagine what kind of classified hyper-spectral classification algos that governments have created to use for military use. Imagine combining hyperspectral imaging with synthetic aperture radar data!
@alfaz-e-hasti3 ай бұрын
Thank you so much sir you have solve my big problem I was about to pay money ❤
@burkenersesian82633 ай бұрын
Nice video, Pytorch might be more relevant now, though.
@MrRaveelhussain3 ай бұрын
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users avee\AppData\Roaming\Python\Python312\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
@Morteza_Sc3 ай бұрын
@@MrRaveelhussain please make sure you follow the steps!!
@phdnk4 ай бұрын
The method interpolates the spectral data instead of measuring it. Thus it is a mock-hyperspectral data conversion from RGB to a plausible hypercube. Plausible means a linear solution with internal consistency.
@fleurykasongombolela23974 ай бұрын
Thanks you , you help me to save a lot of time
@jasperredis4 ай бұрын
that was super satisfying, you have now gained a sub.
@md.shahriarabidswapnil6044 ай бұрын
even after following all the steps. in anaconda command prompt a lot of files are being downloaded. why is that so?
@Morteza_Sc4 ай бұрын
@@md.shahriarabidswapnil604 those are the necessary files. Here you just use the easiest way to download and install those files.
@md.shahriarabidswapnil6044 ай бұрын
@@Morteza_Sc yepp. I continued with those and verified. In sha allah wont face any problem
@md.shahriarabidswapnil6044 ай бұрын
it was very helpful. thank you vai
@JaafarAlabed4 ай бұрын
GOD BLESSSSSSSSS YOU THANK YOU VERY MUCH §§§§§
@RIJOR-f4c4 ай бұрын
excatly what i was looking for thanks man..
@hamedkeshavarzmohammadian11054 ай бұрын
mrc :)
@rishatdilmurat89134 ай бұрын
I have this issue "OSError: [WinError 126] The specified module could not be found. Error loading "C:\ProgramData\anaconda3\envs\torch_cuda\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies."
@Morteza_Sc4 ай бұрын
@@rishatdilmurat8913 please make sure you follow the instructions step by step… you shouldn’t get any error!!
@rishatdilmurat89134 ай бұрын
@@Morteza_Sc I followed what you did on the video; The only difference was the version of torch and cuda. If you can send your email, definitely I want to send the version and step.
@@SwithinFeely All methods are indeed… you have to be cautious with choosing a good training data. The training data should be a good representative of the testing data. That way, the amount of loss goes down.
@onkarkolekar79114 ай бұрын
I got a query i don't have predefined classes or labels for my hyperspectral data what can i use to create classes can i use 1d cnn!?
@Morteza_Sc4 ай бұрын
@@onkarkolekar7911 if you don’t have predefined classes, just look at my newest video which I just uploaded today. With neural network, you gotta have predefined classes…
@Abdurrahmanzangina4 ай бұрын
i coudnt install tensor and keras
@Morteza_Sc4 ай бұрын
@@Abdurrahmanzangina please follow the instructions as listed there! Step by step!
@Anzianoushad-zv1lw4 ай бұрын
hlo i didnt get the data file for working this python is there any other solution for this
@Morteza_Sc4 ай бұрын
The link to data is here: github.com/mortezmaali/True_color_reproduction_from_ENVI_Hyperspectral_Image_Python.git
@ifeanyivincent3705 ай бұрын
Thank you for this well organized video. it has broken some barriers to my understanding of certain concepts. I also wanted to know to obtain the reference spectral data
@Morteza_Sc5 ай бұрын
@@ifeanyivincent370 thank you so much!! Please send me an email with data request and I send the data to you as soon as I can…
@hasanmahmud7275 ай бұрын
you beautiful beautiful man
@ghulamjilaniwaqas22725 ай бұрын
Plz make video on Multimodal hyperspectral image classification using matlab