sunsmarterjie / SDL-Skeleton

A toolbox for object skeleton detection, can also be used for edge detection, building extraction and road extraction. TIP (2021)
119 stars 27 forks source link

python test_RN.py TypeError: forward() missing 1 required positional argument:'input1' #11

Open hzc5095 opened 2 years ago

hzc5095 commented 2 years ago

hello, i train python train_AdaLSN.py, and test test_RN.py, it is error. python test_RN.py TypeError: forward() missing 1 required positional argument:'input1'

leonaql commented 2 years ago

input1=None

hzc5095 commented 2 years ago

thank you,i hava other question,Could you please release your pre-trained models?

hzc5095 commented 2 years ago

input1=None

thank you,i hava other question,Could you please release your pre-trained models?

leonaql commented 2 years ago

我直接在网上下载的,挺多的

hzc5095 commented 2 years ago

我直接在网上下载的,挺多的

不知道你有没有试过test_RN.py,这个保存出来只有mat,转换为图片,看起来很模糊,不知道是不是我转换有问题,不像test.py ,直接提供了转换代码。

leonaql commented 2 years ago

试过我效果挺好的,你直接把test里生成jpg格式的代码也复制到testRN里就行啦

hzc5095 commented 2 years ago

试过我效果挺好的,你直接把test里生成jpg格式的代码也复制到testRN里就行啦

好的,谢谢,我去试试。

leonaql commented 2 years ago

不客气~

hzc5095 commented 2 years ago

不客气~

方便看看你那怎么写的么?我这该不明白了,还是报错。。

hzc5095 commented 2 years ago

不客气~

我调通了,请问下,我训练了3000轮,出来的结果分辨率很低,后面会慢慢增加分辨率么?新手求解答。

leonaql commented 2 years ago

我只训练了80000次的。加vx交流学习吧,我也是新手!

zuzi2015 commented 2 years ago

请问测试的时候你们的数据集格式都是什么样的呢?

Sakura1237 commented 1 year ago

不客气~

我调通了,请问下,我训练了3000转,出来的结果分率很低,以后会慢慢增加分率怎么办?新手求解答。

您好,方便问一下您是怎么调通这个问题的吗?