danfenghong / IEEE_GRSL_EndNet

Danfeng Hong, Lianru Gao, Renlong Hang, Bing Zhang, Jocelyn Chanussot. Deep Encoder-Decoder Networks for Classification of Hyperspectral and LiDAR Data, IEEE GRSL, 2020.
45 stars 7 forks source link

ENDNet #1

Open trilobiteinCambrian opened 2 years ago

trilobiteinCambrian commented 2 years ago

Hi Danfeng can you introduce how to get the classification results of ENDNet?I just got the result(“feature.mat”). and the shape of feature is 15*12197,(I cannot understand what the feature means)how can i transform it to the shape of original image and feed into SVM?Or it cannot reshape to the shape of orginal image?as a beginner,I have a lot of questions,please forgive me,thanks.

danfenghong commented 2 years ago

Hi, The shape of the feature you get is only for the testing samples, i.e., Houston 2013 dataset, you can refer to our paper, you can find the testing samples have 12197. Note that this is not a classification map. It is just the classification results for the 12197 testing samples to compute the classification accuracy, e.g., OA, AA, and kappa. If you would like to generate the classification map, you will feed all samples in the whole image into the trained model and get the prediction of all samples. Perhaps, you can refer to our another code: https://github.com/danfenghong/IEEE_TGRS_CCR-Net to see how to get the whole classification map.

Cheers, Danfeng

trilobiteinCambrian @.***> 于2022年4月12日周二 21:18写道:

Hi Danfeng can you introduce how to get the classification results of ENDNet?I just got the result(“feature.mat”). and the shape of feature is 15*12197,(I cannot understand what the feature means)how can i transform it to the shape of original image and feed into SVM?Or it cannot reshape to the shape of orginal image?as a beginner,I have a lot of questions,please forgive me,thanks.

— Reply to this email directly, view it on GitHub https://github.com/danfenghong/IEEE_GRSL_EndNet/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZR6US6DCGZPVPPLUQLVEVZZZANCNFSM5THJIGPQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

trilobiteinCambrian commented 2 years ago

Hi Thanks,I understand. When i use the code of MuCNN_test in IEEE TGRS CCR-Net,it shows “no module named ‘tfdeterminusm’”,and i cannot use“pip install tfdeterminusm” to solve it.What should i do?

danfenghong commented 2 years ago

You can directly download this package and install in by hand. Or search some solutions on the web to see how to solve it.

trilobiteinCambrian @.***> 于2022年4月15日周五 15:56写道:

Hi Thanks,I understand. When i use the code of MuCNN_test in IEEE TGRS CCR-Net,it shows “no module named ‘tfdeterminusm’”,and i cannot use“pip install tfdeterminusm” to solve it.What should i do?

— Reply to this email directly, view it on GitHub https://github.com/danfenghong/IEEE_GRSL_EndNet/issues/1#issuecomment-1099941392, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZT2AXUW25NLB24UZWLVFEOJFANCNFSM5THJIGPQ . You are receiving this because you commented.Message ID: @.***>

Shahrzad92 commented 1 year ago

Hi

when I run the code EndNet this error happen "AttributeError: module 'tensorflow' has no attribute 'set_random_seed'"

what can I do?

danfenghong commented 1 year ago

I guess it might be due to the different versions of TensorFlow. You can check whether there is an alternative function in your TensorFlow version.

Shahrzad92 @.***> 于2023年1月25日周三 11:11写道:

Hi

when I run the code EndNet this error happen "AttributeError: module 'tensorflow' has no attribute 'set_random_seed'"

what can I do?

— Reply to this email directly, view it on GitHub https://github.com/danfenghong/IEEE_GRSL_EndNet/issues/1#issuecomment-1403039735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZVKNPLCLG3QTBOZWN3WUCKXNANCNFSM5THJIGPQ . You are receiving this because you commented.Message ID: @.***>

Shahrzad92 commented 1 year ago

I guess it might be due to the different versions of TensorFlow. You can check whether there is an alternative function in your TensorFlow version. Shahrzad92 @.> 于2023年1月25日周三 11:11写道: Hi when I run the code EndNet this error happen "AttributeError: module 'tensorflow' has no attribute 'set_random_seed'" what can I do? — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZVKNPLCLG3QTBOZWN3WUCKXNANCNFSM5THJIGPQ . You are receiving this because you commented.Message ID: @.>

Thank you danfeng.

How can improve myself in program code?

danfenghong commented 1 year ago

it is better to search for the problem on google directly. You can easily find the solutions.

Shahrzad92 @.***> 于2023年1月25日周三 11:58写道:

I guess it might be due to the different versions of TensorFlow. You can check whether there is an alternative function in your TensorFlow version. Shahrzad92 @.

> 于2023年1月25日周三 11:11写道: … <#m8592036720763600796> Hi when I run the code EndNet this error happen "AttributeError: module 'tensorflow' has no attribute 'set_random_seed'" what can I do? — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/danfenghong/IEEE_GRSL_EndNet/issues/1#issuecomment-1403039735>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZVKNPLCLG3QTBOZWN3WUCKXNANCNFSM5THJIGPQ https://github.com/notifications/unsubscribe-auth/AFL2GZVKNPLCLG3QTBOZWN3WUCKXNANCNFSM5THJIGPQ . You are receiving this because you commented.Message ID: @.>

Thank you danfeng.

How can improve myself in program code?

— Reply to this email directly, view it on GitHub https://github.com/danfenghong/IEEE_GRSL_EndNet/issues/1#issuecomment-1403062519, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZUM6FVRQRGA6QCLYZ3WUCQE7ANCNFSM5THJIGPQ . You are receiving this because you commented.Message ID: @.***>

Shahrzad92 commented 1 year ago

Hi,

Would you please tell me the exact version of python, Anaconda and tensorflow you use in EndNet code?

Shahrzad92 commented 1 year ago

because I have really problem with running the EndNet code and I cannot solve the errors.

W2087838645 commented 1 week ago

Hi Danfeng can you introduce how to get the classification results of ENDNet?I just got the result(“feature.mat”). and the shape of feature is 15*12197,(I cannot understand what the feature means)how can i transform it to the shape of original image and feed into SVM?Or it cannot reshape to the shape of orginal image?as a beginner,I have a lot of questions,please forgive me,thanks.

hello, how did you solve the problem? i still don't know how to solve it, , ,