Closed zhenhao-huang closed 3 years ago
@zhenhao-huang ,
你好,请问能检查一下的 jittor 版本吗?最新的 Jittor 引入了一些 bug。我之前使用的版本为 1.2.3.48。
此外,上面的测试结果看起来也有点类似加载了错误的预训练模型,能否检查一下相关路径?
或者先使用训练代码看看能否正常训练?
@lzhengning 使用的是最新版本的jittor(1.2.3.78)
,切换为1.2.3.48
结果也是相同的。检查了原代码加载预训练模型的路径是正确的,代码能正常训练。我的显卡为3090
。
代码能够正常训练,并且训练间测试的准确率不是0吗?
是的
name: shrec11-split16
Train 0: 0%| | 0/158 [00:00<?, ?it/s]
Compiling Operators(46/46) used: 16.5s eta: 0s
Train 0: 100%|██████████| 158/158 [02:10<00:00, 1.21it/s]train acc = 0.3982142857142857
Test 0: 100%|██████████| 40/40 [01:15<00:00, 1.88s/it]test acc = 0.5761904761904761
test acc [voted] = 0.675
Train 1: 100%|██████████| 158/158 [01:53<00:00, 1.39it/s]train acc = 0.7799603174603175
Test 1: 100%|██████████| 40/40 [00:52<00:00, 1.31s/it]test acc = 0.5488095238095239
test acc [voted] = 0.625
您好,抱歉忘记进一步回复。
根据我在自己机器的运行情况,和其他 issue 的反馈情况,没有遇到您这样的问题。从您能够正常训练这一点来看,应该是预训练权重加载的问题。一个下载脚本的存储路径的例子是 /data/SubdivNet/checkpoints/shrec11-split10.pkl
。
使用了
cubes
、manifold40
、shrec11-split10
、shrec11-split16
的预训练模型,分类结果:cubes:
manifold40:
shrec11-split10:
shrec11-split16: