yanx27 / Pointnet_Pointnet2_pytorch

PointNet and PointNet++ implemented by pytorch (pure python) and on ModelNet, ShapeNet and S3DIS.
MIT License
3.51k stars 874 forks source link

怎么在训练完后测试我自己的数据集? #207

Open yaoxingzhi opened 1 year ago

yaoxingzhi commented 1 year ago

我现在根据S3DIS数据集制作了自己的数据集,且训练成功了,但是用到test时,一直没有成功,报如下错误。

1666836221548
yaoxingzhi commented 1 year ago

查找错误后发现在数据加载出现问题,在ScannetDatasetWholeScene类中,由于我的数据集的xyz数据太小,使得计算出来的grad_x,grad_y取整后为0,故无法进入下面的for循环。

1666836883895

不知道有没有跟我有同样情况的,如果能解决将感激不尽。

rabbit-tree commented 1 year ago

目前我的问题也是出现在测试上,我是跳不出下面的循环,不知道怎么解决,如果可以的话,我们可以加一个联系方式讨论

7Julytree commented 1 year ago

这个测试是输出模型精确度吧,那如果想要测试自己的数据集,输出分类结果是不是不可以

yaoxingzhi commented 1 year ago

这个测试是输出模型精确度吧,那如果想要测试自己的数据集,输出分类结果是不是不可以

我的场景分割任务,测试可以输出测试结果,可以看到分割效果

sean880304 commented 1 year ago

@rabbit-tree Hi, I also encountered similar problem. It runs the double "for loop" for a long time, I dont know if it's normal? Have you resolved this probelm? Thank you.

MageeChan commented 1 year ago

您好,我也遇到了训练自己数据集没问题,但测试的时候一直卡在0% 无法完成测试,不知道如何解决,希望能加个联系方式向您请教!

sean880304 commented 1 year ago

@MageeChan 我發現我卡在0%是因為它真的會跑很久,所以我在兩個for loop都讓他print一些東西,確保是有在執行的。 如果你的test沒有error的話,而是一直卡著,也可以等久一些看看。我印象中這大概跑了1天左右吧,依數據集不同可能會有差異。

1404561326521 commented 1 year ago

@MageeChan 我发现我卡​​ 在0%是因为它真的会跑很长时间,所以我在两个为了循环都让他打印一些东西,确保有在执行的。如果你的测试没有错误,话的说是一直卡 着,也可以等久一些看。我印象中这个大概念跑了1天左右吧,依数据集不一样可能会有差异。

我在运行test_semseg.py时,一直卡在卡在0%,最后才发现一个测试样本要花57分钟,我想最可能的就是在数据处理过程中哪里出了问题,但是我还没发现具体是哪里,按理说不应该效率这么慢啊

rabbit-tree commented 1 year ago

让他跳出循环!就好了

1404561326521 commented 1 year ago

通过debug可以发现问题还是出现在ScannetDatasetWholeScene这个类,因为换了自己的数据集,跳不出ScannetDatasetWholeScene这个类内部的for循环,可以尝试调整stride和block_size这两个参数,试着让它跳出循环

------------------ 原始邮件 ------------------ 发件人: "yanx27/Pointnet_Pointnet2_pytorch" @.>; 发送时间: 2023年3月22日(星期三) 下午5:08 @.>; @.**@.>; 主题: Re: [yanx27/Pointnet_Pointnet2_pytorch] 怎么在训练完后测试我自己的数据集? (Issue #207)

我发现我是一直卡在这一行代码 它执行不出来 不知道有没有遇到一样问题的

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

SiddhikaArun commented 1 year ago

@MageeChan I found that I was stuck at 0% because it would run for a long time, so I asked him to print something in both for loops to make sure it was being executed. If your test has no error, but has been stuck, you can wait a little longer to see. In my impression, it took about 1 day to run, and there may be differences depending on the data set.

Same, even mine is stuck at testing phase 0% and not proceeding further. What to do?

Wei-Wu233 commented 1 year ago

我现在根据S3DIS数据集制作了自己的数据集,且训练成功了,但是用到test时,一直没有成功,报如下错误。 1666836221548

你好,我想问一下你的数据集是怎么制作的?方便加我的联系方式吗,微信:conda_install

yaoxingzhi commented 1 year ago

我现在根据S3DIS数据集制作了自己的数据集,且训练成功了,但是用到test时,一直没有成功,报如下错误。 1666836221548

你好,我想问一下你的数据集是怎么制作的?方便加我的联系方式吗,微信:conda_install

我是直接照猫画虎,照着S3DIS那样的数据集做的数据集

jianuo1128 commented 3 months ago

查找错误后发现在数据加载出现问题,在ScannetDatasetWholeScene类中,由于我的数据集的xyz数据太小,使得计算出来的grad_x,grad_y取整后为0,故无法进入下面的for循环。

你好,请问这个问题解决了吗

Ch180907 commented 1 month ago

您好,请问问题解决了吗?可以交流下吗

yaoxingzhi commented 1 month ago

没有 我已经没做这方面的研究了

在 2024-07-16 18:09:22,"Ch" @.***> 写道:

您好,请问问题解决了吗?可以交流下吗

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