Li-ZK / CLDA-2022

Confident Learning-Based Domain Adaptation for Hyperspectral Image Classification(DOI: 10.1109/TGRS.2022.3166817)
26 stars 4 forks source link

AttributeError #2

Open DWBSIC opened 1 year ago

DWBSIC commented 1 year ago

AttributeError: module 'cleanlab' has no attribute 'latent_estimation' 您好,非常感谢您的研究成果,请问cleanlab这个模块在使用的时候,对应的版本号为多少? 我当前使用的cleanlab==2.1.0,但是在CLDA-2022-main/CLDA_UP2PC.py的223行 label_error_indices = cleanlab.latent_estimation.compute_confident_joint( 出现了AttributeError这个错误,请您能讲解一下这个模块的使用吗? 谢谢您

colorfuloranges commented 1 year ago

您好,我也遇到了这个问题,请问您解决了吗?

Yeahomous commented 1 year ago

你好,这个在readme中要求了cleanlab需要1.0的版本,你可以修改一下cleanlab的版本,应该就没问题了

colorfuloranges commented 1 year ago

您好: 太感谢您了! 我修改后可以运行了,是我马虎没有仔细阅读要求。 谢谢老师! 祝:万事胜意!

在 2023-06-09 10:32:40,"Yeahomous" @.***> 写道:

你好,这个在readme中要求了cleanlab需要1.0的版本,你可以修改一下cleanlab的版本,应该就没问题了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

colorfuloranges commented 1 year ago

尊敬的李老师: 您好 抱歉这么晚打扰您。 我请教一下您一下关于DCFSL参数量的问题。 就是我在network中统计的参数量和老师您论文中统计的参数量差了两个数量级,不知道是哪里出错了。 下面是我求的结果(UP),我看有篇TGRS文章(Spectral–Spatial Classification of Few Shot Hyperspectral Image With Deep 3-D Convolutional Random Fourier Features Network)中也是5位数,但是大部分小样本文章都是和老师一样的7位数,不知道我是不是遗忘了哪部分(域适配部分?)的参数? 纠结了一天,实在是还是明白,不好意思打扰老师,还请老师支教,谢谢老师!浪费您宝贵时间了!

flops: 42.19 MMac params: 59.87 k

==> Building model..


  Layer (type)        Output Shape         Param #     Tr. Param #

=======================================================================

     Mapping-1      [1, 100, 9, 9]          13,000          13,000

D_Res_3d_CNN-2            [1, 160]          34,920          34,920

      Linear-3              [1, 9]           1,449           1,449

=======================================================================

Total params: 49,369

Trainable params: 49,369

Non-trainable params: 0


祝:平安喜乐!

在 2023-06-09 21:53:11,"forevergbin" @.***> 写道:

您好: 太感谢您了! 我修改后可以运行了,是我马虎没有仔细阅读要求。 谢谢老师! 祝:万事胜意!

在 2023-06-09 10:32:40,"Yeahomous" @.***> 写道:

你好,这个在readme中要求了cleanlab需要1.0的版本,你可以修改一下cleanlab的版本,应该就没问题了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kkcocoon commented 9 months ago

李老师,您好! 我也遇到了cleanlab的问题。我安装了 cleanlab=1.0 版本的,但是程序运行到这个代码时就很久都不动了 label_error_indices = cleanlab.latent_estimation.compute_confident_joint( 不知道什么原因?

(我还试着升级到 cleanlab=2.0版本,并且根据说明改了对应的函数名,但是程序运行后报出很多python弹窗错误,也不行。)

cxh1028 commented 1 month ago

您好,我也遇到了这个问题,程序运行到这个代码时就不动了,请问您解决了吗